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.1
|
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.1
|
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.5672
|
24 |
+
- Accuracy: (0.5442359249329759,)
|
25 |
+
- F1: (0.5475073377350592,)
|
26 |
+
- Precision: (0.5667013774255618,)
|
27 |
+
- Recall: 0.5442
|
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.2351 | 1.0 | 163 | 2.9595 | (0.13136729222520108,) | (0.08462626197008986,) | (0.15744495937224648,) | 0.1314 |
|
59 |
+
| 2.6973 | 2.0 | 326 | 2.3531 | (0.2770330652368186,) | (0.24847446131015896,) | (0.3687711586389575,) | 0.2770 |
|
60 |
+
| 2.149 | 3.0 | 489 | 1.9958 | (0.37980339588918677,) | (0.375810644629823,) | (0.46219745175706833,) | 0.3798 |
|
61 |
+
| 1.7 | 4.0 | 652 | 1.8677 | (0.40303842716711347,) | (0.40227689144186507,) | (0.4955990588890976,) | 0.4030 |
|
62 |
+
| 1.4386 | 5.0 | 815 | 1.7207 | (0.4709562109025916,) | (0.47394753337956536,) | (0.5204593065553081,) | 0.4710 |
|
63 |
+
| 1.1631 | 6.0 | 978 | 1.6443 | (0.49955317247542447,) | (0.5021533796342853,) | (0.532760172396733,) | 0.4996 |
|
64 |
+
| 1.0801 | 7.0 | 1141 | 1.6049 | (0.5192135835567471,) | (0.5209002930812098,) | (0.5501889941115035,) | 0.5192 |
|
65 |
+
| 0.9166 | 8.0 | 1304 | 1.5975 | (0.5299374441465594,) | (0.5346686129926844,) | (0.5631677420777581,) | 0.5299 |
|
66 |
+
| 0.7877 | 9.0 | 1467 | 1.5711 | (0.5397676496872207,) | (0.5438919405653636,) | (0.5628843016520076,) | 0.5398 |
|
67 |
+
| 0.8112 | 10.0 | 1630 | 1.5672 | (0.5442359249329759,) | (0.5475073377350592,) | (0.5667013774255618,) | 0.5442 |
|
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:03966fed43d197552c5a4e02474dc4a430190ecb11761ccd6d2d65d1328bb44b
|
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:939c34f164a63778e995bf3c76e3a90f275e226f9a9eac88d6f21d9e694c4b49
|
3 |
+
size 4856
|
vocab.json
ADDED
The diff for this file is too large to render.
See raw diff
|
|