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:
- English (en): 99.75%
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,21 +1,23 @@
|
|
1 |
---
|
|
|
|
|
2 |
configs:
|
3 |
- config_name: default1
|
4 |
data_files:
|
5 |
- split: train
|
6 |
-
path:
|
7 |
- split: test
|
8 |
-
path:
|
9 |
- split: validation
|
10 |
-
path:
|
11 |
- config_name: mydata2
|
12 |
data_files:
|
13 |
- split: train
|
14 |
-
path:
|
15 |
- split: test
|
16 |
-
path:
|
17 |
- split: validation
|
18 |
-
path:
|
19 |
---
|
20 |
|
21 |
# test
|
|
|
1 |
---
|
2 |
+
language:
|
3 |
+
- en
|
4 |
configs:
|
5 |
- config_name: default1
|
6 |
data_files:
|
7 |
- split: train
|
8 |
+
path: data1/train-00000-of-00001.parquet
|
9 |
- split: test
|
10 |
+
path: data1/test-00000-of-00001.parquet
|
11 |
- split: validation
|
12 |
+
path: data1/validation-00000-of-00001.parquet
|
13 |
- config_name: mydata2
|
14 |
data_files:
|
15 |
- split: train
|
16 |
+
path: data2/train-00000-of-00001.parquet
|
17 |
- split: test
|
18 |
+
path: data2/test-00000-of-00001.parquet
|
19 |
- split: validation
|
20 |
+
path: data2/validation-00000-of-00001.parquet
|
21 |
---
|
22 |
|
23 |
# test
|