Datasets:

Modalities:
Text
Formats:
json
Languages:
Basque
Libraries:
Datasets
pandas
License:
File size: 9,928 Bytes
2949808
 
453bd7b
 
 
 
 
07bde57
4ec5904
 
453bd7b
8620a49
2949808
07bde57
0b99093
bf02187
0b99093
b0d4664
07bde57
656f4b7
453bd7b
07bde57
4ec5904
 
adaa47d
79bfed2
c1152cc
 
 
cf8bfc9
0b1e74b
453bd7b
 
 
 
 
 
 
bd1082b
9179c8d
21fc775
79bfed2
453bd7b
9e1acc8
453bd7b
 
 
c554ee6
8a2af78
 
 
bd1082b
8a2af78
 
 
 
 
cf8bfc9
092dcd1
9789228
350cafb
8a2af78
 
 
 
967888d
453bd7b
 
 
 
4ec5904
e2f7fc8
a19c4ff
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
e2f7fc8
8a2af78
390198d
 
a19c4ff
 
 
 
 
 
 
 
 
 
9bd7020
a19c4ff
 
e01c296
a19c4ff
1e1e410
a19c4ff
4c0a10d
b55ae13
4c0a10d
a19c4ff
 
b55ae13
4c0a10d
b55ae13
9e023fa
09488a7
a19c4ff
09488a7
8a2af78
e2f7fc8
 
 
 
 
453bd7b
 
 
c554ee6
453bd7b
5a3a9c4
453bd7b
 
 
5a3a9c4
 
453bd7b
c1152cc
 
 
5b7ae50
c1152cc
5b7ae50
 
c1152cc
 
33f7a9a
453bd7b
b180856
9e023fa
453bd7b
b180856
1089e6f
9e023fa
b180856
060084a
b180856
 
1c61663
 
978c899
b180856
21fc775
e2f7fc8
306b28f
 
21fc775
453bd7b
306b28f
63bf835
db6da10
453bd7b
 
4ec5904
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
---
license: cc
language:
- eu
tags:
- Basque
- Euskara
pretty_name: 🌱ZelaiHandi
version: v2
release_date: 2025/02/17
size_categories:
- 100M<n<1B
---
<!--# 🌱ZelaiHandi: A Large Collection of Basque texts-->
<p align="center">
<img src="https://storage.googleapis.com/orai-nlp/datasets/ZelaiHandi/zelaihandi_large.png" alt="ZelaiHandi_logo" width=800 />
</p>

# Dataset Card for 🌱ZelaiHandi

<!-- Provide a quick summary of the dataset. -->
🌱ZelaiHandi: A Large Collection of Basque Texts. 
ZelaiHandi, which means "large pasture" in Basque, is the largest collection of freely licensed and clean Basque texts to date (February 14th, 2025), gathered from selected web sources.
This collection comprises approximately 660 million words.

The dataset will receive periodical updates.

- **v2 (February 17th, 2025): 660M words, 7 new sources.**
- v1 (March 4th, 2024): 521M words. 

The corpus has been released with the objective of “feeding” Large Language Models. Naturally, models that are not strictly "herbivorous" can also ingest ZelaiHandi.

## Dataset Details

### Dataset Description

<!-- Provide a longer summary of what this dataset is. -->

- **Size:** 660M words (5.8GB disk space)
- **Language:** Basque (EU)
- **License:** Various CC licenses
- **Curated by:** Orai NLP Teknologiak

### Dataset Structure

<!-- This section provides a description of the dataset fields, and additional information about the dataset structure such as criteria used to create the splits, relationships between data points, etc. -->

The corpus is released in JSONL format. Each document contains the following attributes:

```json
{
        "id":"unique id for each document",
        "source": "source", 
        "license": "document license", 
        "lang": "eu", 
        "url": "document url", 
        "title": "document title", 
        "author": "document author if known, null otherwise", 
        "date": "publication date in yyyy[-mm-dd[Thh:mm:ssZ]] format", 
        "text": "document content, ready to use raw text. Title text (for news and articles) is included as well.",
        "domain": "document domain. one of ['news', 'administrative', 'wikipedia', 'science', 'subtitles', 'literature', 'videogames']"
}
```


<!--## Dataset Creation-->

### Source Data

<!-- This section describes the source data (e.g. news text and headlines, social media posts, translated sentences, ...). -->
This is a corpus of the Basque language. It contains 659,609,830 raw words (counted by the '```wc -w```' command over the text attribute) in 2.26M documents. It was gathered from various web sources and contains data up to 2025/02/13. 

187,63
148,62
83,04
72,83
18,36
16,36
16,36
83,20
8,71
8,63
5,77
4,34
1,98
1,80
1,61
0,40


The following table summarizes corpus statistics and license information. 

