Update README.md
Browse files
README.md
CHANGED
@@ -27,3 +27,14 @@ The dataset is structured in the following way:
|
|
27 |
### Licensing
|
28 |
This dataset is released under the [CreativeML Open RAIL-M license](https://github.com/CompVis/stable-diffusion/blob/main/LICENSE).
|
29 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
27 |
### Licensing
|
28 |
This dataset is released under the [CreativeML Open RAIL-M license](https://github.com/CompVis/stable-diffusion/blob/main/LICENSE).
|
29 |
|
30 |
+
### Usage
|
31 |
+
```python
|
32 |
+
from datasets import load_dataset
|
33 |
+
|
34 |
+
# Load the dataset from Hugging Face
|
35 |
+
dataset = load_dataset('Nehdi/TuniziBigBench')
|
36 |
+
|
37 |
+
# Example: Print the first 5 entries from the dataset
|
38 |
+
for entry in dataset['train'][:5]:
|
39 |
+
print(entry['text'])
|
40 |
+
```
|