nzindoc commited on
Commit
a7786df
·
1 Parent(s): c873595

Model save

Browse files
README.md CHANGED
@@ -1,3 +1,85 @@
1
  ---
2
- license: apache-2.0
 
 
 
 
 
 
 
 
 
 
3
  ---
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
  ---
2
+ license: mit
3
+ base_model: roberta-base
4
+ tags:
5
+ - generated_from_trainer
6
+ metrics:
7
+ - f1
8
+ - accuracy
9
+ - recall
10
+ model-index:
11
+ - name: study-dictionary-roberta-base
12
+ results: []
13
  ---
14
+
15
+ <!-- This model card has been generated automatically according to the information the Trainer had access to. You
16
+ should probably proofread and complete it, then remove this comment. -->
17
+
18
+ # study-dictionary-roberta-base
19
+
20
+ This model is a fine-tuned version of [roberta-base](https://huggingface.co/roberta-base) on an unknown dataset.
21
+ It achieves the following results on the evaluation set:
22
+ - Loss: 0.0011
23
+ - F1: 1.0
24
+ - Roc Auc: 1.0
25
+ - Accuracy: 1.0
26
+ - Recall: 1.0
27
+
28
+ ## Model description
29
+
30
+ More information needed
31
+
32
+ ## Intended uses & limitations
33
+
34
+ More information needed
35
+
36
+ ## Training and evaluation data
37
+
38
+ More information needed
39
+
40
+ ## Training procedure
41
+
42
+ ### Training hyperparameters
43
+
44
+ The following hyperparameters were used during training:
45
+ - learning_rate: 2e-05
46
+ - train_batch_size: 10
47
+ - eval_batch_size: 10
48
+ - seed: 42
49
+ - optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
50
+ - lr_scheduler_type: linear
51
+ - lr_scheduler_warmup_ratio: 0.1
52
+ - num_epochs: 20
53
+
54
+ ### Training results
55
+
56
+ | Training Loss | Epoch | Step | Validation Loss | F1 | Roc Auc | Accuracy | Recall |
57
+ |:-------------:|:-----:|:-----:|:---------------:|:------:|:-------:|:--------:|:------:|
58
+ | 0.3342 | 1.0 | 778 | 0.1192 | 0.0 | 0.5 | 0.0 | 0.0 |
59
+ | 0.1099 | 2.0 | 1556 | 0.1040 | 0.0 | 0.5 | 0.0 | 0.0 |
60
+ | 0.0892 | 3.0 | 2334 | 0.0465 | 0.6835 | 0.7644 | 0.5479 | 0.5293 |
61
+ | 0.0345 | 4.0 | 3112 | 0.0240 | 0.9147 | 0.9241 | 0.8817 | 0.8485 |
62
+ | 0.025 | 5.0 | 3890 | 0.0152 | 0.9594 | 0.9650 | 0.9493 | 0.9303 |
63
+ | 0.0144 | 6.0 | 4668 | 0.0114 | 0.9735 | 0.9811 | 0.9671 | 0.9625 |
64
+ | 0.0118 | 7.0 | 5446 | 0.0082 | 0.9779 | 0.9848 | 0.9717 | 0.9700 |
65
+ | 0.0081 | 8.0 | 6224 | 0.0057 | 0.9873 | 0.9887 | 0.9839 | 0.9774 |
66
+ | 0.0065 | 9.0 | 7002 | 0.0052 | 0.9839 | 0.9860 | 0.9848 | 0.9720 |
67
+ | 0.0054 | 10.0 | 7780 | 0.0039 | 0.9895 | 0.9904 | 0.9888 | 0.9809 |
68
+ | 0.0041 | 11.0 | 8558 | 0.0030 | 0.9942 | 0.9949 | 0.9925 | 0.9899 |
69
+ | 0.0036 | 12.0 | 9336 | 0.0026 | 0.9936 | 0.9940 | 0.9942 | 0.9881 |
70
+ | 0.0027 | 13.0 | 10114 | 0.0023 | 0.9956 | 0.9964 | 0.9958 | 0.9927 |
71
+ | 0.0023 | 14.0 | 10892 | 0.0018 | 0.9985 | 0.9986 | 0.9972 | 0.9972 |
72
+ | 0.0021 | 15.0 | 11670 | 0.0017 | 0.9985 | 0.9994 | 0.9974 | 0.9988 |
73
+ | 0.0018 | 16.0 | 12448 | 0.0015 | 0.9985 | 0.9992 | 0.9979 | 0.9985 |
74
+ | 0.0014 | 17.0 | 13226 | 0.0012 | 0.9997 | 0.9998 | 0.9994 | 0.9995 |
75
+ | 0.0013 | 18.0 | 14004 | 0.0011 | 1.0 | 1.0 | 1.0 | 1.0 |
76
+ | 0.0012 | 19.0 | 14782 | 0.0010 | 1.0 | 1.0 | 1.0 | 1.0 |
77
+ | 0.0012 | 20.0 | 15560 | 0.0010 | 1.0 | 1.0 | 1.0 | 1.0 |
78
+
79
+
80
+ ### Framework versions
81
+
82
+ - Transformers 4.33.2
83
+ - Pytorch 2.0.1+cu118
84
+ - Datasets 2.14.5
85
+ - Tokenizers 0.13.3
config.json ADDED
@@ -0,0 +1,122 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "_name_or_path": "roberta-base",
3
+ "architectures": [
4
+ "BertForSequenceClassification"
5
+ ],
6
+ "attention_probs_dropout_prob": 0.1,
7
+ "bos_token_id": 0,
8
+ "classifier_dropout": null,
9
+ "eos_token_id": 2,
10
+ "hidden_act": "gelu",
11
+ "hidden_dropout_prob": 0.1,
12
+ "hidden_size": 768,
13
+ "id2label": {
14
+ "0": "NCT02136134",
15
+ "1": "NCT04181827",
16
+ "2": "NCT03399799",
17
+ "3": "NCT04557098",
18
+ "4": "NCT02252172",
19
+ "5": "NCT03275285",
20
+ "6": "NCT04162210",
21
+ "7": "NCT01554852",
22
+ "8": "NCT01712789",
23
+ "9": "NCT02541383",
24
+ "10": "NCT00551928",
25
+ "11": "NCT02336815",
26
+ "12": "NCT03110562",
27
+ "13": "NCT03548207",
28
+ "14": "NCT02076009",
29
+ "15": "NCT02412878",
30
+ "16": "NCT03180736",
31
+ "17": "NCT03361748",
32
+ "18": "NCT03651128",
33
+ "19": "NCT01660633",
34
+ "20": "NCT03158688",
35
+ "21": "NCT01080391",
36
+ "22": "NCT03525678",
37
+ "23": "NCT02654132",
38
+ "24": "NCT02990338",
39
+ "25": "NCT01564537",
40
+ "26": "NCT05066646",
41
+ "27": "NCT01985126",
42
+ "28": "NCT01734928",
43
+ "29": "NCT01998971",
44
+ "30": "NCT02195479",
45
+ "31": "NCT03151811",
46
+ "32": "NCT01311687",
47
+ "33": "NCT02874742",
48
+ "34": "NCT05083169",
49
+ "35": "NCT01239797",
50
+ "36": "NCT01023308",
51
+ "37": "NCT02963493",
52
+ "38": "NCT00114101",
53
+ "39": "NCT03412565",
54
+ "40": "NCT00430365",
55
+ "41": "NCT03277105",
56
+ "42": "NCT00103662",
57
+ "43": "ISRCTN17354232",
58
+ "44": "NCT01568866"
59
+ },
60
+ "initializer_range": 0.02,
61
+ "intermediate_size": 3072,
62
+ "label2id": {
63
+ "ISRCTN17354232": 43,
64
+ "NCT00103662": 42,
65
+ "NCT00114101": 38,
66
+ "NCT00430365": 40,
67
+ "NCT00551928": 10,
68
+ "NCT01023308": 36,
69
+ "NCT01080391": 21,
70
+ "NCT01239797": 35,
71
+ "NCT01311687": 32,
72
+ "NCT01554852": 7,
73
+ "NCT01564537": 25,
74
+ "NCT01568866": 44,
75
+ "NCT01660633": 19,
76
+ "NCT01712789": 8,
77
+ "NCT01734928": 28,
78
+ "NCT01985126": 27,
79
+ "NCT01998971": 29,
80
+ "NCT02076009": 14,
81
+ "NCT02136134": 0,
82
+ "NCT02195479": 30,
83
+ "NCT02252172": 4,
84
+ "NCT02336815": 11,
85
+ "NCT02412878": 15,
86
+ "NCT02541383": 9,
87
+ "NCT02654132": 23,
88
+ "NCT02874742": 33,
89
+ "NCT02963493": 37,
90
+ "NCT02990338": 24,
91
+ "NCT03110562": 12,
92
+ "NCT03151811": 31,
93
+ "NCT03158688": 20,
94
+ "NCT03180736": 16,
95
+ "NCT03275285": 5,
96
+ "NCT03277105": 41,
97
+ "NCT03361748": 17,
98
+ "NCT03399799": 2,
99
+ "NCT03412565": 39,
100
+ "NCT03525678": 22,
101
+ "NCT03548207": 13,
102
+ "NCT03651128": 18,
103
+ "NCT04162210": 6,
104
+ "NCT04181827": 1,
105
+ "NCT04557098": 3,
106
+ "NCT05066646": 26,
107
+ "NCT05083169": 34
108
+ },
109
+ "layer_norm_eps": 1e-05,
110
+ "max_position_embeddings": 514,
111
+ "model_type": "bert",
112
+ "num_attention_heads": 12,
113
+ "num_hidden_layers": 12,
114
+ "pad_token_id": 1,
115
+ "position_embedding_type": "absolute",
116
+ "problem_type": "multi_label_classification",
117
+ "torch_dtype": "float32",
118
+ "transformers_version": "4.33.2",
119
+ "type_vocab_size": 1,
120
+ "use_cache": true,
121
+ "vocab_size": 50265
122
+ }
merges.txt ADDED
The diff for this file is too large to render. See raw diff
 