| **source**                  | **base url**                                                                                    | **domain**     | **tokens (M)** | **license**                  |
|----------------------------:|------------------------------------------------------------------------------------------------:|---------------:|---------------:|-----------------------------:|
| Tokikom 📝                  | https://tokikom.eus/bazkideak/                                                                  | news           | 187.63         | cc-by / cc-by-sa             |
| Berria                      | https://berria.eus                                                                              | news           | 148.62         | cc-by-sa 4.0                 |
| Hitzak 📝📝                 | https://hitza.eus                                                                               | news           | 83.20          | cc-by-sa 4.0                 |
| Eusko Legebiltzarra         | https://www.legebiltzarra.eus                                                                   | administrative | 83.04          | public domain                |
| Wikipedia                   | https://wikipedia.org                                                                           | wikipedia      | 72.83          | cc-by-sa 4.0                         |
| Argia                       | https://www.argia.eus                                                                           | news           | 18.36          | cc-by-sa 4.0                 |
| Addi                        | https://addi.ehu.es/                                                                            | science        | 16.36          | several cc variants    |
| Opendata Euskadi subtiitles | https://opendata.euskadi.eus/catalogo/-/euskarazko-azpitituluak-filmak-eta-telesailak-euskaraz/ | subtitles      | 16.36          | cc-by-sa                     |
| GFA                         | https://www.bngipuzkoa.eus/                                                                     | administrative | 8.71           | Custom copyright license⚠️ |
| Zientzia.eus                | https://zientzia.eus                                                                            | science        | 8.63           | cc-by-sa                     |
| Susa                        | https://www.susa-literatura.eus/                                                                | literature     | 5.77           | cc-by                        |
| BFA                         | https://jjggbizkaia.eus                                                                         | administrative | 4.34           | Custom copyright license⚠️ |
| Zientzia Kaiera             | https://zientziakaiera.eus/                                                                     | science        | 1.98           | cc-by-sa 3.0                 |
| Ekaia                       | https://ojs.ehu.eus/index.php/ekaia                                                             | science        | 1.80           | cc-by-nc-nd 4.0                 |
| Ikergazte                   | https://www.buruxkak.eus/bilatu?bilaketa=ikergazte                                              | science        | 1.61           | cc-by-sa 3.0                 |
| Game-erauntsia              | https://gamerauntsia.eus/                                                                       | videogames     | 0.40           | cc-by-sa 4.0                    |
| **Total**                   |                                                                                                 |                | **659.62**     |

 📝 Tokikom is a Basque local media network. The following websites are included in ZelaiHandi: [28kanala, Aiaraldea, Aikor, Aiurri, Alea, Amezti, Anboto, Antxetamedia, Ataria, Baleike, Barren, Begitu, Berriketan, Drogetenitturri, Erran, Euskalerriairratia, Gitb, Goiena, Guaixe, Hiruka, Karkara, Kronika, Mailope, Maxixatzen, Noaua, Plaentxia, Txintxarri, Uriola, Urolakostakohitza, Uztarria, Zarauzkohitza].

 📝📝 Hitzak includes a number of local media sources, which are not members of Tokikom network at the time of the current release. The following websites are included in ZelaiHandi: [Hitza.eus, Irutxuloko Hitza, Bidasoako Hitza, Busturialdeko Hitza, Goierriko Hitza, Lea-Artibai eta Mutrikuko Hitza, Oarsoaldeko Hitza, Otamotz, Goiberri].

⚠️ Custom license, allows reproducibility. License text here: <https://www.bngipuzkoa.eus/WAS/CORP/DJGPortalWEB/aviso_legal.jsp>.

⚠️ Custom license, allows reproducibility License text here: <https://jjggbizkaia.eus/eu/pribadutasun-politikea>.

<p align="center">
<img src="https://storage.googleapis.com/orai-nlp/datasets/ZelaiHandi/zelaihandi-v2_domainstats.png" alt="domain distribution statistics of ZelaiHandi corpus" width=800 />
</p>

## License 

The corpus is comprised of documents from various sources. All documents included have a free license, but each source has its own license. All documents collected are publicly available under free use licenses in their original website. If you are the owner of any data included in the corpus and you would not like to be reproduced here, please contact us.


## Bias, Risks, and Limitations

<!-- This section is meant to convey both technical and sociotechnical limitations. -->
This corpus may reflect societal stereotypes and biases. Additionally, it could contain explicit language, slurs, and hate speech, particularly in fictional texts from literature.

<!--### Recommendations -->

<!-- This section is meant to convey recommendations with respect to the bias, risk, and technical limitations. -->

<!--Users should be made aware of the risks, biases and limitations of the dataset. 
We suggest filtering sources as literature and subtitles that might contain hate speech, slurs or explicit language before pretraining an LLM for end tasks like interactive chat.-->


## Previous releases

If you need a previous release clone this repository and get back to a previos release. Following we list the commit ids for the different releases: 

- v2: `$git checkout main`
- v1: `$git checkout 1c61663c8361779898472a7eb6ac2c69c775ed5b`


## Citation

<!--We plan to release a paper soon, but, for now, please, cite as follows:-->
If you use the corpus please cite the following reference:

<!--**BibTeX:**-->
```bibtex
@misc{ZelaiHandi,
 title     = {ZelaiHandi: A Large Collection of Basque Texts},
 author    = {Iñaki San Vicente, Gorka Urbizu, Ander Corral, Zuhaitz Beloki, Xabier Saralegi},
 publisher = {Orai NLP Technologies},
 url       = {\url{https://huggingface.co/datasets/orai-nlp/ZelaiHandi}},    
 year = {2024}
}
```

## Acknowledgements

Special thanks to the authors of the texts and to the media that have made it possible to publish their content under a free license.

This work has been partially funded by the Basque Government under grant no. KK-2023/00094 (ICL4LANG).



## Contact

- Iñaki San Vicente ([email protected])
- Gorka Urbizu ([email protected])