Datasets:

Languages:
English
ArXiv:
License:

Create huggingface-cli login

#9
Files changed (1) hide show
  1. huggingface-cli login +8 -0
huggingface-cli login ADDED
@@ -0,0 +1,8 @@
 
 
 
 
 
 
 
 
 
1
+ from datasets import load_dataset
2
+
3
+ dataset = load_dataset("username/my_dataset")
4
+
5
+ # or load the separate splits if the dataset has train/validation/test splits
6
+ train_dataset = load_dataset("username/my_dataset", split="train")
7
+ valid_dataset = load_dataset("username/my_dataset", split="validation")
8
+ test_dataset = load_dataset("username/my_dataset", split="test")