Align/fix license metadata info (#4613)
Browse files* language(s) and license(s) for consistency
* `licenses:` => `license:`
* `languages:` => `language:`
* backward-compat
* make style
* set default values for deprecated languages and licenses
* Creative Commons Attribution 2.5 South Africa License
* Do a first batch
* progress
* moar progress
* moar
* moar
* Handle other `other`
* moaaaar
* Yay!!! should be done
* licenses: use the same standard list as elsewhere
* js -> python
* style
* only allow "other" and not "other-*"
* add license_details to DatasetMetadata
* fix test
* add tsv to package_data
Co-authored-by: Quentin Lhoest <[email protected]>
Commit from https://github.com/huggingface/datasets/commit/7e514c312fcc1d4b8f8e297df5549f669bfb30f8
README.md
CHANGED
|
@@ -5,9 +5,9 @@ language_creators:
|
|
| 5 |
- crowdsourced
|
| 6 |
pretty_name: Wikipedia
|
| 7 |
paperswithcode_id: null
|
| 8 |
-
|
| 9 |
- cc-by-sa-3.0
|
| 10 |
-
- gfdl
|
| 11 |
task_categories:
|
| 12 |
- text-generation
|
| 13 |
- fill-mask
|
|
@@ -24,7 +24,7 @@ size_categories:
|
|
| 24 |
- 10K<n<100K
|
| 25 |
- 100K<n<1M
|
| 26 |
- 1M<n<10M
|
| 27 |
-
|
| 28 |
- "no"
|
| 29 |
- aa
|
| 30 |
- ab
|
|
|
|
| 5 |
- crowdsourced
|
| 6 |
pretty_name: Wikipedia
|
| 7 |
paperswithcode_id: null
|
| 8 |
+
license:
|
| 9 |
- cc-by-sa-3.0
|
| 10 |
+
- gfdl
|
| 11 |
task_categories:
|
| 12 |
- text-generation
|
| 13 |
- fill-mask
|
|
|
|
| 24 |
- 10K<n<100K
|
| 25 |
- 100K<n<1M
|
| 26 |
- 1M<n<10M
|
| 27 |
+
language:
|
| 28 |
- "no"
|
| 29 |
- aa
|
| 30 |
- ab
|