Datasets:
Tasks:
Text Generation
Sub-tasks:
language-modeling
Languages:
Italian
Size:
100M<n<1B
ArXiv:
License:
Replaced dashes with underscores
Browse files- README.md +3 -3
- clean-mc4-it.py → clean_mc4_it.py +1 -1
README.md
CHANGED
@@ -1,5 +1,5 @@
|
|
1 |
---
|
2 |
-
pretty_name:
|
3 |
annotations_creators:
|
4 |
- no-annotation
|
5 |
language_creators:
|
@@ -132,7 +132,7 @@ You can load any subset like this:
|
|
132 |
```python
|
133 |
from datasets import load_dataset
|
134 |
|
135 |
-
mc4_it_tiny = load_dataset("gsarti/
|
136 |
```
|
137 |
|
138 |
Since splits are quite large, you may want to traverse them using the streaming mode available starting from 🤗 Datasets v1.9.0:
|
@@ -140,7 +140,7 @@ Since splits are quite large, you may want to traverse them using the streaming
|
|
140 |
```python
|
141 |
from datasets import load_dataset
|
142 |
|
143 |
-
mc4_it_full_stream = load_dataset("gsarti/
|
144 |
print(next(iter(mc4_it_full_stream))) # Prints the example presented above
|
145 |
```
|
146 |
|
|
|
1 |
---
|
2 |
+
pretty_name: mC4_it
|
3 |
annotations_creators:
|
4 |
- no-annotation
|
5 |
language_creators:
|
|
|
132 |
```python
|
133 |
from datasets import load_dataset
|
134 |
|
135 |
+
mc4_it_tiny = load_dataset("gsarti/clean_mc4_it", "tiny")
|
136 |
```
|
137 |
|
138 |
Since splits are quite large, you may want to traverse them using the streaming mode available starting from 🤗 Datasets v1.9.0:
|
|
|
140 |
```python
|
141 |
from datasets import load_dataset
|
142 |
|
143 |
+
mc4_it_full_stream = load_dataset("gsarti/clean_mc4_it", "full", split='train', streaming=True)
|
144 |
print(next(iter(mc4_it_full_stream))) # Prints the example presented above
|
145 |
```
|
146 |
|
clean-mc4-it.py → clean_mc4_it.py
RENAMED
@@ -49,7 +49,7 @@ _HOMEPAGE = "https://github.com/allenai/allennlp/discussions/5056"
|
|
49 |
|
50 |
_LICENSE = "Open Data Commons Attribution License (ODC-By) v1.0"
|
51 |
|
52 |
-
_BASE_URL = "https://huggingface.co/datasets/gsarti/
|
53 |
|
54 |
_CONFIGS = {
|
55 |
"tiny": {"train": 100, "validation": 1},
|
|
|
49 |
|
50 |
_LICENSE = "Open Data Commons Attribution License (ODC-By) v1.0"
|
51 |
|
52 |
+
_BASE_URL = "https://huggingface.co/datasets/gsarti/clean_mc4_it/resolve/main/clean-mc4-it/c4-it{split_suffix}.tfrecord-{index:05d}-of-{n_shards:05d}.json.gz"
|
53 |
|
54 |
_CONFIGS = {
|
55 |
"tiny": {"train": 100, "validation": 1},
|