pytorch_model.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:3928fbbd9e0ec09587758292d8188fe3e1ea57057790ced14e93446deeb2d5e4
3
+ size 498789297
special_tokens_map.json ADDED
@@ -0,0 +1,15 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "bos_token": "<s>",
3
+ "cls_token": "<s>",
4
+ "eos_token": "</s>",
5
+ "mask_token": {
6
+ "content": "<mask>",
7
+ "lstrip": true,
8
+ "normalized": false,
9
+ "rstrip": false,
10
+ "single_word": false
11
+ },
12
+ "pad_token": "<pad>",
13
+ "sep_token": "</s>",
14
+ "unk_token": "<unk>"
15
+ }
tokenizer.json ADDED
The diff for this file is too large to render. See raw diff
 
tokenizer_config.json ADDED
@@ -0,0 +1,15 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "add_prefix_space": false,
3
+ "bos_token": "<s>",
4
+ "clean_up_tokenization_spaces": true,
5
+ "cls_token": "<s>",
6
+ "eos_token": "</s>",
7
+ "errors": "replace",
8
+ "mask_token": "<mask>",
9
+ "model_max_length": 512,
10
+ "pad_token": "<pad>",
11
+ "sep_token": "</s>",
12
+ "tokenizer_class": "RobertaTokenizer",
13
+ "trim_offsets": true,
14
+ "unk_token": "<unk>"
15
+ }
training_args.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:f040529a80aa19814879431b231153b18d44a3714ed291c0dacd8b6bb19d5295
3
+ size 4091
vocab.json ADDED
The diff for this file is too large to render. See raw diff