librarian-bot commited on
Commit
5d78b1d
·
verified ·
1 Parent(s): c57232d

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.74%


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 +31 -29
README.md CHANGED
@@ -1,32 +1,34 @@
1
- ---
2
- dataset_info:
3
- config_name: triplet
4
- features:
5
- - name: query
6
- dtype: string
7
- - name: positive
8
- dtype: string
9
- - name: negative
10
- dtype: string
11
- splits:
12
- - name: train
13
- num_bytes: 12581563.792427007
14
- num_examples: 42076
15
- - name: test
16
- num_bytes: 3149278.207572993
17
- num_examples: 10532
18
- download_size: 1254810
19
- dataset_size: 15730842
20
- configs:
21
- - config_name: triplet
22
- data_files:
23
- - split: train
24
- path: triplet/train-*
25
- - split: test
26
- path: triplet/test-*
27
- task_categories:
28
- - sentence-similarity
29
- ---
 
 
30
 
31
  This dataset is the triplet subset of https://huggingface.co/datasets/sentence-transformers/sql-questions with a train and test split.
32
 
 
1
+ ---
2
+ language:
3
+ - en
4
+ task_categories:
5
+ - sentence-similarity
6
+ dataset_info:
7
+ config_name: triplet
8
+ features:
9
+ - name: query
10
+ dtype: string
11
+ - name: positive
12
+ dtype: string
13
+ - name: negative
14
+ dtype: string
15
+ splits:
16
+ - name: train
17
+ num_bytes: 12581563.792427007
18
+ num_examples: 42076
19
+ - name: test
20
+ num_bytes: 3149278.207572993
21
+ num_examples: 10532
22
+ download_size: 1254810
23
+ dataset_size: 15730842
24
+ configs:
25
+ - config_name: triplet
26
+ data_files:
27
+ - split: train
28
+ path: triplet/train-*
29
+ - split: test
30
+ path: triplet/test-*
31
+ ---
32
 
33
  This dataset is the triplet subset of https://huggingface.co/datasets/sentence-transformers/sql-questions with a train and test split.
34