Librarian Bot: Add language metadata for dataset
Browse filesThis pull request aims to enrich the metadata of your dataset by adding language metadata to `YAML` block of your dataset card `README.md`.
How did we find this information?
- The librarian-bot downloaded a sample of rows from your dataset using the [dataset-server](https://huggingface.co/docs/datasets-server/) library
- The librarian-bot used a language detection model to predict the likely language of your dataset. This was done on columns likely to contain text data.
- Predictions for rows are aggregated by language and a filter is applied to remove languages which are very infrequently predicted
- A confidence threshold is applied to remove languages which are not confidently predicted
The following languages were detected with the following mean probabilities:
- Spanish (es): 88.47%
- English (en): 95.23%
If this PR is merged, the language metadata will be added to your dataset card. This will allow users to filter datasets by language on the [Hub](https://huggingface.co/datasets).
If the language metadata is incorrect, please feel free to close this PR.
To merge this PR, you can use the merge button below the PR:
![Screenshot 2024-02-06 at 15.27.46.png](https://cdn-uploads.huggingface.co/production/uploads/63d3e0e8ff1384ce6c5dd17d/1PRE3CoDpg_wfThC6U1w0.png)
This PR comes courtesy of [Librarian Bot](https://huggingface.co/librarian-bots). If you have any feedback, queries, or need assistance, please don't hesitate to reach out to
@davanstrien
.
@@ -1,27 +1,30 @@
|
|
1 |
---
|
|
|
|
|
|
|
2 |
configs:
|
3 |
-
|
4 |
-
|
5 |
-
|
6 |
-
|
7 |
-
|
8 |
-
|
9 |
dataset_info:
|
10 |
-
|
11 |
-
|
12 |
-
|
13 |
-
|
14 |
-
|
15 |
-
|
16 |
-
|
17 |
-
|
18 |
-
|
19 |
-
|
20 |
-
|
21 |
-
|
22 |
-
|
23 |
-
|
24 |
-
|
25 |
splits:
|
26 |
- name: train
|
27 |
num_bytes: 18929435
|
|
|
1 |
---
|
2 |
+
language:
|
3 |
+
- es
|
4 |
+
- en
|
5 |
configs:
|
6 |
+
- config_name: default
|
7 |
+
data_files:
|
8 |
+
- split: train
|
9 |
+
path: data/train-*
|
10 |
+
- split: dev
|
11 |
+
path: data/dev-*
|
12 |
dataset_info:
|
13 |
+
features:
|
14 |
+
- name: tokens
|
15 |
+
sequence: string
|
16 |
+
- name: tags
|
17 |
+
sequence:
|
18 |
+
class_label:
|
19 |
+
names:
|
20 |
+
0: lang1
|
21 |
+
1: lang2
|
22 |
+
2: mixed
|
23 |
+
3: other
|
24 |
+
4: fw
|
25 |
+
5: ambiguous
|
26 |
+
6: unk
|
27 |
+
7: ne
|
28 |
splits:
|
29 |
- name: train
|
30 |
num_bytes: 18929435
|