End of training
Browse files- README.md +65 -0
- config.json +119 -0
- model.safetensors +3 -0
- special_tokens_map.json +7 -0
- tokenizer.json +0 -0
- tokenizer_config.json +55 -0
- training_args.bin +3 -0
- vocab.txt +0 -0
README.md
ADDED
@@ -0,0 +1,65 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
---
|
2 |
+
license: apache-2.0
|
3 |
+
base_model: google-bert/bert-large-uncased
|
4 |
+
tags:
|
5 |
+
- generated_from_trainer
|
6 |
+
model-index:
|
7 |
+
- name: checkpoint
|
8 |
+
results: []
|
9 |
+
---
|
10 |
+
|
11 |
+
<!-- This model card has been generated automatically according to the information the Trainer had access to. You
|
12 |
+
should probably proofread and complete it, then remove this comment. -->
|
13 |
+
|
14 |
+
# checkpoint
|
15 |
+
|
16 |
+
This model is a fine-tuned version of [google-bert/bert-large-uncased](https://huggingface.co/google-bert/bert-large-uncased) on an unknown dataset.
|
17 |
+
It achieves the following results on the evaluation set:
|
18 |
+
- Loss: 0.5713
|
19 |
+
|
20 |
+
## Model description
|
21 |
+
|
22 |
+
More information needed
|
23 |
+
|
24 |
+
## Intended uses & limitations
|
25 |
+
|
26 |
+
More information needed
|
27 |
+
|
28 |
+
## Training and evaluation data
|
29 |
+
|
30 |
+
More information needed
|
31 |
+
|
32 |
+
## Training procedure
|
33 |
+
|
34 |
+
### Training hyperparameters
|
35 |
+
|
36 |
+
The following hyperparameters were used during training:
|
37 |
+
- learning_rate: 3e-05
|
38 |
+
- train_batch_size: 16
|
39 |
+
- eval_batch_size: 64
|
40 |
+
- seed: 42
|
41 |
+
- optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
|
42 |
+
- lr_scheduler_type: linear
|
43 |
+
- num_epochs: 4
|
44 |
+
|
45 |
+
### Training results
|
46 |
+
|
47 |
+
| Training Loss | Epoch | Step | Validation Loss |
|
48 |
+
|:-------------:|:-----:|:-----:|:---------------:|
|
49 |
+
| 0.9089 | 0.4 | 7373 | 0.8463 |
|
50 |
+
| 0.6975 | 0.8 | 14746 | 0.6603 |
|
51 |
+
| 0.5207 | 1.2 | 22119 | 0.6005 |
|
52 |
+
| 0.4985 | 1.6 | 29492 | 0.5558 |
|
53 |
+
| 0.4572 | 2.0 | 36865 | 0.5206 |
|
54 |
+
| 0.3228 | 2.4 | 44238 | 0.5485 |
|
55 |
+
| 0.305 | 2.8 | 51611 | 0.5243 |
|
56 |
+
| 0.2171 | 3.2 | 58984 | 0.5674 |
|
57 |
+
| 0.2057 | 3.6 | 66357 | 0.5713 |
|
58 |
+
|
59 |
+
|
60 |
+
### Framework versions
|
61 |
+
|
62 |
+
- Transformers 4.38.2
|
63 |
+
- Pytorch 2.2.1+cu121
|
64 |
+
- Datasets 2.17.1
|
65 |
+
- Tokenizers 0.15.2
|
config.json
ADDED
@@ -0,0 +1,119 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"_name_or_path": "google-bert/bert-large-uncased",
|
3 |
+
"architectures": [
|
4 |
+
"BertForSequenceClassification"
|
5 |
+
],
|
6 |
+
"attention_probs_dropout_prob": 0.1,
|
7 |
+
"classifier_dropout": null,
|
8 |
+
"gradient_checkpointing": false,
|
9 |
+
"hidden_act": "gelu",
|
10 |
+
"hidden_dropout_prob": 0.1,
|
11 |
+
"hidden_size": 1024,
|
12 |
+
"id2label": {
|
13 |
+
"0": "LABEL_0",
|
14 |
+
"1": "LABEL_1",
|
15 |
+
"2": "LABEL_2",
|
16 |
+
"3": "LABEL_3",
|
17 |
+
"4": "LABEL_4",
|
18 |
+
"5": "LABEL_5",
|
19 |
+
"6": "LABEL_6",
|
20 |
+
"7": "LABEL_7",
|
21 |
+
"8": "LABEL_8",
|
22 |
+
"9": "LABEL_9",
|
23 |
+
"10": "LABEL_10",
|
24 |
+
"11": "LABEL_11",
|
25 |
+
"12": "LABEL_12",
|
26 |
+
"13": "LABEL_13",
|
27 |
+
"14": "LABEL_14",
|
28 |
+
"15": "LABEL_15",
|
29 |
+
"16": "LABEL_16",
|
30 |
+
"17": "LABEL_17",
|
31 |
+
"18": "LABEL_18",
|
32 |
+
"19": "LABEL_19",
|
33 |
+
"20": "LABEL_20",
|
34 |
+
"21": "LABEL_21",
|
35 |
+
"22": "LABEL_22",
|
36 |
+
"23": "LABEL_23",
|
37 |
+
"24": "LABEL_24",
|
38 |
+
"25": "LABEL_25",
|
39 |
+
"26": "LABEL_26",
|
40 |
+
"27": "LABEL_27",
|
41 |
+
"28": "LABEL_28",
|
42 |
+
"29": "LABEL_29",
|
43 |
+
"30": "LABEL_30",
|
44 |
+
"31": "LABEL_31",
|
45 |
+
"32": "LABEL_32",
|
46 |
+
"33": "LABEL_33",
|
47 |
+
"34": "LABEL_34",
|
48 |
+
"35": "LABEL_35",
|
49 |
+
"36": "LABEL_36",
|
50 |
+
"37": "LABEL_37",
|
51 |
+
"38": "LABEL_38",
|
52 |
+
"39": "LABEL_39",
|
53 |
+
"40": "LABEL_40",
|
54 |
+
"41": "LABEL_41",
|
55 |
+
"42": "LABEL_42",
|
56 |
+
"43": "LABEL_43"
|
57 |
+
},
|
58 |
+
"initializer_range": 0.02,
|
59 |
+
"intermediate_size": 4096,
|
60 |
+
"label2id": {
|
61 |
+
"LABEL_0": 0,
|
62 |
+
"LABEL_1": 1,
|
63 |
+
"LABEL_10": 10,
|
64 |
+
"LABEL_11": 11,
|
65 |
+
"LABEL_12": 12,
|
66 |
+
"LABEL_13": 13,
|
67 |
+
"LABEL_14": 14,
|
68 |
+
"LABEL_15": 15,
|
69 |
+
"LABEL_16": 16,
|
70 |
+
"LABEL_17": 17,
|
71 |
+
"LABEL_18": 18,
|
72 |
+
"LABEL_19": 19,
|
73 |
+
"LABEL_2": 2,
|
74 |
+
"LABEL_20": 20,
|
75 |
+
"LABEL_21": 21,
|
76 |
+
"LABEL_22": 22,
|
77 |
+
"LABEL_23": 23,
|
78 |
+
"LABEL_24": 24,
|
79 |
+
"LABEL_25": 25,
|
80 |
+
"LABEL_26": 26,
|
81 |
+
"LABEL_27": 27,
|
82 |
+
"LABEL_28": 28,
|
83 |
+
"LABEL_29": 29,
|
84 |
+
"LABEL_3": 3,
|
85 |
+
"LABEL_30": 30,
|
86 |
+
"LABEL_31": 31,
|
87 |
+
"LABEL_32": 32,
|
88 |
+
"LABEL_33": 33,
|
89 |
+
"LABEL_34": 34,
|
90 |
+
"LABEL_35": 35,
|
91 |
+
"LABEL_36": 36,
|
92 |
+
"LABEL_37": 37,
|
93 |
+
"LABEL_38": 38,
|
94 |
+
"LABEL_39": 39,
|
95 |
+
"LABEL_4": 4,
|
96 |
+
"LABEL_40": 40,
|
97 |
+
"LABEL_41": 41,
|
98 |
+
"LABEL_42": 42,
|
99 |
+
"LABEL_43": 43,
|
100 |
+
"LABEL_5": 5,
|
101 |
+
"LABEL_6": 6,
|
102 |
+
"LABEL_7": 7,
|
103 |
+
"LABEL_8": 8,
|
104 |
+
"LABEL_9": 9
|
105 |
+
},
|
106 |
+
"layer_norm_eps": 1e-12,
|
107 |
+
"max_position_embeddings": 512,
|
108 |
+
"model_type": "bert",
|
109 |
+
"num_attention_heads": 16,
|
110 |
+
"num_hidden_layers": 24,
|
111 |
+
"pad_token_id": 0,
|
112 |
+
"position_embedding_type": "absolute",
|
113 |
+
"problem_type": "single_label_classification",
|
114 |
+
"torch_dtype": "float32",
|
115 |
+
"transformers_version": "4.38.2",
|
116 |
+
"type_vocab_size": 2,
|
117 |
+
"use_cache": true,
|
118 |
+
"vocab_size": 30522
|
119 |
+
}
|
model.safetensors
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:58577996ae2a3226a038158026db8a091239bcc933fc89c9f10282cad029e3c8
|
3 |
+
size 1340794968
|
special_tokens_map.json
ADDED
@@ -0,0 +1,7 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"cls_token": "[CLS]",
|
3 |
+
"mask_token": "[MASK]",
|
4 |
+
"pad_token": "[PAD]",
|
5 |
+
"sep_token": "[SEP]",
|
6 |
+
"unk_token": "[UNK]"
|
7 |
+
}
|
tokenizer.json
ADDED
The diff for this file is too large to render.
See raw diff
|
|
tokenizer_config.json
ADDED
@@ -0,0 +1,55 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"added_tokens_decoder": {
|
3 |
+
"0": {
|
4 |
+
"content": "[PAD]",
|
5 |
+
"lstrip": false,
|
6 |
+
"normalized": false,
|
7 |
+
"rstrip": false,
|
8 |
+
"single_word": false,
|
9 |
+
"special": true
|
10 |
+
},
|
11 |
+
"100": {
|
12 |
+
"content": "[UNK]",
|
13 |
+
"lstrip": false,
|
14 |
+
"normalized": false,
|
15 |
+
"rstrip": false,
|
16 |
+
"single_word": false,
|
17 |
+
"special": true
|
18 |
+
},
|
19 |
+
"101": {
|
20 |
+
"content": "[CLS]",
|
21 |
+
"lstrip": false,
|
22 |
+
"normalized": false,
|
23 |
+
"rstrip": false,
|
24 |
+
"single_word": false,
|
25 |
+
"special": true
|
26 |
+
},
|
27 |
+
"102": {
|
28 |
+
"content": "[SEP]",
|
29 |
+
"lstrip": false,
|
30 |
+
"normalized": false,
|
31 |
+
"rstrip": false,
|
32 |
+
"single_word": false,
|
33 |
+
"special": true
|
34 |
+
},
|
35 |
+
"103": {
|
36 |
+
"content": "[MASK]",
|
37 |
+
"lstrip": false,
|
38 |
+
"normalized": false,
|
39 |
+
"rstrip": false,
|
40 |
+
"single_word": false,
|
41 |
+
"special": true
|
42 |
+
}
|
43 |
+
},
|
44 |
+
"clean_up_tokenization_spaces": true,
|
45 |
+
"cls_token": "[CLS]",
|
46 |
+
"do_lower_case": true,
|
47 |
+
"mask_token": "[MASK]",
|
48 |
+
"model_max_length": 512,
|
49 |
+
"pad_token": "[PAD]",
|
50 |
+
"sep_token": "[SEP]",
|
51 |
+
"strip_accents": null,
|
52 |
+
"tokenize_chinese_chars": true,
|
53 |
+
"tokenizer_class": "BertTokenizer",
|
54 |
+
"unk_token": "[UNK]"
|
55 |
+
}
|
training_args.bin
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:2e2aad5f14fbcc2995f8100d74186d7ced41a3235528f8e9a739d3465208432b
|
3 |
+
size 4792
|
vocab.txt
ADDED
The diff for this file is too large to render.
See raw diff
|
|