Loading local dataset to colab
Hello!I have created aDatasectDictobject contain nestedDatasetobjects for ‘train’ and test’ inputs. I have saved it locally usingDatasectDict.save_to_disk, but I am not quite sure how to load this into google colab? Is there a simple way to accomplish this?Thanks for the help!
2022-06-12T23:20:41Z
I upload my datasets into google drive and then connect my colab with google drive like this.Then you load your datasetimage806×28 2.5 KB
2022-06-19T20:38:36Z
You the best@Petar.I am thankful for your help and hope you have a great weekend.
2022-06-20T17:14:40Z
Hi! It’s even easier to usepush_to_hubon a local dataset (setprivate=Trueto make it private) and then load it from the Hub usingload_dataset("<username>/<dataset>", use_auth_token=True)after authenticating with:from huggingface_hub import notebook_login
notebook_login()