Model save
Browse files- README.md +78 -0
- config.json +26 -0
- generation_config.json +5 -0
- logs/events.out.tfevents.1706191999.ki-g0009 +3 -0
- logs/events.out.tfevents.1706192136.ki-g0009 +3 -0
- logs/events.out.tfevents.1706192656.ki-g0009 +3 -0
- logs/events.out.tfevents.1706193206.ki-g0009 +3 -0
- logs/events.out.tfevents.1706193278.ki-g0009 +3 -0
- logs/events.out.tfevents.1706193403.ki-g0009 +3 -0
- logs/events.out.tfevents.1706194020.ki-g0009 +3 -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,78 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
---
|
2 |
+
license: apache-2.0
|
3 |
+
base_model: bert-large-uncased
|
4 |
+
tags:
|
5 |
+
- generated_from_trainer
|
6 |
+
metrics:
|
7 |
+
- accuracy
|
8 |
+
model-index:
|
9 |
+
- name: BERT_pretraining_h_100
|
10 |
+
results: []
|
11 |
+
---
|
12 |
+
|
13 |
+
<!-- This model card has been generated automatically according to the information the Trainer had access to. You
|
14 |
+
should probably proofread and complete it, then remove this comment. -->
|
15 |
+
|
16 |
+
# BERT_pretraining_h_100
|
17 |
+
|
18 |
+
This model is a fine-tuned version of [bert-large-uncased](https://huggingface.co/bert-large-uncased) on an unknown dataset.
|
19 |
+
It achieves the following results on the evaluation set:
|
20 |
+
- Loss: 7.2729
|
21 |
+
- Accuracy: 0.0466
|
22 |
+
|
23 |
+
## Model description
|
24 |
+
|
25 |
+
More information needed
|
26 |
+
|
27 |
+
## Intended uses & limitations
|
28 |
+
|
29 |
+
More information needed
|
30 |
+
|
31 |
+
## Training and evaluation data
|
32 |
+
|
33 |
+
More information needed
|
34 |
+
|
35 |
+
## Training procedure
|
36 |
+
|
37 |
+
### Training hyperparameters
|
38 |
+
|
39 |
+
The following hyperparameters were used during training:
|
40 |
+
- learning_rate: 0.0001
|
41 |
+
- train_batch_size: 36
|
42 |
+
- eval_batch_size: 36
|
43 |
+
- seed: 10
|
44 |
+
- distributed_type: multi-GPU
|
45 |
+
- optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
|
46 |
+
- lr_scheduler_type: linear
|
47 |
+
- lr_scheduler_warmup_steps: 100000
|
48 |
+
- num_epochs: 100
|
49 |
+
|
50 |
+
### Training results
|
51 |
+
|
52 |
+
| Training Loss | Epoch | Step | Validation Loss | Accuracy |
|
53 |
+
|:-------------:|:-----:|:------:|:---------------:|:--------:|
|
54 |
+
| 6.5136 | 0.06 | 10000 | 6.4841 | 0.1332 |
|
55 |
+
| 6.3225 | 0.12 | 20000 | 6.2865 | 0.1452 |
|
56 |
+
| 6.0806 | 0.18 | 30000 | 6.1945 | 0.1482 |
|
57 |
+
| 6.1449 | 0.25 | 40000 | 6.1284 | 0.1497 |
|
58 |
+
| 5.7325 | 0.31 | 50000 | 5.8403 | 0.1609 |
|
59 |
+
| 4.0177 | 0.37 | 60000 | 3.7789 | 0.3887 |
|
60 |
+
| 3.3942 | 0.43 | 70000 | 3.1742 | 0.4638 |
|
61 |
+
| 3.2801 | 0.49 | 80000 | 3.0618 | 0.4775 |
|
62 |
+
| 7.2562 | 0.55 | 90000 | 7.2798 | 0.0432 |
|
63 |
+
| 7.226 | 0.61 | 100000 | 7.2771 | 0.0465 |
|
64 |
+
| 7.2174 | 0.68 | 110000 | 7.2764 | 0.0465 |
|
65 |
+
| 7.232 | 0.74 | 120000 | 7.2745 | 0.0465 |
|
66 |
+
| 7.2003 | 0.8 | 130000 | 7.2730 | 0.0465 |
|
67 |
+
| 7.0964 | 0.86 | 140000 | 7.2725 | 0.0466 |
|
68 |
+
| 7.5174 | 0.92 | 150000 | 7.2729 | 0.0465 |
|
69 |
+
| 7.2674 | 0.98 | 160000 | 7.2729 | 0.0465 |
|
70 |
+
| 7.2044 | 1.04 | 170000 | 7.2729 | 0.0466 |
|
71 |
+
|
72 |
+
|
73 |
+
### Framework versions
|
74 |
+
|
75 |
+
- Transformers 4.37.1
|
76 |
+
- Pytorch 2.1.2+cu121
|
77 |
+
- Datasets 2.16.1
|
78 |
+
- Tokenizers 0.15.1
|
config.json
ADDED
@@ -0,0 +1,26 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"_name_or_path": "bert-large-uncased",
|
3 |
+
"architectures": [
|
4 |
+
"BertForMaskedLM"
|
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 |
+
"initializer_range": 0.02,
|
13 |
+
"intermediate_size": 4096,
|
14 |
+
"layer_norm_eps": 1e-12,
|
15 |
+
"max_position_embeddings": 512,
|
16 |
+
"model_type": "bert",
|
17 |
+
"num_attention_heads": 16,
|
18 |
+
"num_hidden_layers": 24,
|
19 |
+
"pad_token_id": 0,
|
20 |
+
"position_embedding_type": "absolute",
|
21 |
+
"torch_dtype": "float32",
|
22 |
+
"transformers_version": "4.37.1",
|
23 |
+
"type_vocab_size": 2,
|
24 |
+
"use_cache": true,
|
25 |
+
"vocab_size": 30522
|
26 |
+
}
|
generation_config.json
ADDED
@@ -0,0 +1,5 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"_from_model_config": true,
|
3 |
+
"pad_token_id": 0,
|
4 |
+
"transformers_version": "4.37.1"
|
5 |
+
}
|
logs/events.out.tfevents.1706191999.ki-g0009
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:603fc3b2f295255914c365d7a4a48d19c31f7a7f4bd9e1f99dac4400c4e6d275
|
3 |
+
size 4330
|
logs/events.out.tfevents.1706192136.ki-g0009
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:990027e13bcd63ba4f683ad79a983d4e6a25419da26fdb32248ef788590846df
|
3 |
+
size 4330
|
logs/events.out.tfevents.1706192656.ki-g0009
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:ca6ba5e80c71dd29520257f1dd3cd0ea15548c800cfcc5f14dd94e8aeb216e83
|
3 |
+
size 29084
|
logs/events.out.tfevents.1706193206.ki-g0009
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:6eb1874bea9bd115d2a370e6cabc47c257bd238058b530caefc35adef01775c2
|
3 |
+
size 4345
|
logs/events.out.tfevents.1706193278.ki-g0009
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:7e973f879fdebedb8e174f7d26213530b5acb33515c1e48f97ecc2a482ec3a97
|
3 |
+
size 8811
|
logs/events.out.tfevents.1706193403.ki-g0009
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:07644111d8fecdcc07dd298dad212d6318b81b601a92365716fecc60288ab631
|
3 |
+
size 59699
|
logs/events.out.tfevents.1706194020.ki-g0009
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:980a3b0ec5043a430779a9a7da98fb6608fbc984931f6cbd528f3c98ea640523
|
3 |
+
size 28110202
|
model.safetensors
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:8bc538da1cb976ea766d164cf4d4663c1d59a0f1dd78069be4e0bdbbf1a14dea
|
3 |
+
size 1465885424
|
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:6924ef1775fc4634b69b53111f02df3760b218854f9e7c05344310947604f63c
|
3 |
+
size 5688
|
vocab.txt
ADDED
The diff for this file is too large to render.
See raw diff
|
|