File size: 8,381 Bytes
2949808
 
453bd7b
 
 
 
 
c554ee6
adaa47d
0b1e74b
453bd7b
 
2949808
21fc775
453bd7b
21fc775
b0d4664
656f4b7
 
453bd7b
adaa47d
0b1e74b
c554ee6
adaa47d
cf8bfc9
 
0b1e74b
453bd7b
 
 
 
 
 
 
416a03a
8a2af78
21fc775
416a03a
453bd7b
9e1acc8
453bd7b
 
 
c554ee6
8a2af78
 
 
 
 
 
 
 
cf8bfc9
c554ee6
9789228
350cafb
8a2af78
 
 
 
967888d
453bd7b
 
 
 
5c37792
e2f7fc8
 
8a2af78
390198d
 
7887618
390198d
 
 
 
 
 
7887618
390198d
 
7887618
390198d
 
 
 
de24799
4c0a10d
7887618
4c0a10d
7887618
 
 
4c0a10d
390198d
227ea30
8a2af78
cfae8e9
d6f63eb
e2f7fc8
 
 
 
 
453bd7b
 
 
c554ee6
453bd7b
5a3a9c4
453bd7b
 
 
5a3a9c4
 
453bd7b
33f7a9a
453bd7b
cf8bfc9
4a181ab
453bd7b
d6f63eb
1089e6f
d6f63eb
 
 
 
 
978c899
4a181ab
21fc775
e2f7fc8
21fc775
453bd7b
 
 
 
9875462
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
---
license: cc
language:
- eu
tags:
- Basque
- Euskara
pretty_name: ZelaiHandi🌱
version: v1
release_date: 2024/02/28
size_categories:
- 100M<n<1B
---
<!--# ZelaiHandi🌱: A Large Collection of Basque texts-->

<img src="zelaihandi_large.png"  width=800"/>

# Dataset Card for ZelaiHandi🌱

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

The dataset will receive yearly updates.

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:** 559M words.
- **Language(s) (NLP):** EU
- **License:** Various CC licenses
- **Curated by:** Orai NLP Technologies

### 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
{
        "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 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 559.380.531 raw tokens (result of ```wc -w```). It was gathered from various web sources and contains data up to 2024/02/23. 

The following table summarizes corpus statistics and license information. 

| **source**                  | **base url**                                                                                    | **domain**     | **tokens (M)** | **license**                  |
|----------------------------:|------------------------------------------------------------------------------------------------:|---------------:|---------------:|-----------------------------:|
| Tokikom 📝                 | https://tokikom.eus/bazkideak/                                                                  | news           | 165.75         | cc-by / cc-by-sa             |
| Berria                      | https://berria.eus                                                                              | news           | 178.77         | cc-by-sa 4.0                 |
| Eusko Legebiltzarra         | https://www.legebiltzarra.eus                                                                   | administrative | 80             | public domain                |
| Wikipedia                   | https://wikipedia.org                                                                           | wikipedia      | 63.8           | cc0                          |
| Addi                        | https://addi.ehu.es/                                                                            | science        | 17             | cc-by-nc-sa / cc-by-nc-nd    |
| Argia                       | https://www.argia.eus                                                                           | news           | 17.44          | cc-by-sa 4.0                 |
| Opendata Euskadi subtiitles | https://opendata.euskadi.eus/catalogo/-/euskarazko-azpitituluak-filmak-eta-telesailak-euskaraz/ | subtitles      | 11             | cc-by-sa                     |
| GFA                         | https://www.bngipuzkoa.eus/                                                                     | administrative | 8.4            | Custom copyright license⚠️ |
| Zientzia.eus                | https://zientzia.eus                                                                            | science        | 8.3            | cc-by-sa                     |
| Susa                        | https://www.susa-literatura.eus/                                                                | literature     | 5.8            | cc-by                        |
| BFA (+Nafarroa?)            | https://jjggbizkaia.eus                                                                         | administrative | 4.2            | Custom copyright license⚠️ |
| Zientzia Kaiera             | https://zientziakaiera.eus/                                                                     | science        | 2              | cc-by-sa 3.0                 |
| Ekaia                       | https://ojs.ehu.eus/index.php/ekaia                                                             | science        | 1.8            | cc-by-nc-nd                  |
| Ikergazte                   | https://www.buruxkak.eus/bilatu?bilaketa=ikergazte                                              | science        | 1.7            | cc-by-sa 3.0                 |
| Game-erauntsia              | https://gamerauntsia.eus/                                                                       | videogames     | 0.40           | cc-by-sa                     |
| **Total**                   |                                                                                                 |                | **566.36**     |

 📝 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]

⚠️ 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

<img src="https://huggingface.co/datasets/orai-nlp/ZelaiHandi/blob/main/zelaihandi_domainstats.png" />


Data was collected from 2024/01/01 to 2024/02/23.

## 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.-->

## Citation

Coming soon.
<!--We plan to release a paper soon, but, for now, please, cite as follows:

**BibTeX:**
```bibtex
@misc{ZelaiHaundi,
 title     = "{Zelai-Haundi: A Big Open Dataset to Feed the next Gen of Basque LLMs}",
 author    = "{Iñaki, Gorka, Xabi, Ander}",
 url       = "https://huggingface.co/datasets/orai-nlp/ZelaiHaundi",    
 year = 2024 }
```
-->
## Acknowledgements

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

## Dataset Card Contact

- Iñaki San Vicente (i.sanvicente@orai.eus)
- Gorka Urbizu (g.urbizu@orai.eus)