File size: 2,061 Bytes
2590575
 
 
19e2adf
2590575
 
19e2adf
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
2590575
 
 
 
 
 
 
 
7bbb957
 
 
 
 
 
 
 
 
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
---
language:
- eu
license: cc-by-4.0
size_categories:
- 100K<n<1M
task_categories:
- image-to-text
pretty_name: LAION-eus
dataset_info:
  features:
  - name: url
    dtype: string
  - name: similarity
    dtype: float64
  - name: hash
    dtype: int64
  - name: pwatermark
    dtype: float32
  - name: punsafe
    dtype: float32
  - name: lang_laion
    dtype: string
  - name: caption
    dtype: string
  - name: key
    dtype: string
  - name: status
    dtype: string
  - name: error_message
    dtype: string
  - name: width
    dtype: int32
  - name: height
    dtype: int32
  - name: original_width
    dtype: int32
  - name: original_height
    dtype: int32
  - name: exif
    dtype: string
  - name: md5
    dtype: string
  - name: lang
    dtype: string
  - name: lang_prob
    dtype: float64
  splits:
  - name: train
    num_bytes: 89834102
    num_examples: 221376
  download_size: 50506034
  dataset_size: 89834102
configs:
- config_name: default
  data_files:
  - split: train
    path: data/train-*
---

This dataset contains a subset of [laion/relaion2B-multi-research](https://huggingface.co/datasets/laion/relaion2B-multi-research) where captions are written in Basque. Although language is already detected for its captions, we used another language detector [Mike0307/multilingual-e5-language-detection](https://huggingface.co/Mike0307/multilingual-e5-language-detection) and a high certainty threshold (p > 0.98) to better filter the instances in Basque.

Apart from the same attributes found in `laion/relaion2B-multi-research`, we add the following to each instance.

* "lang_laion": language originally detected by the classifier used in `laion/relaion2B-multi-research`.
* "lang": language detected by `Mike0307/multilingual-e5-language-detection`. This is always 'Basque'.
* "lang_prob": probability of the caption to be written in Basque given by `Mike0307/multilingual-e5-language-detection`.

In order to load the dataset, run the following code:

```
from datasets import load_dataset

dataset = load_dataset("HiTZ/laion-eus")
```