Skip to content

Latest commit

 

History

History
15 lines (12 loc) · 315 Bytes

huggingface.md

File metadata and controls

15 lines (12 loc) · 315 Bytes

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)