librarian-bot commited on
Commit
f348c80
·
verified ·
1 Parent(s): 2e51a26

Librarian Bot: Add language metadata for dataset

Browse files

This 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.76%


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
.

Files changed (1) hide show
  1. README.md +21 -19
README.md CHANGED
@@ -1,21 +1,23 @@
1
  ---
 
 
2
  configs:
3
- - config_name: default
4
- data_files:
5
- - split: train
6
- path: pubmed_qa_train.csv
7
- - split: validation
8
- path: pubmed_qa_validation.csv
9
- - config_name: truncated
10
- data_files:
11
- - split: train
12
- path: train_truncated.csv
13
- - split: validation
14
- path: validation_truncated.csv
15
- - config_name: truncated_512
16
- data_files:
17
- - split: train
18
- path: train_truncated_512.csv
19
- - split: validation
20
- path: validation_truncated_512.csv
21
- ---
 
1
  ---
2
+ language:
3
+ - en
4
  configs:
5
+ - config_name: default
6
+ data_files:
7
+ - split: train
8
+ path: pubmed_qa_train.csv
9
+ - split: validation
10
+ path: pubmed_qa_validation.csv
11
+ - config_name: truncated
12
+ data_files:
13
+ - split: train
14
+ path: train_truncated.csv
15
+ - split: validation
16
+ path: validation_truncated.csv
17
+ - config_name: truncated_512
18
+ data_files:
19
+ - split: train
20
+ path: train_truncated_512.csv
21
+ - split: validation
22
+ path: validation_truncated_512.csv
23
+ ---