upload your own dataset to Huggingface # !pip install huggingface_hub # !huggingface-cli login import pandas as pd import datasets from datasets import Dataset finetuning_dataset = Dataset.from_pandas(pd.DataFrame(data=finetuning_dataset)) finetuning_dataset.push_to_hub(dataset_path_hf)