shmuhammad commited on
Commit
8970cbe
1 Parent(s): 04b7d12

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +5 -8
README.md CHANGED
@@ -109,22 +109,19 @@ The AfriSenti dataset has 3 splits: train, validation, and test. Below are the s
109
  ### How to use it
110
 
111
 
112
- ```
113
  from datasets import load_dataset
114
 
115
- # you can load specific language in the AfriSenti. This download train, validation and test sets.
116
  ds = load_dataset("shmuhammad/AfriSenti", "amh")
117
 
118
-
119
- # you can load specific train set only
120
  ds = load_dataset("shmuhammad/AfriSenti", "amh", split = "train")
121
 
122
-
123
- # download split test
124
  ds = load_dataset("shmuhammad/AfriSenti", "amh", split = "test")
125
 
126
-
127
- # download validation set
128
  ds = load_dataset("shmuhammad/AfriSenti", "amh", split = "validation")
129
 
130
 
 
109
  ### How to use it
110
 
111
 
112
+ ```python
113
  from datasets import load_dataset
114
 
115
+ # you can load specific languages (e.g., Amharic). This download train, validation and test sets.
116
  ds = load_dataset("shmuhammad/AfriSenti", "amh")
117
 
118
+ # train set only
 
119
  ds = load_dataset("shmuhammad/AfriSenti", "amh", split = "train")
120
 
121
+ # test set only
 
122
  ds = load_dataset("shmuhammad/AfriSenti", "amh", split = "test")
123
 
124
+ # validation set only
 
125
  ds = load_dataset("shmuhammad/AfriSenti", "amh", split = "validation")
126
 
127