julien-c
HF staff
commited on
Commit
4eb3802
1 Parent(s): e041db4

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

Commit from https://github.com/huggingface/datasets/commit/7e514c312fcc1d4b8f8e297df5549f669bfb30f8

Files changed (1) hide show
  1. README.md +3 -3
README.md CHANGED
@@ -4,7 +4,7 @@ annotations_creators:
4
  - no-annotation
5
  language_creators:
6
  - found
7
- languages:
8
  - af
9
  - am
10
  - ar
@@ -114,8 +114,8 @@ languages:
114
  - zh
115
  - zh-Latn
116
  - zu
117
- licenses:
118
- - odc-by-1.0
119
  multilinguality:
120
  - multilingual
121
  size_categories:
4
  - no-annotation
5
  language_creators:
6
  - found
7
+ language:
8
  - af
9
  - am
10
  - ar
114
  - zh
115
  - zh-Latn
116
  - zu
117
+ license:
118
+ - odc-by
119
  multilinguality:
120
  - multilingual
121
  size_categories: