section classifier from section_v4_release
Browse files- classification_report.json +111 -0
- gate.json +46 -0
- inference_config.json +1 -0
- label_classes.json +1 -0
- model.safetensors +3 -0
- test_metrics.json +27 -0
- tokenizer.json +0 -0
- tokenizer_config.json +23 -0
classification_report.json
ADDED
|
@@ -0,0 +1,111 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"abstract": {
|
| 3 |
+
"f1-score": 1.0,
|
| 4 |
+
"precision": 1.0,
|
| 5 |
+
"recall": 1.0,
|
| 6 |
+
"support": 388.0
|
| 7 |
+
},
|
| 8 |
+
"accuracy": 0.9930157593123209,
|
| 9 |
+
"acknowledgment": {
|
| 10 |
+
"f1-score": 0.9958847736625515,
|
| 11 |
+
"precision": 1.0,
|
| 12 |
+
"recall": 0.9918032786885246,
|
| 13 |
+
"support": 244.0
|
| 14 |
+
},
|
| 15 |
+
"author_contributions": {
|
| 16 |
+
"f1-score": 0.9710144927536232,
|
| 17 |
+
"precision": 0.9710144927536232,
|
| 18 |
+
"recall": 0.9710144927536232,
|
| 19 |
+
"support": 69.0
|
| 20 |
+
},
|
| 21 |
+
"coi": {
|
| 22 |
+
"f1-score": 0.971830985915493,
|
| 23 |
+
"precision": 0.9857142857142858,
|
| 24 |
+
"recall": 0.9583333333333334,
|
| 25 |
+
"support": 72.0
|
| 26 |
+
},
|
| 27 |
+
"discussion": {
|
| 28 |
+
"f1-score": 0.9896519285042333,
|
| 29 |
+
"precision": 0.9868667917448405,
|
| 30 |
+
"recall": 0.9924528301886792,
|
| 31 |
+
"support": 530.0
|
| 32 |
+
},
|
| 33 |
+
"endnote": {
|
| 34 |
+
"f1-score": 0.9929446713702191,
|
| 35 |
+
"precision": 0.9896373056994818,
|
| 36 |
+
"recall": 0.996274217585693,
|
| 37 |
+
"support": 1342.0
|
| 38 |
+
},
|
| 39 |
+
"ethics": {
|
| 40 |
+
"f1-score": 0.9808917197452229,
|
| 41 |
+
"precision": 1.0,
|
| 42 |
+
"recall": 0.9625,
|
| 43 |
+
"support": 160.0
|
| 44 |
+
},
|
| 45 |
+
"funding": {
|
| 46 |
+
"f1-score": 0.9964664310954063,
|
| 47 |
+
"precision": 0.9964664310954063,
|
| 48 |
+
"recall": 0.9964664310954063,
|
| 49 |
+
"support": 283.0
|
| 50 |
+
},
|
| 51 |
+
"intro": {
|
| 52 |
+
"f1-score": 0.9984917043740573,
|
| 53 |
+
"precision": 0.9969879518072289,
|
| 54 |
+
"recall": 1.0,
|
| 55 |
+
"support": 331.0
|
| 56 |
+
},
|
| 57 |
+
"keywords": {
|
| 58 |
+
"f1-score": 1.0,
|
| 59 |
+
"precision": 1.0,
|
| 60 |
+
"recall": 1.0,
|
| 61 |
+
"support": 286.0
|
| 62 |
+
},
|
| 63 |
+
"macro avg": {
|
| 64 |
+
"f1-score": 0.9896559151772297,
|
| 65 |
+
"precision": 0.990745651057533,
|
| 66 |
+
"recall": 0.9886625840013419,
|
| 67 |
+
"support": 5584.0
|
| 68 |
+
},
|
| 69 |
+
"method": {
|
| 70 |
+
"f1-score": 0.9873417721518988,
|
| 71 |
+
"precision": 0.9811320754716981,
|
| 72 |
+
"recall": 0.9936305732484076,
|
| 73 |
+
"support": 157.0
|
| 74 |
+
},
|
| 75 |
+
"open_data": {
|
| 76 |
+
"f1-score": 0.9726027397260274,
|
| 77 |
+
"precision": 0.9726027397260274,
|
| 78 |
+
"recall": 0.9726027397260274,
|
| 79 |
+
"support": 73.0
|
| 80 |
+
},
|
| 81 |
+
"references": {
|
| 82 |
+
"f1-score": 1.0,
|
| 83 |
+
"precision": 1.0,
|
| 84 |
+
"recall": 1.0,
|
| 85 |
+
"support": 345.0
|
| 86 |
+
},
|
| 87 |
+
"results": {
|
| 88 |
+
"f1-score": 0.9895470383275261,
|
| 89 |
+
"precision": 0.9793103448275862,
|
| 90 |
+
"recall": 1.0,
|
| 91 |
+
"support": 142.0
|
| 92 |
+
},
|
| 93 |
+
"title": {
|
| 94 |
+
"f1-score": 0.998661311914324,
|
| 95 |
+
"precision": 0.9973262032085561,
|
| 96 |
+
"recall": 1.0,
|
| 97 |
+
"support": 373.0
|
| 98 |
+
},
|
| 99 |
+
"unknown": {
|
| 100 |
+
"f1-score": 0.9891650732950924,
|
| 101 |
+
"precision": 0.9948717948717949,
|
| 102 |
+
"recall": 0.9835234474017744,
|
| 103 |
+
"support": 789.0
|
| 104 |
+
},
|
| 105 |
+
"weighted avg": {
|
| 106 |
+
"f1-score": 0.9930047754292499,
|
| 107 |
+
"precision": 0.9930450267296388,
|
| 108 |
+
"recall": 0.9930157593123209,
|
| 109 |
+
"support": 5584.0
|
| 110 |
+
}
|
| 111 |
+
}
|
gate.json
ADDED
|
@@ -0,0 +1,46 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"checkpoint": "/tmp/bibr-training-phasec-830a047/checkpoints/section_v4_release",
|
| 3 |
+
"config": "configs/section_classifier_v4.yaml",
|
| 4 |
+
"corpus": "/tmp/bibr-training-phasec-830a047/section_v4",
|
| 5 |
+
"corpus_papers": 2482,
|
| 6 |
+
"corpus_rows": 36517,
|
| 7 |
+
"delta": 0.09518694180243625,
|
| 8 |
+
"label_classes": [
|
| 9 |
+
"abstract",
|
| 10 |
+
"acknowledgment",
|
| 11 |
+
"author_contributions",
|
| 12 |
+
"coi",
|
| 13 |
+
"discussion",
|
| 14 |
+
"endnote",
|
| 15 |
+
"ethics",
|
| 16 |
+
"funding",
|
| 17 |
+
"intro",
|
| 18 |
+
"keywords",
|
| 19 |
+
"method",
|
| 20 |
+
"open_data",
|
| 21 |
+
"references",
|
| 22 |
+
"results",
|
| 23 |
+
"title",
|
| 24 |
+
"unknown"
|
| 25 |
+
],
|
| 26 |
+
"metric": "test_type_macro_f1",
|
| 27 |
+
"observed": 0.9896559151772297,
|
| 28 |
+
"pass": true,
|
| 29 |
+
"reason": "pass",
|
| 30 |
+
"split_summary": {
|
| 31 |
+
"test": {
|
| 32 |
+
"papers": 373,
|
| 33 |
+
"rows": 5584
|
| 34 |
+
},
|
| 35 |
+
"train": {
|
| 36 |
+
"papers": 1860,
|
| 37 |
+
"rows": 27294
|
| 38 |
+
},
|
| 39 |
+
"val": {
|
| 40 |
+
"papers": 249,
|
| 41 |
+
"rows": 3639
|
| 42 |
+
}
|
| 43 |
+
},
|
| 44 |
+
"threshold": 0.8944689733747935,
|
| 45 |
+
"v3_reference_type_macro_f1": 0.8944689733747935
|
| 46 |
+
}
|
inference_config.json
ADDED
|
@@ -0,0 +1 @@
|
|
|
|
|
|
|
| 1 |
+
{"template_version": 3}
|
label_classes.json
ADDED
|
@@ -0,0 +1 @@
|
|
|
|
|
|
|
| 1 |
+
["abstract", "acknowledgment", "author_contributions", "coi", "discussion", "endnote", "ethics", "funding", "intro", "keywords", "method", "open_data", "references", "results", "title", "unknown"]
|
model.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:8827d8ead8603bdff650774f07edbb6d77e56fb8c2486de9fdc59d6ce5b1aea3
|
| 3 |
+
size 90891540
|
test_metrics.json
ADDED
|
@@ -0,0 +1,27 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"checkpoint": "/tmp/bibr-training-phasec-830a047/checkpoints/section_v4_release",
|
| 3 |
+
"config": "configs/section_classifier_v4.yaml",
|
| 4 |
+
"corpus": "/tmp/bibr-training-phasec-830a047/section_v4",
|
| 5 |
+
"corpus_papers": 2482,
|
| 6 |
+
"corpus_rows": 36517,
|
| 7 |
+
"n_test": 5584,
|
| 8 |
+
"n_test_papers": 373,
|
| 9 |
+
"split_summary": {
|
| 10 |
+
"test": {
|
| 11 |
+
"papers": 373,
|
| 12 |
+
"rows": 5584
|
| 13 |
+
},
|
| 14 |
+
"train": {
|
| 15 |
+
"papers": 1860,
|
| 16 |
+
"rows": 27294
|
| 17 |
+
},
|
| 18 |
+
"val": {
|
| 19 |
+
"papers": 249,
|
| 20 |
+
"rows": 3639
|
| 21 |
+
}
|
| 22 |
+
},
|
| 23 |
+
"template_version": 3,
|
| 24 |
+
"test_top_level_f1": 0.988171459576777,
|
| 25 |
+
"test_type_macro_f1": 0.9896559151772297,
|
| 26 |
+
"test_type_micro_f1": 0.9930157593123209
|
| 27 |
+
}
|
tokenizer.json
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
tokenizer_config.json
ADDED
|
@@ -0,0 +1,23 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"backend": "tokenizers",
|
| 3 |
+
"cls_token": "[CLS]",
|
| 4 |
+
"do_basic_tokenize": true,
|
| 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 |
+
}
|