File size: 473 Bytes
b9003db
52431c5
671964e
b9003db
671964e
ca85397
671964e
 
 
 
52431c5
b9003db
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
from datasets import load_dataset
from huggingface_hub import hf_hub_download
import os

TOKEN = os.environ.get("token")
dataset = hf_hub_download(repo_id="GiannasOrganization/giannasdataset",
                         token= TOKEN,
                         filename = "file.txt",
                         repo_type = "dataset",
                         cache_dir="/tmp/hf")
#dataset = load_dataset("GiannasOrganization/giannasdataset", use_auth_token=True)

print(dataset)