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.98%
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,14 +1,16 @@
|
|
1 |
---
|
|
|
|
|
2 |
license: apache-2.0
|
3 |
configs:
|
4 |
-
|
5 |
-
|
6 |
-
|
7 |
-
|
8 |
-
|
9 |
-
|
10 |
-
|
11 |
-
|
12 |
-
|
13 |
-
|
14 |
---
|
|
|
1 |
---
|
2 |
+
language:
|
3 |
+
- en
|
4 |
license: apache-2.0
|
5 |
configs:
|
6 |
+
- config_name: bbc
|
7 |
+
data_files:
|
8 |
+
- split: train
|
9 |
+
path: bbc_news-train-3-classes.jsonl
|
10 |
+
- split: test
|
11 |
+
path: bbc_news-test-3-classes.jsonl
|
12 |
+
- config_name: news20
|
13 |
+
data_files:
|
14 |
+
- split: train
|
15 |
+
path: news20_train-train-3-classes.jsonl
|
16 |
---
|