Update README.md
Browse files
README.md
CHANGED
@@ -124,12 +124,15 @@ This corpus offers comprehensive insights into the linguistic diversity and cult
|
|
124 |
|
125 |
## Usage
|
126 |
If you want to use this dataset you pick one among the available configs: ['Ara--MBZUAI--Bactrian-X', 'Ara--OpenAssistant--oasst1', 'Ary--AbderrahmanSkiredj1--Darija-Wikipedia']
|
127 |
-
Example of usage:
|
128 |
-
`load_dataset('mixed-arabic-datasets', 'Ara--MBZUAI--Bactrian-X')`
|
129 |
|
|
|
|
|
|
|
|
|
130 |
If you load multiple datasets and merge them together then you can simply laverage `concatenate_datasets()` from `datasets`
|
131 |
-
|
132 |
-
|
|
|
133 |
Note : proccess the datasets before merging in order to make sure you have a new dataset that is consistent
|
134 |
|
135 |
## Dataset Details
|
|
|
124 |
|
125 |
## Usage
|
126 |
If you want to use this dataset you pick one among the available configs: ['Ara--MBZUAI--Bactrian-X', 'Ara--OpenAssistant--oasst1', 'Ary--AbderrahmanSkiredj1--Darija-Wikipedia']
|
|
|
|
|
127 |
|
128 |
+
Example of usage:
|
129 |
+
```python
|
130 |
+
dataset = load_dataset('mixed-arabic-datasets', 'Ara--MBZUAI--Bactrian-X')
|
131 |
+
```
|
132 |
If you load multiple datasets and merge them together then you can simply laverage `concatenate_datasets()` from `datasets`
|
133 |
+
```pyhton
|
134 |
+
dataset3 = concatenate_datasets([dataset1['train'], dataset2['train']])
|
135 |
+
```
|
136 |
Note : proccess the datasets before merging in order to make sure you have a new dataset that is consistent
|
137 |
|
138 |
## Dataset Details
|