argilla-io/argilla

[FEATURE] [HUB] Add snippet to hub for 'use this dataset'

Opened this issue · 1 comments

We want argilla to be included under the 'use this dataset' dropdown on the hub. We will need to open a PR with suggested changes and discuss with the hub team.

The code snippet would be something like:

import argilla as rg 

api_key=<define_random_apikey>
hf_token=<your_hf_token>

client = rg.Argilla.deploy_on_spaces(api_key=api_key, hf_token=hf_token)

rg.Dataset.from_hub(<the_dataset_repo_id>)

But we still need to resolve #5633. Otherwise, the provided URL won't be reached after user sign-in

cc @dvsrepo