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)