End of training
Browse files- README.md +75 -0
- config.json +149 -0
- merges.txt +0 -0
- model.safetensors +3 -0
- special_tokens_map.json +15 -0
- tokenizer.json +0 -0
- tokenizer_config.json +57 -0
- training_args.bin +3 -0
- vocab.json +0 -0
README.md
ADDED
@@ -0,0 +1,75 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
---
|
2 |
+
license: mit
|
3 |
+
base_model: FacebookAI/roberta-base
|
4 |
+
tags:
|
5 |
+
- generated_from_trainer
|
6 |
+
metrics:
|
7 |
+
- accuracy
|
8 |
+
- f1
|
9 |
+
- precision
|
10 |
+
- recall
|
11 |
+
model-index:
|
12 |
+
- name: uniBERT.RoBERTa.2
|
13 |
+
results: []
|
14 |
+
---
|
15 |
+
|
16 |
+
<!-- This model card has been generated automatically according to the information the Trainer had access to. You
|
17 |
+
should probably proofread and complete it, then remove this comment. -->
|
18 |
+
|
19 |
+
# uniBERT.RoBERTa.2
|
20 |
+
|
21 |
+
This model is a fine-tuned version of [FacebookAI/roberta-base](https://huggingface.co/FacebookAI/roberta-base) on an unknown dataset.
|
22 |
+
It achieves the following results on the evaluation set:
|
23 |
+
- Loss: 1.5630
|
24 |
+
- Accuracy: (0.5576407506702413,)
|
25 |
+
- F1: (0.5567150966762268,)
|
26 |
+
- Precision: (0.5821362469913879,)
|
27 |
+
- Recall: 0.5576
|
28 |
+
|
29 |
+
## Model description
|
30 |
+
|
31 |
+
More information needed
|
32 |
+
|
33 |
+
## Intended uses & limitations
|
34 |
+
|
35 |
+
More information needed
|
36 |
+
|
37 |
+
## Training and evaluation data
|
38 |
+
|
39 |
+
More information needed
|
40 |
+
|
41 |
+
## Training procedure
|
42 |
+
|
43 |
+
### Training hyperparameters
|
44 |
+
|
45 |
+
The following hyperparameters were used during training:
|
46 |
+
- learning_rate: 2e-05
|
47 |
+
- train_batch_size: 16
|
48 |
+
- eval_batch_size: 64
|
49 |
+
- seed: 42
|
50 |
+
- optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
|
51 |
+
- lr_scheduler_type: linear
|
52 |
+
- num_epochs: 10
|
53 |
+
|
54 |
+
### Training results
|
55 |
+
|
56 |
+
| Training Loss | Epoch | Step | Validation Loss | Accuracy | F1 | Precision | Recall |
|
57 |
+
|:-------------:|:-----:|:----:|:---------------:|:----------------------:|:----------------------:|:----------------------:|:------:|
|
58 |
+
| 3.2109 | 1.0 | 187 | 2.8161 | (0.14075067024128687,) | (0.11441602156126289,) | (0.14931859559553662,) | 0.1408 |
|
59 |
+
| 2.379 | 2.0 | 374 | 2.1989 | (0.29624664879356566,) | (0.29511135501125035,) | (0.46510470134694354,) | 0.2962 |
|
60 |
+
| 1.8982 | 3.0 | 561 | 1.8944 | (0.39812332439678283,) | (0.3899880572417641,) | (0.5315801863934072,) | 0.3981 |
|
61 |
+
| 1.5421 | 4.0 | 748 | 1.7216 | (0.435656836461126,) | (0.43699437984272427,) | (0.5225927530578255,) | 0.4357 |
|
62 |
+
| 1.2096 | 5.0 | 935 | 1.6234 | (0.4906166219839142,) | (0.4898871795571693,) | (0.5614942106807528,) | 0.4906 |
|
63 |
+
| 1.0077 | 6.0 | 1122 | 1.5807 | (0.5201072386058981,) | (0.5180183790949172,) | (0.5564502396694377,) | 0.5201 |
|
64 |
+
| 0.9205 | 7.0 | 1309 | 1.5927 | (0.5308310991957105,) | (0.5275104307804458,) | (0.5702694562019299,) | 0.5308 |
|
65 |
+
| 0.7537 | 8.0 | 1496 | 1.5717 | (0.532171581769437,) | (0.5297487624770745,) | (0.5623053308004577,) | 0.5322 |
|
66 |
+
| 0.6635 | 9.0 | 1683 | 1.5720 | (0.5495978552278821,) | (0.5497874364324945,) | (0.579798743930685,) | 0.5496 |
|
67 |
+
| 0.6479 | 10.0 | 1870 | 1.5630 | (0.5576407506702413,) | (0.5567150966762268,) | (0.5821362469913879,) | 0.5576 |
|
68 |
+
|
69 |
+
|
70 |
+
### Framework versions
|
71 |
+
|
72 |
+
- Transformers 4.39.3
|
73 |
+
- Pytorch 2.2.1+cu121
|
74 |
+
- Datasets 2.18.0
|
75 |
+
- Tokenizers 0.15.2
|
config.json
ADDED
@@ -0,0 +1,149 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"_name_or_path": "FacebookAI/roberta-base",
|
3 |
+
"architectures": [
|
4 |
+
"RobertaForTokenClassification"
|
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": "O",
|
15 |
+
"1": "B-1",
|
16 |
+
"2": "I-1",
|
17 |
+
"3": "B-2",
|
18 |
+
"4": "I-2",
|
19 |
+
"5": "B-3",
|
20 |
+
"6": "I-3",
|
21 |
+
"7": "B-4",
|
22 |
+
"8": "I-4",
|
23 |
+
"9": "B-5",
|
24 |
+
"10": "I-5",
|
25 |
+
"11": "B-6",
|
26 |
+
"12": "I-6",
|
27 |
+
"13": "B-7",
|
28 |
+
"14": "I-7",
|
29 |
+
"15": "B-8",
|
30 |
+
"16": "I-8",
|
31 |
+
"17": "B-9",
|
32 |
+
"18": "I-9",
|
33 |
+
"19": "B-10",
|
34 |
+
"20": "I-10",
|
35 |
+
"21": "B-11",
|
36 |
+
"22": "I-11",
|
37 |
+
"23": "B-12",
|
38 |
+
"24": "I-12",
|
39 |
+
"25": "B-13",
|
40 |
+
"26": "I-13",
|
41 |
+
"27": "B-14",
|
42 |
+
"28": "I-14",
|
43 |
+
"29": "B-15",
|
44 |
+
"30": "I-15",
|
45 |
+
"31": "B-16",
|
46 |
+
"32": "I-16",
|
47 |
+
"33": "B-17",
|
48 |
+
"34": "I-17",
|
49 |
+
"35": "B-18",
|
50 |
+
"36": "I-18",
|
51 |
+
"37": "B-19",
|
52 |
+
"38": "I-19",
|
53 |
+
"39": "B-20",
|
54 |
+
"40": "I-20",
|
55 |
+
"41": "B-21",
|
56 |
+
"42": "I-21",
|
57 |
+
"43": "B-22",
|
58 |
+
"44": "I-22",
|
59 |
+
"45": "B-23",
|
60 |
+
"46": "I-23",
|
61 |
+
"47": "B-24",
|
62 |
+
"48": "I-24",
|
63 |
+
"49": "B-25",
|
64 |
+
"50": "I-25",
|
65 |
+
"51": "B-26",
|
66 |
+
"52": "I-26",
|
67 |
+
"53": "B-27",
|
68 |
+
"54": "I-27",
|
69 |
+
"55": "B-28",
|
70 |
+
"56": "I-28",
|
71 |
+
"57": "B-29",
|
72 |
+
"58": "I-29"
|
73 |
+
},
|
74 |
+
"initializer_range": 0.02,
|
75 |
+
"intermediate_size": 3072,
|
76 |
+
"label2id": {
|
77 |
+
"B-1": 1,
|
78 |
+
"B-10": 19,
|
79 |
+
"B-11": 21,
|
80 |
+
"B-12": 23,
|
81 |
+
"B-13": 25,
|
82 |
+
"B-14": 27,
|
83 |
+
"B-15": 29,
|
84 |
+
"B-16": 31,
|
85 |
+
"B-17": 33,
|
86 |
+
"B-18": 35,
|
87 |
+
"B-19": 37,
|
88 |
+
"B-2": 3,
|
89 |
+
"B-20": 39,
|
90 |
+
"B-21": 41,
|
91 |
+
"B-22": 43,
|
92 |
+
"B-23": 45,
|
93 |
+
"B-24": 47,
|
94 |
+
"B-25": 49,
|
95 |
+
"B-26": 51,
|
96 |
+
"B-27": 53,
|
97 |
+
"B-28": 55,
|
98 |
+
"B-29": 57,
|
99 |
+
"B-3": 5,
|
100 |
+
"B-4": 7,
|
101 |
+
"B-5": 9,
|
102 |
+
"B-6": 11,
|
103 |
+
"B-7": 13,
|
104 |
+
"B-8": 15,
|
105 |
+
"B-9": 17,
|
106 |
+
"I-1": 2,
|
107 |
+
"I-10": 20,
|
108 |
+
"I-11": 22,
|
109 |
+
"I-12": 24,
|
110 |
+
"I-13": 26,
|
111 |
+
"I-14": 28,
|
112 |
+
"I-15": 30,
|
113 |
+
"I-16": 32,
|
114 |
+
"I-17": 34,
|
115 |
+
"I-18": 36,
|
116 |
+
"I-19": 38,
|
117 |
+
"I-2": 4,
|
118 |
+
"I-20": 40,
|
119 |
+
"I-21": 42,
|
120 |
+
"I-22": 44,
|
121 |
+
"I-23": 46,
|
122 |
+
"I-24": 48,
|
123 |
+
"I-25": 50,
|
124 |
+
"I-26": 52,
|
125 |
+
"I-27": 54,
|
126 |
+
"I-28": 56,
|
127 |
+
"I-29": 58,
|
128 |
+
"I-3": 6,
|
129 |
+
"I-4": 8,
|
130 |
+
"I-5": 10,
|
131 |
+
"I-6": 12,
|
132 |
+
"I-7": 14,
|
133 |
+
"I-8": 16,
|
134 |
+
"I-9": 18,
|
135 |
+
"O": 0
|
136 |
+
},
|
137 |
+
"layer_norm_eps": 1e-05,
|
138 |
+
"max_position_embeddings": 514,
|
139 |
+
"model_type": "roberta",
|
140 |
+
"num_attention_heads": 12,
|
141 |
+
"num_hidden_layers": 12,
|
142 |
+
"pad_token_id": 1,
|
143 |
+
"position_embedding_type": "absolute",
|
144 |
+
"torch_dtype": "float32",
|
145 |
+
"transformers_version": "4.39.3",
|
146 |
+
"type_vocab_size": 1,
|
147 |
+
"use_cache": true,
|
148 |
+
"vocab_size": 50265
|
149 |
+
}
|
merges.txt
ADDED
The diff for this file is too large to render.
See raw diff
|
|
model.safetensors
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:44e7f66ff2b1522a842ce3908fc685e9072df26e37008e226d1e1a7f2b72ed83
|
3 |
+
size 496425580
|
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,57 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"add_prefix_space": true,
|
3 |
+
"added_tokens_decoder": {
|
4 |
+
"0": {
|
5 |
+
"content": "<s>",
|
6 |
+
"lstrip": false,
|
7 |
+
"normalized": true,
|
8 |
+
"rstrip": false,
|
9 |
+
"single_word": false,
|
10 |
+
"special": true
|
11 |
+
},
|
12 |
+
"1": {
|
13 |
+
"content": "<pad>",
|
14 |
+
"lstrip": false,
|
15 |
+
"normalized": true,
|
16 |
+
"rstrip": false,
|
17 |
+
"single_word": false,
|
18 |
+
"special": true
|
19 |
+
},
|
20 |
+
"2": {
|
21 |
+
"content": "</s>",
|
22 |
+
"lstrip": false,
|
23 |
+
"normalized": true,
|
24 |
+
"rstrip": false,
|
25 |
+
"single_word": false,
|
26 |
+
"special": true
|
27 |
+
},
|
28 |
+
"3": {
|
29 |
+
"content": "<unk>",
|
30 |
+
"lstrip": false,
|
31 |
+
"normalized": true,
|
32 |
+
"rstrip": false,
|
33 |
+
"single_word": false,
|
34 |
+
"special": true
|
35 |
+
},
|
36 |
+
"50264": {
|
37 |
+
"content": "<mask>",
|
38 |
+
"lstrip": true,
|
39 |
+
"normalized": false,
|
40 |
+
"rstrip": false,
|
41 |
+
"single_word": false,
|
42 |
+
"special": true
|
43 |
+
}
|
44 |
+
},
|
45 |
+
"bos_token": "<s>",
|
46 |
+
"clean_up_tokenization_spaces": true,
|
47 |
+
"cls_token": "<s>",
|
48 |
+
"eos_token": "</s>",
|
49 |
+
"errors": "replace",
|
50 |
+
"mask_token": "<mask>",
|
51 |
+
"model_max_length": 512,
|
52 |
+
"pad_token": "<pad>",
|
53 |
+
"sep_token": "</s>",
|
54 |
+
"tokenizer_class": "RobertaTokenizer",
|
55 |
+
"trim_offsets": true,
|
56 |
+
"unk_token": "<unk>"
|
57 |
+
}
|
training_args.bin
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:2f99e07be9868f1f93aa9df5a9e6f4d90f56f520beee5ec7cdfd05a65b623d65
|
3 |
+
size 4856
|
vocab.json
ADDED
The diff for this file is too large to render.
See raw diff
|
|