thesanogoeffect commited on
Commit
b4ef7f4
·
verified ·
1 Parent(s): c4dd45e

Promote DeepSeek-teacher MiniLM classifier

Browse files

Promotes verified release branch deepseek-teacher-20260719 (21af04487144d7be1f34a3b78a7305d94b7e3c6f) to main. Previous main remains available at c4dd45e8c984122c85d4cc1599f69618888b0a7a.

README.md CHANGED
@@ -1,76 +1,67 @@
1
  ---
2
- language: en
3
- license: agpl-3.0
4
  library_name: transformers
5
- tags:
6
- - text-classification
7
- - scientific-papers
8
- - oecd-fields-of-science
9
- - multitask
10
- base_model: allenai/specter2_base
11
  pipeline_tag: text-classification
 
 
 
 
 
12
  ---
13
 
14
- # bibr paper classifier
15
-
16
- A multitask classifier that predicts, from a scientific paper's **title + abstract**:
17
 
18
- - **OECD field of science, level 1** (`oecd_domain`) — 6 domains
19
- - **OECD field of science, level 2** (`oecd_subdomain`) 36 subdomains
20
- - **paper type** empirical, review, meta-analysis, case-study, commentary, corrigendum, erratum, retraction
21
-
22
- It is the field/type classification component of [bibr](https://bibr.org), a scientific-paper
23
- metadata extraction pipeline. In bibr it replaces a per-paper LLM classification call: a shared
24
- SPECTER2 encoder with three linear heads runs locally at zero marginal cost and is substantially
25
- more accurate than the zero-shot LLM it supersedes.
26
 
27
  ## Architecture
28
 
29
- `allenai/specter2_base` encoder → mean-pooled last hidden state → three linear heads
30
- (`l1_head`, `l2_head`, `paper_type_head`). Input text is `"{title} [SEP] {abstract}"`.
31
-
32
- ## Results (held-out test)
33
-
34
- Measured on the deployment condition — title + a clean abstract, as provided at inference:
35
 
36
- | task | macro-F1 | micro-F1 |
37
- |------|---------:|---------:|
38
- | OECD L1 (`oecd_domain`) | 0.742 | 0.768 |
39
- | OECD L2 (`oecd_subdomain`) | 0.461 | 0.599 |
40
- | paper type | 0.936 | 0.934 |
41
 
42
- paper_type per class: retraction 0.99, erratum 0.98, case-study 0.94, meta-analysis 0.93,
43
- commentary 0.92, empirical 0.90, review 0.89. `corrigendum` is not learnable from the available
44
- data (n=2) and is handled by a deterministic title guard in bibr rather than this model.
 
 
45
 
46
- For comparison, the zero-shot LLM this model replaces scores L1 macro **0.56** (title-only) / 0.35
47
- (title+abstract) against the same labels.
48
 
49
- ### Confidence gating
50
 
51
- The heads are softmax-scored; `paper_type` logits are temperature-scaled
52
- (`paper_type_temperature` in `inference_config.json`, Guo et al. 2017). Recommended emission policy:
53
- emit `oecd_domain` and `paper_type` always, and emit `oecd_subdomain` only above a confidence
54
- threshold (else null). Illustrative L2 precision/coverage: thr 0.5 66% coverage @ 0.60 precision;
55
- thr 0.8 36% coverage @ 0.74 precision.
56
 
57
- ## Training data & labels
 
 
58
 
59
- - **OECD labels** are derived from the OpenAlex `primary_topic` taxonomy (CC0), mapped to the OECD
60
- Fields of Science hierarchy. They are **not** LLM-generated. Title/abstract pairs whose abstract
61
- was crossed from an unrelated work (a known OpenAlex data artifact) were detected with an
62
- embedding-cosine consistency filter and trained title-only to avoid poisoning the input.
63
- - **paper_type labels** for the rarer classes come from MEDLINE/PubMed PublicationType metadata
64
- (public domain), with a smaller set of LLM-adjudicated labels for the ambiguous majority.
65
 
66
- ## Intended use & limitations
67
 
68
- Designed for English scientific papers with a title and abstract. OECD field assignment is
69
- inherently ambiguous for interdisciplinary work; L2 in particular should be treated as a
70
- confidence-gated hint, not ground truth. Not suitable as a sole basis for high-stakes
71
- categorization.
72
 
73
- ## License
 
 
 
 
74
 
75
- Released under AGPL-3.0, matching the bibr project. Training-data sources (OpenAlex, PubMed) carry
76
- their own open licenses noted above.
 
1
  ---
2
+ language:
3
+ - en
4
  library_name: transformers
5
+ license: apache-2.0
 
 
 
 
 
6
  pipeline_tag: text-classification
7
+ tags:
8
+ - bibr
9
+ - OECD
10
+ - scientific-paper-classification
11
+ - MiniLM
12
  ---
13
 
14
+ # bibr OECD/paper-type classifier — DeepSeek teacher, 2026-07-19
 
 
15
 
16
+ This is the DeepSeek-v4-Flash-teacher MiniLM candidate for bibr's multitask
17
+ scientific-paper classifier. It predicts OECD Level 1, OECD Level 2, and paper
18
+ type from title plus abstract.
 
 
 
 
 
19
 
20
  ## Architecture
21
 
22
+ - Encoder: `sentence-transformers/all-MiniLM-L6-v2`
23
+ - Input template: `title_abstract_v1`
24
+ - Maximum input length: 256 tokens
25
+ - Heads: OECD L1, OECD L2, paper type
26
+ - Model SHA-256:
27
+ `7a46c595cf3bb8e1eff39303786e8b7d16c95ea87f9f06b12d4a753f0be1e580`
28
 
29
+ ## Training provenance
 
 
 
 
30
 
31
+ - Training corpus rows: 122,363
32
+ - Deterministic split: 91,771 train / 12,237 validation / 18,355 test
33
+ - DeepSeek teacher changed 16,220 L1 labels relative to the matched OpenAlex
34
+ baseline.
35
+ - Teacher-labelled rows are training supervision, not evaluation gold.
36
 
37
+ ## Evaluation
 
38
 
39
+ On the frozen 1,500-row Phase-A panel:
40
 
41
+ | Model | Accuracy | Macro-F1 |
42
+ |---|---:|---:|
43
+ | Matched OpenAlex MiniLM baseline | 0.7333 | 0.7280 |
44
+ | This checkpoint | **0.8120** | **0.8096** |
45
+ | Previously shipped SPECTER2 checkpoint | 0.6887 | 0.6874 |
46
 
47
+ The matched MiniLM gain was +0.0787 accuracy and +0.0816 macro-F1. The paired
48
+ correctness table contained 158 teacher-only correct rows and 40 baseline-only
49
+ correct rows; exact McNemar p-value was `8.687e-18`.
50
 
51
+ The Phase-A reference is explicitly
52
+ `provisional_unadjudicated_codex_panel`. It is not human-adjudicated gold, so
53
+ these figures support candidate selection but not a final scientific-quality
54
+ claim.
 
 
55
 
56
+ ## Bundle contract
57
 
58
+ The bibr loader requires:
 
 
 
59
 
60
+ - `model.safetensors`
61
+ - `tokenizer.json`
62
+ - `tokenizer_config.json`
63
+ - `label_maps.json`
64
+ - `inference_config.json`
65
 
66
+ `test_metrics.json`, `test_l1_diagnostics.json`, and `phaseA_metrics.json`
67
+ provide training and provisional-panel diagnostics.
inference_config.json CHANGED
@@ -1,9 +1,8 @@
1
  {
2
- "encoder_name": "allenai/specter2_base",
3
  "input_template": "title_abstract_v1",
4
- "max_length": 384,
5
  "model_kind": "paper_classifier_oecd_multitask_transformer",
6
- "paper_type_temperature": 1.233031831988202,
7
  "tasks": [
8
  "oecd_l1",
9
  "oecd_l2",
 
1
  {
2
+ "encoder_name": "sentence-transformers/all-MiniLM-L6-v2",
3
  "input_template": "title_abstract_v1",
4
+ "max_length": 256,
5
  "model_kind": "paper_classifier_oecd_multitask_transformer",
 
6
  "tasks": [
7
  "oecd_l1",
8
  "oecd_l2",
label_maps.json CHANGED
@@ -8,7 +8,6 @@
8
  "Social Sciences"
9
  ],
10
  "l2_classes": [
11
- "Agricultural Biotechnology",
12
  "Agriculture, Forestry, and Fisheries",
13
  "Animal and Dairy Science",
14
  "Arts (arts, history of arts, performing arts, music)",
@@ -23,11 +22,9 @@
23
  "Economics and Business",
24
  "Education",
25
  "Electrical Engineering, Electronic Engineering, Information Engineering",
26
- "Environmental Biotechnology",
27
  "Environmental Engineering",
28
  "Health Sciences",
29
  "History and Archaeology",
30
- "Industrial Biotechnology",
31
  "Languages and Literature",
32
  "Law",
33
  "Materials Engineering",
@@ -36,7 +33,6 @@
36
  "Media and Communications",
37
  "Medical Biotechnology",
38
  "Medical Engineering",
39
- "Nano-technology",
40
  "Philosophy, Ethics and Religion",
41
  "Physical Sciences",
42
  "Political Science",
@@ -48,7 +44,6 @@
48
  "paper_type_classes": [
49
  "case-study",
50
  "commentary",
51
- "corrigendum",
52
  "empirical",
53
  "erratum",
54
  "meta-analysis",
 
8
  "Social Sciences"
9
  ],
10
  "l2_classes": [
 
11
  "Agriculture, Forestry, and Fisheries",
12
  "Animal and Dairy Science",
13
  "Arts (arts, history of arts, performing arts, music)",
 
22
  "Economics and Business",
23
  "Education",
24
  "Electrical Engineering, Electronic Engineering, Information Engineering",
 
25
  "Environmental Engineering",
26
  "Health Sciences",
27
  "History and Archaeology",
 
28
  "Languages and Literature",
29
  "Law",
30
  "Materials Engineering",
 
33
  "Media and Communications",
34
  "Medical Biotechnology",
35
  "Medical Engineering",
 
36
  "Philosophy, Ethics and Religion",
37
  "Physical Sciences",
38
  "Political Science",
 
44
  "paper_type_classes": [
45
  "case-study",
46
  "commentary",
 
47
  "empirical",
48
  "erratum",
49
  "meta-analysis",
model.safetensors CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:f38cf907fde11972314785bd8b6cd7fb484d5238fa435e48ad30e137016309c9
3
- size 439852128
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:7a46c595cf3bb8e1eff39303786e8b7d16c95ea87f9f06b12d4a753f0be1e580
3
+ size 90934820
phaseA_metrics.json ADDED
@@ -0,0 +1,168 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "accuracy_all_lower_bound": 0.812,
3
+ "accuracy_scored": 0.812,
4
+ "classification_report": {
5
+ "Agricultural and Veterinary Sciences": {
6
+ "f1-score": 0.7692307692307693,
7
+ "precision": 0.8072916666666666,
8
+ "recall": 0.7345971563981043,
9
+ "support": 211.0
10
+ },
11
+ "Engineering and Technology": {
12
+ "f1-score": 0.8514851485148515,
13
+ "precision": 0.8704453441295547,
14
+ "recall": 0.8333333333333334,
15
+ "support": 258.0
16
+ },
17
+ "Humanities and the Arts": {
18
+ "f1-score": 0.8218527315914489,
19
+ "precision": 0.8084112149532711,
20
+ "recall": 0.8357487922705314,
21
+ "support": 207.0
22
+ },
23
+ "Medical and Health Sciences": {
24
+ "f1-score": 0.8881118881118881,
25
+ "precision": 0.9071428571428571,
26
+ "recall": 0.8698630136986302,
27
+ "support": 292.0
28
+ },
29
+ "Natural Sciences": {
30
+ "f1-score": 0.731610337972167,
31
+ "precision": 0.6917293233082706,
32
+ "recall": 0.7763713080168776,
33
+ "support": 237.0
34
+ },
35
+ "Social Sciences": {
36
+ "f1-score": 0.7953020134228188,
37
+ "precision": 0.7873754152823921,
38
+ "recall": 0.8033898305084746,
39
+ "support": 295.0
40
+ },
41
+ "accuracy": 0.812,
42
+ "macro avg": {
43
+ "f1-score": 0.809598814807324,
44
+ "precision": 0.8120659702471688,
45
+ "recall": 0.8088839057043252,
46
+ "support": 1500.0
47
+ },
48
+ "weighted avg": {
49
+ "f1-score": 0.8129658609678403,
50
+ "precision": 0.8155705822436659,
51
+ "recall": 0.812,
52
+ "support": 1500.0
53
+ }
54
+ },
55
+ "cohen_kappa_scored": 0.7735384799881362,
56
+ "confusion_matrix": {
57
+ "columns": [
58
+ "Agricultural and Veterinary Sciences",
59
+ "Engineering and Technology",
60
+ "Humanities and the Arts",
61
+ "Medical and Health Sciences",
62
+ "Natural Sciences",
63
+ "Social Sciences"
64
+ ],
65
+ "matrix": [
66
+ [
67
+ 155,
68
+ 4,
69
+ 1,
70
+ 7,
71
+ 36,
72
+ 8
73
+ ],
74
+ [
75
+ 10,
76
+ 215,
77
+ 2,
78
+ 2,
79
+ 19,
80
+ 10
81
+ ],
82
+ [
83
+ 2,
84
+ 1,
85
+ 173,
86
+ 1,
87
+ 3,
88
+ 27
89
+ ],
90
+ [
91
+ 8,
92
+ 1,
93
+ 3,
94
+ 254,
95
+ 15,
96
+ 11
97
+ ],
98
+ [
99
+ 10,
100
+ 21,
101
+ 1,
102
+ 13,
103
+ 184,
104
+ 8
105
+ ],
106
+ [
107
+ 7,
108
+ 5,
109
+ 34,
110
+ 3,
111
+ 9,
112
+ 237
113
+ ]
114
+ ],
115
+ "rows": [
116
+ "Agricultural and Veterinary Sciences",
117
+ "Engineering and Technology",
118
+ "Humanities and the Arts",
119
+ "Medical and Health Sciences",
120
+ "Natural Sciences",
121
+ "Social Sciences"
122
+ ]
123
+ },
124
+ "coverage": 1.0,
125
+ "generated_at": "2026-07-19T18:05:53.939674+00:00",
126
+ "macro_f1_all_with_abstentions": 0.809598814807324,
127
+ "macro_f1_scored": 0.809598814807324,
128
+ "mean_max_probability": 0.7910507917404175,
129
+ "median_max_probability": 0.8443766236305237,
130
+ "n_abstained": 0,
131
+ "n_scored": 1500,
132
+ "n_target": 1500,
133
+ "proposal_disagreement_diagnostic": {
134
+ "checkpoint_abstains": 0,
135
+ "checkpoint_matches_neither": 57,
136
+ "checkpoint_matches_openalex": 144,
137
+ "checkpoint_matches_panel": 297,
138
+ "n_panel_openalex_disagree": 498,
139
+ "reference_status": "provisional_unadjudicated_codex_panel"
140
+ },
141
+ "provenance": {
142
+ "checkpoint_path": "/opt/bibr-training-oecd-run/oecd_minilm_ablation_20260719/checkpoints/oecd_minilm_deepseek_teacher_20260719",
143
+ "encoder_name": "sentence-transformers/all-MiniLM-L6-v2",
144
+ "inference_config_sha256": "44c7c38bbebf60b20eaa75ce173267ade9814e6acdd2f2a0084b2609f70814ca",
145
+ "input_template": "title_abstract_v1",
146
+ "label_maps_sha256": "053d9d54ed59e5c7a8fb3ed80d4a6826180dfa5e15c4bbc190922c886b77a870",
147
+ "max_length": 256,
148
+ "model_sha256": "7a46c595cf3bb8e1eff39303786e8b7d16c95ea87f9f06b12d4a753f0be1e580",
149
+ "rows_path": "/opt/bibr-training-oecd-run/oecd_minilm_ablation_20260719/data/oecd_phaseA_panel_20260719.parquet",
150
+ "rows_sha256": "3554e33eea4680848d99268ed0745fcdbcb95f9b88cf2019f67e327adad1cd28",
151
+ "runtime": {
152
+ "cuda_device": "NVIDIA GeForce RTX 3090",
153
+ "device": "cuda",
154
+ "python": "3.12.12",
155
+ "sklearn": "1.8.0",
156
+ "torch": "2.11.0+cu130",
157
+ "transformers": "5.4.0"
158
+ },
159
+ "source_hashes": {
160
+ "scripts/diagnose_paper_classifier.py": "943f7d1e84469c0e2d1817168b607e50ba12db2d94a95774820fa0f04407e39e",
161
+ "src/bibr_training/models/oecd_multitask.py": "8ffeb67be8cac60b288270ef6b6a737e888b3437a399cf4e76471cdc7bd057bb",
162
+ "src/bibr_training/paper_classifier/transformer_dataset.py": "1214996cd87cfedbfd26e9642c53add97095ebd173a64bbbf1348577df7c204e"
163
+ },
164
+ "source_root": "/home/jakub/pco"
165
+ },
166
+ "quality_claim_allowed": false,
167
+ "reference_status": "provisional_unadjudicated_codex_panel"
168
+ }
test_full_diagnostics.json DELETED
@@ -1,823 +0,0 @@
1
- {
2
- "checkpoint": "checkpoints/paper_classifier_oecd_multitask_specter2_pco3",
3
- "encoder": "allenai/specter2_base",
4
- "l1": {
5
- "classification_report": {
6
- "Agricultural and Veterinary Sciences": {
7
- "f1-score": 0.7533425541724297,
8
- "precision": 0.7264374629519857,
9
- "recall": 0.7823172677944462,
10
- "support": 3133.0
11
- },
12
- "Engineering and Technology": {
13
- "f1-score": 0.6882737515648908,
14
- "precision": 0.7024417944349801,
15
- "recall": 0.674665939460049,
16
- "support": 3667.0
17
- },
18
- "Humanities and the Arts": {
19
- "f1-score": 0.7535168195718654,
20
- "precision": 0.7668845315904139,
21
- "recall": 0.7406071535918245,
22
- "support": 3327.0
23
- },
24
- "Medical and Health Sciences": {
25
- "f1-score": 0.6884701978907454,
26
- "precision": 0.6187433439829606,
27
- "recall": 0.7759081196581197,
28
- "support": 3744.0
29
- },
30
- "Natural Sciences": {
31
- "f1-score": 0.556574047550845,
32
- "precision": 0.6472351765489673,
33
- "recall": 0.48819095477386937,
34
- "support": 3980.0
35
- },
36
- "Social Sciences": {
37
- "f1-score": 0.6421865715983363,
38
- "precision": 0.6387706855791963,
39
- "recall": 0.6456391875746714,
40
- "support": 4185.0
41
- },
42
- "accuracy": 0.6779361045561808,
43
- "macro avg": {
44
- "f1-score": 0.6803939903915187,
45
- "precision": 0.6834188325147507,
46
- "recall": 0.6845547704754967,
47
- "support": 22036.0
48
- },
49
- "weighted avg": {
50
- "f1-score": 0.6748693256589501,
51
- "precision": 0.6792990501864667,
52
- "recall": 0.6779361045561808,
53
- "support": 22036.0
54
- }
55
- },
56
- "confidence_curve": [
57
- {
58
- "accuracy": 0.6779361045561808,
59
- "coverage": 1.0,
60
- "macro_f1": 0.6803939903915187,
61
- "rows": 22036.0,
62
- "threshold": 0.0
63
- },
64
- {
65
- "accuracy": 0.6779361045561808,
66
- "coverage": 1.0,
67
- "macro_f1": 0.6803939903915187,
68
- "rows": 22036.0,
69
- "threshold": 0.05
70
- },
71
- {
72
- "accuracy": 0.6779361045561808,
73
- "coverage": 1.0,
74
- "macro_f1": 0.6803939903915187,
75
- "rows": 22036.0,
76
- "threshold": 0.1
77
- },
78
- {
79
- "accuracy": 0.6779361045561808,
80
- "coverage": 1.0,
81
- "macro_f1": 0.6803939903915187,
82
- "rows": 22036.0,
83
- "threshold": 0.15
84
- },
85
- {
86
- "accuracy": 0.6779361045561808,
87
- "coverage": 1.0,
88
- "macro_f1": 0.6803939903915187,
89
- "rows": 22036.0,
90
- "threshold": 0.2
91
- },
92
- {
93
- "accuracy": 0.6791010827040306,
94
- "coverage": 0.9975494645126157,
95
- "macro_f1": 0.6815535154674911,
96
- "rows": 21982.0,
97
- "threshold": 0.25
98
- },
99
- {
100
- "accuracy": 0.681435371658733,
101
- "coverage": 0.9914685060809584,
102
- "macro_f1": 0.6839155666533182,
103
- "rows": 21848.0,
104
- "threshold": 0.3
105
- },
106
- {
107
- "accuracy": 0.685217712859388,
108
- "coverage": 0.9817571247050282,
109
- "macro_f1": 0.6877510807032343,
110
- "rows": 21634.0,
111
- "threshold": 0.35
112
- },
113
- {
114
- "accuracy": 0.6901283131965908,
115
- "coverage": 0.9690506444000726,
116
- "macro_f1": 0.6925843707449589,
117
- "rows": 21354.0,
118
- "threshold": 0.4
119
- },
120
- {
121
- "accuracy": 0.6961428571428572,
122
- "coverage": 0.9529860228716646,
123
- "macro_f1": 0.6984668849345733,
124
- "rows": 21000.0,
125
- "threshold": 0.45
126
- },
127
- {
128
- "accuracy": 0.7038267924343874,
129
- "coverage": 0.9285260482846251,
130
- "macro_f1": 0.7059520053072347,
131
- "rows": 20461.0,
132
- "threshold": 0.5
133
- },
134
- {
135
- "accuracy": 0.717032967032967,
136
- "coverage": 0.8754764930114358,
137
- "macro_f1": 0.7187081937238283,
138
- "rows": 19292.0,
139
- "threshold": 0.55
140
- },
141
- {
142
- "accuracy": 0.7385120350109409,
143
- "coverage": 0.7880740606280632,
144
- "macro_f1": 0.7391379430143319,
145
- "rows": 17366.0,
146
- "threshold": 0.6
147
- },
148
- {
149
- "accuracy": 0.7534296913277805,
150
- "coverage": 0.7409693229261209,
151
- "macro_f1": 0.7531826505306123,
152
- "rows": 16328.0,
153
- "threshold": 0.65
154
- },
155
- {
156
- "accuracy": 0.7668644395717786,
157
- "coverage": 0.7036667271737157,
158
- "macro_f1": 0.7657749465622468,
159
- "rows": 15506.0,
160
- "threshold": 0.7
161
- },
162
- {
163
- "accuracy": 0.7807901907356948,
164
- "coverage": 0.666182610274097,
165
- "macro_f1": 0.7788190244613037,
166
- "rows": 14680.0,
167
- "threshold": 0.75
168
- },
169
- {
170
- "accuracy": 0.7947712418300653,
171
- "coverage": 0.6248865492829915,
172
- "macro_f1": 0.7920474767627096,
173
- "rows": 13770.0,
174
- "threshold": 0.8
175
- },
176
- {
177
- "accuracy": 0.8143037375808232,
178
- "coverage": 0.5755127972408786,
179
- "macro_f1": 0.8107728563245549,
180
- "rows": 12682.0,
181
- "threshold": 0.85
182
- },
183
- {
184
- "accuracy": 0.8324778761061947,
185
- "coverage": 0.5127972408785624,
186
- "macro_f1": 0.8278814771173524,
187
- "rows": 11300.0,
188
- "threshold": 0.9
189
- },
190
- {
191
- "accuracy": 0.8680169152014244,
192
- "coverage": 0.4077872572154656,
193
- "macro_f1": 0.86101771784818,
194
- "rows": 8986.0,
195
- "threshold": 0.95
196
- }
197
- ],
198
- "confusion_matrix": {
199
- "labels": [
200
- "Agricultural and Veterinary Sciences",
201
- "Engineering and Technology",
202
- "Humanities and the Arts",
203
- "Medical and Health Sciences",
204
- "Natural Sciences",
205
- "Social Sciences"
206
- ],
207
- "matrix": [
208
- [
209
- 2451,
210
- 111,
211
- 19,
212
- 252,
213
- 146,
214
- 154
215
- ],
216
- [
217
- 138,
218
- 2474,
219
- 30,
220
- 428,
221
- 385,
222
- 212
223
- ],
224
- [
225
- 47,
226
- 53,
227
- 2464,
228
- 108,
229
- 94,
230
- 561
231
- ],
232
- [
233
- 190,
234
- 148,
235
- 57,
236
- 2905,
237
- 178,
238
- 266
239
- ],
240
- [
241
- 363,
242
- 531,
243
- 121,
244
- 687,
245
- 1943,
246
- 335
247
- ],
248
- [
249
- 185,
250
- 205,
251
- 522,
252
- 315,
253
- 256,
254
- 2702
255
- ]
256
- ]
257
- }
258
- },
259
- "l2": {
260
- "classification_report": {
261
- "Agricultural Biotechnology": {
262
- "f1-score": 0.38461538461538464,
263
- "precision": 0.3125,
264
- "recall": 0.5,
265
- "support": 10.0
266
- },
267
- "Agriculture, Forestry, and Fisheries": {
268
- "f1-score": 0.7068877115023073,
269
- "precision": 0.639258114374034,
270
- "recall": 0.790519877675841,
271
- "support": 2616.0
272
- },
273
- "Animal and Dairy Science": {
274
- "f1-score": 0.6613924050632911,
275
- "precision": 0.7545126353790613,
276
- "recall": 0.5887323943661972,
277
- "support": 355.0
278
- },
279
- "Arts (arts, history of arts, performing arts, music)": {
280
- "f1-score": 0.3446054750402576,
281
- "precision": 0.4163424124513619,
282
- "recall": 0.29395604395604397,
283
- "support": 364.0
284
- },
285
- "Basic Medicine": {
286
- "f1-score": 0.18,
287
- "precision": 0.27586206896551724,
288
- "recall": 0.13358070500927643,
289
- "support": 539.0
290
- },
291
- "Biological Sciences": {
292
- "f1-score": 0.3302752293577982,
293
- "precision": 0.4722222222222222,
294
- "recall": 0.25394190871369293,
295
- "support": 1205.0
296
- },
297
- "Chemical Engineering": {
298
- "f1-score": 0.3176470588235294,
299
- "precision": 0.32238805970149254,
300
- "recall": 0.3130434782608696,
301
- "support": 345.0
302
- },
303
- "Chemical Sciences": {
304
- "f1-score": 0.2659846547314578,
305
- "precision": 0.3170731707317073,
306
- "recall": 0.2290748898678414,
307
- "support": 227.0
308
- },
309
- "Civil Engineering": {
310
- "f1-score": 0.4732510288065844,
311
- "precision": 0.4606141522029373,
312
- "recall": 0.48660084626234135,
313
- "support": 709.0
314
- },
315
- "Clinical Medicine": {
316
- "f1-score": 0.5436472076631123,
317
- "precision": 0.4372093023255814,
318
- "recall": 0.7185857620640229,
319
- "support": 2093.0
320
- },
321
- "Computer and Information Sciences": {
322
- "f1-score": 0.5597516813243663,
323
- "precision": 0.5810955961331902,
324
- "recall": 0.5399201596806387,
325
- "support": 1002.0
326
- },
327
- "Earth and Related Environmental Sciences": {
328
- "f1-score": 0.4582441113490364,
329
- "precision": 0.4908256880733945,
330
- "recall": 0.42971887550200805,
331
- "support": 747.0
332
- },
333
- "Economics and Business": {
334
- "f1-score": 0.5002578648788035,
335
- "precision": 0.5300546448087432,
336
- "recall": 0.4736328125,
337
- "support": 1024.0
338
- },
339
- "Education": {
340
- "f1-score": 0.45214770158251694,
341
- "precision": 0.40431266846361186,
342
- "recall": 0.5128205128205128,
343
- "support": 585.0
344
- },
345
- "Electrical Engineering, Electronic Engineering, Information Engineering": {
346
- "f1-score": 0.41893491124260357,
347
- "precision": 0.5071633237822349,
348
- "recall": 0.35685483870967744,
349
- "support": 496.0
350
- },
351
- "Environmental Biotechnology": {
352
- "f1-score": 0.2857142857142857,
353
- "precision": 0.3333333333333333,
354
- "recall": 0.25,
355
- "support": 12.0
356
- },
357
- "Environmental Engineering": {
358
- "f1-score": 0.3543307086614173,
359
- "precision": 0.3284671532846715,
360
- "recall": 0.38461538461538464,
361
- "support": 351.0
362
- },
363
- "Health Sciences": {
364
- "f1-score": 0.35502958579881655,
365
- "precision": 0.384204909284952,
366
- "recall": 0.32997250229147573,
367
- "support": 1091.0
368
- },
369
- "History and Archaeology": {
370
- "f1-score": 0.6276005547850209,
371
- "precision": 0.6956187548039969,
372
- "recall": 0.5716993051168667,
373
- "support": 1583.0
374
- },
375
- "Industrial Biotechnology": {
376
- "f1-score": 0.3157894736842105,
377
- "precision": 0.34285714285714286,
378
- "recall": 0.2926829268292683,
379
- "support": 41.0
380
- },
381
- "Languages and Literature": {
382
- "f1-score": 0.5564835164835165,
383
- "precision": 0.4964705882352941,
384
- "recall": 0.633,
385
- "support": 1000.0
386
- },
387
- "Law": {
388
- "f1-score": 0.4176334106728538,
389
- "precision": 0.3813559322033898,
390
- "recall": 0.46153846153846156,
391
- "support": 195.0
392
- },
393
- "Materials Engineering": {
394
- "f1-score": 0.3352941176470588,
395
- "precision": 0.4253731343283582,
396
- "recall": 0.2766990291262136,
397
- "support": 206.0
398
- },
399
- "Mathematics": {
400
- "f1-score": 0.578125,
401
- "precision": 0.6297872340425532,
402
- "recall": 0.5342960288808665,
403
- "support": 277.0
404
- },
405
- "Mechanical Engineering": {
406
- "f1-score": 0.48933601609657945,
407
- "precision": 0.5033112582781457,
408
- "recall": 0.47611589663273296,
409
- "support": 1277.0
410
- },
411
- "Media and Communications": {
412
- "f1-score": 0.2660098522167488,
413
- "precision": 0.20149253731343283,
414
- "recall": 0.391304347826087,
415
- "support": 69.0
416
- },
417
- "Medical Biotechnology": {
418
- "f1-score": 0.07142857142857142,
419
- "precision": 0.05714285714285714,
420
- "recall": 0.09523809523809523,
421
- "support": 21.0
422
- },
423
- "Medical Engineering": {
424
- "f1-score": 0.18235294117647058,
425
- "precision": 0.2605042016806723,
426
- "recall": 0.14027149321266968,
427
- "support": 221.0
428
- },
429
- "Nano-technology": {
430
- "f1-score": 0.0,
431
- "precision": 0.0,
432
- "recall": 0.0,
433
- "support": 9.0
434
- },
435
- "Philosophy, Ethics and Religion": {
436
- "f1-score": 0.3373493975903614,
437
- "precision": 0.34332425068119893,
438
- "recall": 0.33157894736842103,
439
- "support": 380.0
440
- },
441
- "Physical Sciences": {
442
- "f1-score": 0.5873465533522191,
443
- "precision": 0.5791433891992551,
444
- "recall": 0.5957854406130269,
445
- "support": 522.0
446
- },
447
- "Political Science": {
448
- "f1-score": 0.36220472440944884,
449
- "precision": 0.3492407809110629,
450
- "recall": 0.37616822429906543,
451
- "support": 428.0
452
- },
453
- "Psychology and Cognitive Sciences": {
454
- "f1-score": 0.36259977194982895,
455
- "precision": 0.4097938144329897,
456
- "recall": 0.32515337423312884,
457
- "support": 489.0
458
- },
459
- "Social and Economic Geography": {
460
- "f1-score": 0.15966386554621848,
461
- "precision": 0.15702479338842976,
462
- "recall": 0.1623931623931624,
463
- "support": 117.0
464
- },
465
- "Sociology": {
466
- "f1-score": 0.3387308533916849,
467
- "precision": 0.3843098311817279,
468
- "recall": 0.3028169014084507,
469
- "support": 1278.0
470
- },
471
- "Veterinary Science": {
472
- "f1-score": 0.46387832699619774,
473
- "precision": 0.5495495495495496,
474
- "recall": 0.40131578947368424,
475
- "support": 152.0
476
- },
477
- "accuracy": 0.4916954075149755,
478
- "macro avg": {
479
- "f1-score": 0.3901262209328489,
480
- "precision": 0.4092705418263362,
481
- "recall": 0.387600789346834,
482
- "support": 22036.0
483
- },
484
- "weighted avg": {
485
- "f1-score": 0.48113766501448607,
486
- "precision": 0.4898729984647697,
487
- "recall": 0.4916954075149755,
488
- "support": 22036.0
489
- }
490
- },
491
- "error_within_l1_share": 0.35943219355414696,
492
- "l1_via_l2_rollup_accuracy": 0.6743964421855146,
493
- "macro_f1": 0.3901262209328489,
494
- "micro_f1": 0.4916954075149755,
495
- "precision_coverage": [
496
- {
497
- "accuracy": 0.4916954075149755,
498
- "coverage": 1.0,
499
- "rows": 22036,
500
- "threshold": 0.0
501
- },
502
- {
503
- "accuracy": 0.4916954075149755,
504
- "coverage": 1.0,
505
- "rows": 22036,
506
- "threshold": 0.05
507
- },
508
- {
509
- "accuracy": 0.49169465371698284,
510
- "coverage": 0.9999092394263932,
511
- "rows": 22034,
512
- "threshold": 0.1
513
- },
514
- {
515
- "accuracy": 0.4940381013294349,
516
- "coverage": 0.9933290978398983,
517
- "rows": 21889,
518
- "threshold": 0.15
519
- },
520
- {
521
- "accuracy": 0.4992124525155193,
522
- "coverage": 0.9795788709384643,
523
- "rows": 21586,
524
- "threshold": 0.2
525
- },
526
- {
527
- "accuracy": 0.5059084893174514,
528
- "coverage": 0.9600653476129969,
529
- "rows": 21156,
530
- "threshold": 0.25
531
- },
532
- {
533
- "accuracy": 0.5221376417585832,
534
- "coverage": 0.8763387184607007,
535
- "rows": 19311,
536
- "threshold": 0.3
537
- },
538
- {
539
- "accuracy": 0.5418234930621875,
540
- "coverage": 0.8078144853875476,
541
- "rows": 17801,
542
- "threshold": 0.35
543
- },
544
- {
545
- "accuracy": 0.5582341329185859,
546
- "coverage": 0.7586222544926484,
547
- "rows": 16717,
548
- "threshold": 0.4
549
- },
550
- {
551
- "accuracy": 0.5756701295370014,
552
- "coverage": 0.7076601924124161,
553
- "rows": 15594,
554
- "threshold": 0.45
555
- },
556
- {
557
- "accuracy": 0.5957490999723069,
558
- "coverage": 0.6554728625884916,
559
- "rows": 14444,
560
- "threshold": 0.5
561
- },
562
- {
563
- "accuracy": 0.6180163922099406,
564
- "coverage": 0.6035124341985841,
565
- "rows": 13299,
566
- "threshold": 0.55
567
- },
568
- {
569
- "accuracy": 0.6385780118499013,
570
- "coverage": 0.5514612452350699,
571
- "rows": 12152,
572
- "threshold": 0.6
573
- },
574
- {
575
- "accuracy": 0.6585255948089401,
576
- "coverage": 0.5035396623706662,
577
- "rows": 11096,
578
- "threshold": 0.65
579
- },
580
- {
581
- "accuracy": 0.6845517103819687,
582
- "coverage": 0.45502813577781814,
583
- "rows": 10027,
584
- "threshold": 0.7
585
- },
586
- {
587
- "accuracy": 0.7090543708831082,
588
- "coverage": 0.4064712288981666,
589
- "rows": 8957,
590
- "threshold": 0.75
591
- },
592
- {
593
- "accuracy": 0.7361146335277707,
594
- "coverage": 0.35786894173171174,
595
- "rows": 7886,
596
- "threshold": 0.8
597
- },
598
- {
599
- "accuracy": 0.7661374091111441,
600
- "coverage": 0.3058177527681975,
601
- "rows": 6739,
602
- "threshold": 0.85
603
- },
604
- {
605
- "accuracy": 0.8052888969389603,
606
- "coverage": 0.25054456344164094,
607
- "rows": 5521,
608
- "threshold": 0.9
609
- },
610
- {
611
- "accuracy": 0.8496835443037974,
612
- "coverage": 0.17208204755854056,
613
- "rows": 3792,
614
- "threshold": 0.95
615
- }
616
- ],
617
- "rows": 22036,
618
- "top1_accuracy": 0.4916954075149755,
619
- "top2_accuracy": 0.654202214557996,
620
- "top3_accuracy": 0.7418769286621891
621
- },
622
- "paper_type": {
623
- "classification_report": {
624
- "accuracy": 0.9338009644892591,
625
- "case-study": {
626
- "f1-score": 0.9385474860335196,
627
- "precision": 0.9545454545454546,
628
- "recall": 0.9230769230769231,
629
- "support": 364.0
630
- },
631
- "commentary": {
632
- "f1-score": 0.9177215189873418,
633
- "precision": 0.9206349206349206,
634
- "recall": 0.9148264984227129,
635
- "support": 317.0
636
- },
637
- "corrigendum": {
638
- "f1-score": 0.0,
639
- "precision": 0.0,
640
- "recall": 0.0,
641
- "support": 0.0
642
- },
643
- "empirical": {
644
- "f1-score": 0.9021739130434783,
645
- "precision": 0.8829787234042553,
646
- "recall": 0.9222222222222223,
647
- "support": 270.0
648
- },
649
- "erratum": {
650
- "f1-score": 0.9809523809523809,
651
- "precision": 0.987220447284345,
652
- "recall": 0.9747634069400631,
653
- "support": 317.0
654
- },
655
- "macro avg": {
656
- "f1-score": 0.8185795854622895,
657
- "precision": 0.8173552652425309,
658
- "recall": 0.8202954373263103,
659
- "support": 2281.0
660
- },
661
- "meta-analysis": {
662
- "f1-score": 0.928695652173913,
663
- "precision": 0.898989898989899,
664
- "recall": 0.960431654676259,
665
- "support": 278.0
666
- },
667
- "retraction": {
668
- "f1-score": 0.9935064935064936,
669
- "precision": 0.9935064935064936,
670
- "recall": 0.9935064935064936,
671
- "support": 308.0
672
- },
673
- "review": {
674
- "f1-score": 0.8870392390011891,
675
- "precision": 0.9009661835748792,
676
- "recall": 0.8735362997658079,
677
- "support": 427.0
678
- },
679
- "weighted avg": {
680
- "f1-score": 0.9338189452330943,
681
- "precision": 0.9343624308240979,
682
- "recall": 0.9338009644892591,
683
- "support": 2281.0
684
- }
685
- },
686
- "learnable_classes": [
687
- "case-study",
688
- "commentary",
689
- "empirical",
690
- "erratum",
691
- "meta-analysis",
692
- "retraction",
693
- "review"
694
- ],
695
- "learnable_macro_f1": 0.9355195262426167,
696
- "macro_f1": 0.9355195262426167,
697
- "micro_f1": 0.9338009644892591,
698
- "precision_coverage": [
699
- {
700
- "accuracy": 0.9338009644892591,
701
- "coverage": 1.0,
702
- "rows": 2281,
703
- "threshold": 0.0
704
- },
705
- {
706
- "accuracy": 0.9338009644892591,
707
- "coverage": 1.0,
708
- "rows": 2281,
709
- "threshold": 0.05
710
- },
711
- {
712
- "accuracy": 0.9338009644892591,
713
- "coverage": 1.0,
714
- "rows": 2281,
715
- "threshold": 0.1
716
- },
717
- {
718
- "accuracy": 0.9338009644892591,
719
- "coverage": 1.0,
720
- "rows": 2281,
721
- "threshold": 0.15
722
- },
723
- {
724
- "accuracy": 0.9338009644892591,
725
- "coverage": 1.0,
726
- "rows": 2281,
727
- "threshold": 0.2
728
- },
729
- {
730
- "accuracy": 0.9338009644892591,
731
- "coverage": 1.0,
732
- "rows": 2281,
733
- "threshold": 0.25
734
- },
735
- {
736
- "accuracy": 0.9346204475647214,
737
- "coverage": 0.9991231915826392,
738
- "rows": 2279,
739
- "threshold": 0.3
740
- },
741
- {
742
- "accuracy": 0.9354413702239789,
743
- "coverage": 0.9982463831652784,
744
- "rows": 2277,
745
- "threshold": 0.35
746
- },
747
- {
748
- "accuracy": 0.9370044052863437,
749
- "coverage": 0.9951775537045155,
750
- "rows": 2270,
751
- "threshold": 0.4
752
- },
753
- {
754
- "accuracy": 0.9419583517944173,
755
- "coverage": 0.9894782989916703,
756
- "rows": 2257,
757
- "threshold": 0.45
758
- },
759
- {
760
- "accuracy": 0.9431363838294091,
761
- "coverage": 0.9868478737395879,
762
- "rows": 2251,
763
- "threshold": 0.5
764
- },
765
- {
766
- "accuracy": 0.944692239072257,
767
- "coverage": 0.9829022358614643,
768
- "rows": 2242,
769
- "threshold": 0.55
770
- },
771
- {
772
- "accuracy": 0.9466128308658591,
773
- "coverage": 0.977202981148619,
774
- "rows": 2229,
775
- "threshold": 0.6
776
- },
777
- {
778
- "accuracy": 0.9495040577096483,
779
- "coverage": 0.9723805348531346,
780
- "rows": 2218,
781
- "threshold": 0.65
782
- },
783
- {
784
- "accuracy": 0.9519492293744334,
785
- "coverage": 0.9671196843489698,
786
- "rows": 2206,
787
- "threshold": 0.7
788
- },
789
- {
790
- "accuracy": 0.9539443684450525,
791
- "coverage": 0.9614204296361245,
792
- "rows": 2193,
793
- "threshold": 0.75
794
- },
795
- {
796
- "accuracy": 0.9567617295308187,
797
- "coverage": 0.9530907496711969,
798
- "rows": 2174,
799
- "threshold": 0.8
800
- },
801
- {
802
- "accuracy": 0.9618249534450651,
803
- "coverage": 0.9416922402455064,
804
- "rows": 2148,
805
- "threshold": 0.85
806
- },
807
- {
808
- "accuracy": 0.9635933806146572,
809
- "coverage": 0.927224901359053,
810
- "rows": 2115,
811
- "threshold": 0.9
812
- },
813
- {
814
- "accuracy": 0.9766666666666667,
815
- "coverage": 0.789127575624726,
816
- "rows": 1800,
817
- "threshold": 0.95
818
- }
819
- ],
820
- "rows": 2281
821
- },
822
- "test_rows": 23813
823
- }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
test_l1_diagnostics.json CHANGED
@@ -1,96 +1,96 @@
1
  {
2
  "classification_report": {
3
  "Agricultural and Veterinary Sciences": {
4
- "f1-score": 0.7531869144524651,
5
- "precision": 0.7258732978093546,
6
- "recall": 0.7826364506862432,
7
- "support": 3133.0
8
  },
9
  "Engineering and Technology": {
10
- "f1-score": 0.688082325128633,
11
- "precision": 0.7020431328036323,
12
- "recall": 0.674665939460049,
13
- "support": 3667.0
14
  },
15
  "Humanities and the Arts": {
16
- "f1-score": 0.7535921736472027,
17
- "precision": 0.7667185069984448,
18
- "recall": 0.740907724676886,
19
- "support": 3327.0
20
  },
21
  "Medical and Health Sciences": {
22
- "f1-score": 0.6885440113730601,
23
- "precision": 0.6186927826272088,
24
- "recall": 0.7761752136752137,
25
- "support": 3744.0
26
  },
27
  "Natural Sciences": {
28
- "f1-score": 0.556907659269864,
29
- "precision": 0.6472545757071547,
30
- "recall": 0.4886934673366834,
31
- "support": 3980.0
32
  },
33
  "Social Sciences": {
34
- "f1-score": 0.6419900023803856,
35
- "precision": 0.6395541854398862,
36
- "recall": 0.6444444444444445,
37
- "support": 4185.0
38
  },
39
- "accuracy": 0.6779361045561808,
40
  "macro avg": {
41
- "f1-score": 0.6803838477086018,
42
- "precision": 0.683356080230947,
43
- "recall": 0.6845872067132533,
44
- "support": 22036.0
45
  },
46
  "weighted avg": {
47
- "f1-score": 0.6748621833993114,
48
- "precision": 0.6792711444158704,
49
- "recall": 0.6779361045561808,
50
- "support": 22036.0
51
  }
52
  },
53
  "confidence_curve": [
54
  {
55
- "accuracy": 0.6779361045561808,
56
  "coverage": 1.0,
57
- "macro_f1": 0.6803838477086018,
58
- "rows": 22036.0,
59
  "threshold": 0.0
60
  },
61
  {
62
- "accuracy": 0.7036005667106356,
63
- "coverage": 0.9288890905790524,
64
- "macro_f1": 0.7057025711643554,
65
- "rows": 20469.0,
66
  "threshold": 0.5
67
  },
68
  {
69
- "accuracy": 0.7666365746711374,
70
- "coverage": 0.7037574877473226,
71
- "macro_f1": 0.7655612090310461,
72
- "rows": 15508.0,
73
  "threshold": 0.7
74
  },
75
  {
76
- "accuracy": 0.7944121915820029,
77
- "coverage": 0.6253403521510256,
78
- "macro_f1": 0.7916989698694485,
79
- "rows": 13780.0,
80
  "threshold": 0.8
81
  },
82
  {
83
- "accuracy": 0.8325223392019818,
84
- "coverage": 0.5129333817389726,
85
- "macro_f1": 0.8279376195792615,
86
- "rows": 11303.0,
87
  "threshold": 0.9
88
  },
89
  {
90
- "accuracy": 0.8683214603739983,
91
- "coverage": 0.40769649664185875,
92
- "macro_f1": 0.8613750643193868,
93
- "rows": 8984.0,
94
  "threshold": 0.95
95
  }
96
  ],
@@ -105,52 +105,52 @@
105
  ],
106
  "matrix": [
107
  [
108
- 2452,
109
- 111,
110
- 19,
111
- 252,
112
- 145,
113
- 154
114
  ],
115
  [
116
- 138,
117
- 2474,
118
- 30,
119
- 430,
120
- 385,
121
- 210
122
  ],
123
  [
124
- 48,
125
- 53,
126
- 2465,
127
- 107,
128
- 95,
129
- 559
130
  ],
131
  [
132
- 189,
133
- 148,
134
- 57,
135
- 2906,
136
- 179,
137
- 265
138
  ],
139
  [
140
- 364,
141
- 531,
142
- 121,
143
- 687,
144
- 1945,
145
- 332
146
  ],
147
  [
148
- 187,
149
- 207,
150
- 523,
151
- 315,
152
- 256,
153
- 2697
154
  ]
155
  ]
156
  }
 
1
  {
2
  "classification_report": {
3
  "Agricultural and Veterinary Sciences": {
4
+ "f1-score": 0.7455357142857143,
5
+ "precision": 0.7636031092821216,
6
+ "recall": 0.7283035324901875,
7
+ "support": 2293.0
8
  },
9
  "Engineering and Technology": {
10
+ "f1-score": 0.804904214559387,
11
+ "precision": 0.8033037626185378,
12
+ "recall": 0.8065110565110565,
13
+ "support": 3256.0
14
  },
15
  "Humanities and the Arts": {
16
+ "f1-score": 0.7972758229284903,
17
+ "precision": 0.797819173103135,
18
+ "recall": 0.7967332123411979,
19
+ "support": 2204.0
20
  },
21
  "Medical and Health Sciences": {
22
+ "f1-score": 0.8291206296352354,
23
+ "precision": 0.8154212563262876,
24
+ "recall": 0.8432881773399015,
25
+ "support": 3248.0
26
  },
27
  "Natural Sciences": {
28
+ "f1-score": 0.6668681069647983,
29
+ "precision": 0.6720462850182704,
30
+ "recall": 0.6617691154422789,
31
+ "support": 3335.0
32
  },
33
  "Social Sciences": {
34
+ "f1-score": 0.7857319791924696,
35
+ "precision": 0.7822441430332923,
36
+ "recall": 0.7892510574769843,
37
+ "support": 4019.0
38
  },
39
+ "accuracy": 0.7719967311359303,
40
  "macro avg": {
41
+ "f1-score": 0.7715727445943492,
42
+ "precision": 0.7724062882302741,
43
+ "recall": 0.7709760252669344,
44
+ "support": 18355.0
45
  },
46
  "weighted avg": {
47
+ "f1-score": 0.7715784906213174,
48
+ "precision": 0.7713698855964962,
49
+ "recall": 0.7719967311359303,
50
+ "support": 18355.0
51
  }
52
  },
53
  "confidence_curve": [
54
  {
55
+ "accuracy": 0.7719967311359303,
56
  "coverage": 1.0,
57
+ "macro_f1": 0.7715727445943492,
58
+ "rows": 18355.0,
59
  "threshold": 0.0
60
  },
61
  {
62
+ "accuracy": 0.7976120456416892,
63
+ "coverage": 0.9262871152274584,
64
+ "macro_f1": 0.7967970019133345,
65
+ "rows": 17002.0,
66
  "threshold": 0.5
67
  },
68
  {
69
+ "accuracy": 0.8593491035106222,
70
+ "coverage": 0.7231816943612095,
71
+ "macro_f1": 0.8561099696894608,
72
+ "rows": 13274.0,
73
  "threshold": 0.7
74
  },
75
  {
76
+ "accuracy": 0.8935934177683277,
77
+ "coverage": 0.5893217107055299,
78
+ "macro_f1": 0.8880868103664564,
79
+ "rows": 10817.0,
80
  "threshold": 0.8
81
  },
82
  {
83
+ "accuracy": 0.9318342525809645,
84
+ "coverage": 0.38523563061836014,
85
+ "macro_f1": 0.9213157044536953,
86
+ "rows": 7071.0,
87
  "threshold": 0.9
88
  },
89
  {
90
+ "accuracy": 0.961308750973773,
91
+ "coverage": 0.2098065922092073,
92
+ "macro_f1": 0.9281730445872894,
93
+ "rows": 3851.0,
94
  "threshold": 0.95
95
  }
96
  ],
 
105
  ],
106
  "matrix": [
107
  [
108
+ 1670,
109
+ 53,
110
+ 12,
111
+ 143,
112
+ 307,
113
+ 108
114
  ],
115
  [
116
+ 80,
117
+ 2626,
118
+ 12,
119
+ 61,
120
+ 351,
121
+ 126
122
  ],
123
  [
124
+ 19,
125
+ 21,
126
+ 1756,
127
+ 46,
128
+ 47,
129
+ 315
130
  ],
131
  [
132
+ 98,
133
+ 54,
134
+ 30,
135
+ 2739,
136
+ 201,
137
+ 126
138
  ],
139
  [
140
+ 225,
141
+ 391,
142
+ 55,
143
+ 249,
144
+ 2207,
145
+ 208
146
  ],
147
  [
148
+ 95,
149
+ 124,
150
+ 336,
151
+ 121,
152
+ 171,
153
+ 3172
154
  ]
155
  ]
156
  }
test_metrics.json CHANGED
@@ -1,19 +1,19 @@
1
  {
2
- "epoch": 6.0,
3
- "test_combined_macro_f1": 0.6687502230338227,
4
- "test_l1_eval_rows": 22036.0,
5
- "test_l1_macro_f1": 0.6803838477086018,
6
- "test_l1_micro_f1": 0.6779361045561808,
7
- "test_l2_constrained_macro_f1": 0.38956763499809743,
8
- "test_l2_constrained_micro_f1": 0.48938101288800145,
9
- "test_l2_eval_rows": 22036.0,
10
- "test_l2_macro_f1": 0.39032050340786256,
11
- "test_l2_micro_f1": 0.49210383009620623,
12
- "test_loss": 2.819976806640625,
13
- "test_paper_type_eval_rows": 2281.0,
14
- "test_paper_type_macro_f1": 0.9355463179850035,
15
- "test_paper_type_micro_f1": 0.9338009644892591,
16
- "test_runtime": 94.0133,
17
- "test_samples_per_second": 253.294,
18
- "test_steps_per_second": 15.838
19
  }
 
1
  {
2
+ "epoch": 5.0,
3
+ "test_combined_macro_f1": 0.6698617929411549,
4
+ "test_l1_eval_rows": 18355.0,
5
+ "test_l1_macro_f1": 0.7715727445943492,
6
+ "test_l1_micro_f1": 0.7719967311359303,
7
+ "test_l2_constrained_macro_f1": 0.4661771349151901,
8
+ "test_l2_constrained_micro_f1": 0.5740845070422536,
9
+ "test_l2_eval_rows": 15975.0,
10
+ "test_l2_macro_f1": 0.4719512458194132,
11
+ "test_l2_micro_f1": 0.5799687010954616,
12
+ "test_loss": 2.2446630001068115,
13
+ "test_paper_type_eval_rows": 548.0,
14
+ "test_paper_type_macro_f1": 0.7660613884097018,
15
+ "test_paper_type_micro_f1": 0.8959854014598541,
16
+ "test_runtime": 55.1841,
17
+ "test_samples_per_second": 332.614,
18
+ "test_steps_per_second": 5.201
19
  }
tokenizer.json CHANGED
The diff for this file is too large to render. See raw diff
 
tokenizer_config.json CHANGED
@@ -5,12 +5,19 @@
5
  "do_lower_case": true,
6
  "is_local": false,
7
  "mask_token": "[MASK]",
8
- "model_max_length": 1000000000000000019884624838656,
 
9
  "never_split": null,
 
10
  "pad_token": "[PAD]",
 
 
11
  "sep_token": "[SEP]",
 
12
  "strip_accents": null,
13
  "tokenize_chinese_chars": true,
14
  "tokenizer_class": "BertTokenizer",
 
 
15
  "unk_token": "[UNK]"
16
  }
 
5
  "do_lower_case": true,
6
  "is_local": false,
7
  "mask_token": "[MASK]",
8
+ "max_length": 128,
9
+ "model_max_length": 512,
10
  "never_split": null,
11
+ "pad_to_multiple_of": null,
12
  "pad_token": "[PAD]",
13
+ "pad_token_type_id": 0,
14
+ "padding_side": "right",
15
  "sep_token": "[SEP]",
16
+ "stride": 0,
17
  "strip_accents": null,
18
  "tokenize_chinese_chars": true,
19
  "tokenizer_class": "BertTokenizer",
20
+ "truncation_side": "right",
21
+ "truncation_strategy": "longest_first",
22
  "unk_token": "[UNK]"
23
  }