Update README.md
Browse files
README.md
CHANGED
@@ -122,6 +122,16 @@ Encompassing a wide spectrum of content, ranging from social media conversations
|
|
122 |
|
123 |
This corpus offers comprehensive insights into the linguistic diversity and cultural nuances of Arabic expression.
|
124 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
125 |
## Dataset Details
|
126 |
|
127 |
- **Homepage:** [https://huggingface.co/datasets/Ali-C137/Mixed-Arabic-Datasets](https://huggingface.co/datasets/Ali-C137/Mixed-Arabic-Datasets)
|
|
|
122 |
|
123 |
This corpus offers comprehensive insights into the linguistic diversity and cultural nuances of Arabic expression.
|
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 |
+
`dataset3 = concatenate_datasets([dataset1['train'], dataset2['train']])`
|
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
|
136 |
|
137 |
- **Homepage:** [https://huggingface.co/datasets/Ali-C137/Mixed-Arabic-Datasets](https://huggingface.co/datasets/Ali-C137/Mixed-Arabic-Datasets)
|