nazneen commited on
Commit
92d6c44
1 Parent(s): f04bc7e

Autoeval config (#4234)

Browse files

* autoeval config added

* autoeval config added

* Added autonlp config changes

https://github.com/huggingface/autonlp-backend/issues/414

* multi-input text classification as task id instead of category

* improve metadata validation:
- support YAML keys with dashes
- add train-eval-index validation

* revert debugging stuff

* fix tests

* style

* Update metadata.py

* Update metadata.py

Co-authored-by: Quentin Lhoest <lhoest.q@gmail.com>
Co-authored-by: Quentin Lhoest <42851186+lhoestq@users.noreply.github.com>

Commit from https://github.com/huggingface/datasets/commit/6af556b64d54374133fe7bf3f1ffba1d82c49269

Files changed (1) hide show
  1. README.md +49 -0
README.md CHANGED
@@ -19,6 +19,55 @@ task_categories:
19
  task_ids:
20
  - sentiment-classification
21
  paperswithcode_id: imdb-movie-reviews
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
22
  ---
23
 
24
  # Dataset Card for "imdb"
 
19
  task_ids:
20
  - sentiment-classification
21
  paperswithcode_id: imdb-movie-reviews
22
+ train-eval-index:
23
+ - config: plain_text
24
+ task: text-classification
25
+ task_id: binary_classification
26
+ splits:
27
+ train_split: train
28
+ eval_split: test
29
+ col_mapping:
30
+ text: text
31
+ label: target
32
+ metrics:
33
+ - type: accuracy
34
+ - name: Accuracy
35
+ - type: f1
36
+ name: F1 macro
37
+ args:
38
+ average: macro
39
+ - type: f1
40
+ name: F1 micro
41
+ args:
42
+ average: micro
43
+ - type: f1
44
+ name: F1 weighted
45
+ args:
46
+ average: weighted
47
+ - type: precision
48
+ name: Precision macro
49
+ args:
50
+ average: macro
51
+ - type: precision
52
+ name: Precision micro
53
+ args:
54
+ average: micro
55
+ - type: precision
56
+ name: Precision weighted
57
+ args:
58
+ average: weighted
59
+ - type: recall
60
+ name: Recall macro
61
+ args:
62
+ average: macro
63
+ - type: recall
64
+ name: Recall micro
65
+ args:
66
+ average: micro
67
+ - type: recall
68
+ name: Recall weighted
69
+ args:
70
+ average: weighted
71
  ---
72
 
73
  # Dataset Card for "imdb"