yefo-ufpe commited on
Commit
4773b5f
1 Parent(s): dc07899

Adapting `google-bert/bert-base-uncased` for `swag`.

Browse files
README.md ADDED
@@ -0,0 +1,108 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ base_model: google-bert/bert-base-uncased
3
+ library_name: peft
4
+ license: apache-2.0
5
+ metrics:
6
+ - accuracy
7
+ tags:
8
+ - trl
9
+ - sft
10
+ - generated_from_trainer
11
+ model-index:
12
+ - name: output
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
+ # output
20
+
21
+ This model is a fine-tuned version of [google-bert/bert-base-uncased](https://huggingface.co/google-bert/bert-base-uncased) on an unknown dataset.
22
+ It achieves the following results on the evaluation set:
23
+ - Loss: 0.6749
24
+ - Accuracy: 0.7503
25
+
26
+ ## Model description
27
+
28
+ More information needed
29
+
30
+ ## Intended uses & limitations
31
+
32
+ More information needed
33
+
34
+ ## Training and evaluation data
35
+
36
+ More information needed
37
+
38
+ ## Training procedure
39
+
40
+ ### Training hyperparameters
41
+
42
+ The following hyperparameters were used during training:
43
+ - learning_rate: 5e-05
44
+ - train_batch_size: 16
45
+ - eval_batch_size: 16
46
+ - seed: 42
47
+ - optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
48
+ - lr_scheduler_type: linear
49
+ - num_epochs: 5
50
+
51
+ ### Training results
52
+
53
+ | Training Loss | Epoch | Step | Validation Loss | Accuracy |
54
+ |:-------------:|:------:|:-----:|:---------------:|:--------:|
55
+ | 1.3807 | 0.1088 | 500 | 1.2507 | 0.6138 |
56
+ | 1.1949 | 0.2175 | 1000 | 1.0938 | 0.5737 |
57
+ | 1.132 | 0.3263 | 1500 | 1.0330 | 0.5657 |
58
+ | 1.0348 | 0.4351 | 2000 | 0.9162 | 0.6440 |
59
+ | 1.0008 | 0.5438 | 2500 | 0.8464 | 0.6801 |
60
+ | 0.9609 | 0.6526 | 3000 | 0.8267 | 0.6859 |
61
+ | 0.9454 | 0.7614 | 3500 | 0.8116 | 0.6943 |
62
+ | 0.9512 | 0.8701 | 4000 | 0.8125 | 0.6955 |
63
+ | 0.9367 | 0.9789 | 4500 | 0.7838 | 0.7032 |
64
+ | 0.9205 | 1.0877 | 5000 | 0.7861 | 0.7044 |
65
+ | 0.9189 | 1.1964 | 5500 | 0.7713 | 0.7088 |
66
+ | 0.8975 | 1.3052 | 6000 | 0.7538 | 0.7173 |
67
+ | 0.9065 | 1.4140 | 6500 | 0.7520 | 0.7175 |
68
+ | 0.8957 | 1.5227 | 7000 | 0.7513 | 0.7200 |
69
+ | 0.8768 | 1.6315 | 7500 | 0.7411 | 0.7195 |
70
+ | 0.8858 | 1.7403 | 8000 | 0.7306 | 0.7262 |
71
+ | 0.875 | 1.8490 | 8500 | 0.7302 | 0.7268 |
72
+ | 0.8649 | 1.9578 | 9000 | 0.7229 | 0.7303 |
73
+ | 0.8653 | 2.0666 | 9500 | 0.7126 | 0.7322 |
74
+ | 0.867 | 2.1753 | 10000 | 0.7198 | 0.7293 |
75
+ | 0.868 | 2.2841 | 10500 | 0.7125 | 0.7346 |
76
+ | 0.855 | 2.3929 | 11000 | 0.7051 | 0.7350 |
77
+ | 0.8557 | 2.5016 | 11500 | 0.7008 | 0.7384 |
78
+ | 0.8622 | 2.6104 | 12000 | 0.6979 | 0.7389 |
79
+ | 0.8506 | 2.7192 | 12500 | 0.7068 | 0.7378 |
80
+ | 0.8558 | 2.8279 | 13000 | 0.7082 | 0.7337 |
81
+ | 0.849 | 2.9367 | 13500 | 0.6978 | 0.7407 |
82
+ | 0.8581 | 3.0455 | 14000 | 0.6850 | 0.7460 |
83
+ | 0.8521 | 3.1542 | 14500 | 0.6945 | 0.7428 |
84
+ | 0.8454 | 3.2630 | 15000 | 0.6863 | 0.7446 |
85
+ | 0.8257 | 3.3718 | 15500 | 0.6917 | 0.7414 |
86
+ | 0.8522 | 3.4805 | 16000 | 0.6882 | 0.7445 |
87
+ | 0.8359 | 3.5893 | 16500 | 0.6845 | 0.7442 |
88
+ | 0.8238 | 3.6981 | 17000 | 0.6863 | 0.7441 |
89
+ | 0.8382 | 3.8068 | 17500 | 0.6937 | 0.7438 |
90
+ | 0.8326 | 3.9156 | 18000 | 0.6780 | 0.7488 |
91
+ | 0.8344 | 4.0244 | 18500 | 0.6775 | 0.7484 |
92
+ | 0.8224 | 4.1331 | 19000 | 0.6811 | 0.7477 |
93
+ | 0.8261 | 4.2419 | 19500 | 0.6797 | 0.7480 |
94
+ | 0.8256 | 4.3507 | 20000 | 0.6815 | 0.7481 |
95
+ | 0.8191 | 4.4594 | 20500 | 0.6788 | 0.7476 |
96
+ | 0.838 | 4.5682 | 21000 | 0.6802 | 0.7490 |
97
+ | 0.8383 | 4.6770 | 21500 | 0.6753 | 0.7498 |
98
+ | 0.8343 | 4.7857 | 22000 | 0.6762 | 0.7498 |
99
+ | 0.8381 | 4.8945 | 22500 | 0.6749 | 0.7503 |
100
+
101
+
102
+ ### Framework versions
103
+
104
+ - PEFT 0.12.1.dev0
105
+ - Transformers 4.45.0.dev0
106
+ - Pytorch 2.3.1+cu121
107
+ - Datasets 2.21.0
108
+ - Tokenizers 0.19.1
adapter_config.json ADDED
@@ -0,0 +1,29 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "alpha_pattern": {},
3
+ "auto_mapping": null,
4
+ "base_model_name_or_path": "google-bert/bert-base-uncased",
5
+ "bias": "none",
6
+ "fan_in_fan_out": false,
7
+ "inference_mode": true,
8
+ "init_lora_weights": true,
9
+ "layer_replication": null,
10
+ "layers_pattern": null,
11
+ "layers_to_transform": null,
12
+ "loftq_config": {},
13
+ "lora_alpha": 16,
14
+ "lora_dropout": 0.05,
15
+ "megatron_config": null,
16
+ "megatron_core": "megatron.core",
17
+ "modules_to_save": null,
18
+ "peft_type": "LORA",
19
+ "r": 8,
20
+ "rank_pattern": {},
21
+ "revision": null,
22
+ "target_modules": [
23
+ "value",
24
+ "query"
25
+ ],
26
+ "task_type": "CAUSAL_LM",
27
+ "use_dora": false,
28
+ "use_rslora": false
29
+ }
adapter_model.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:ce8923dfcfd94cd455663845e4a03784ff411da3d5b74380bad9c8f9d955b8a0
3
+ size 1186328
runs/Aug25_22-43-09_be470d8ec4cf/events.out.tfevents.1724625789.be470d8ec4cf.868.0 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:d863c443e984799ef9871a7817fd6f7bcecca0a2e3782d2385791bad77f510fb
3
+ size 29717
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:6b3061a0adbb384b3ae4bc0fb4d8120e3f5af19b273ace441667864cc5013c9d
3
+ size 5432
vocab.txt ADDED
The diff for this file is too large to render. See raw diff