contemmcm commited on
Commit
ae96094
·
verified ·
1 Parent(s): 2224d1b

End of training

Browse files
README.md ADDED
@@ -0,0 +1,79 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ library_name: transformers
3
+ license: other
4
+ base_model: facebook/opt-125m
5
+ tags:
6
+ - generated_from_trainer
7
+ metrics:
8
+ - accuracy
9
+ model-index:
10
+ - name: d8175b00ab4e2c8207d05762af6eb373
11
+ results: []
12
+ ---
13
+
14
+ <!-- This model card has been generated automatically according to the information the Trainer had access to. You
15
+ should probably proofread and complete it, then remove this comment. -->
16
+
17
+ # d8175b00ab4e2c8207d05762af6eb373
18
+
19
+ This model is a fine-tuned version of [facebook/opt-125m](https://huggingface.co/facebook/opt-125m) on the contemmcm/cls_mmlu dataset.
20
+ It achieves the following results on the evaluation set:
21
+ - Loss: 2.5393
22
+ - Data Size: 1.0
23
+ - Epoch Runtime: 33.5713
24
+ - Accuracy: 0.2912
25
+ - F1 Macro: 0.2868
26
+
27
+ ## Model description
28
+
29
+ More information needed
30
+
31
+ ## Intended uses & limitations
32
+
33
+ More information needed
34
+
35
+ ## Training and evaluation data
36
+
37
+ More information needed
38
+
39
+ ## Training procedure
40
+
41
+ ### Training hyperparameters
42
+
43
+ The following hyperparameters were used during training:
44
+ - learning_rate: 5e-05
45
+ - train_batch_size: 8
46
+ - eval_batch_size: 8
47
+ - seed: 42
48
+ - distributed_type: multi-GPU
49
+ - num_devices: 4
50
+ - total_train_batch_size: 32
51
+ - total_eval_batch_size: 32
52
+ - optimizer: Use adamw_torch with betas=(0.9,0.999) and epsilon=1e-08 and optimizer_args=No additional optimizer arguments
53
+ - lr_scheduler_type: constant
54
+ - num_epochs: 50
55
+
56
+ ### Training results
57
+
58
+ | Training Loss | Epoch | Step | Validation Loss | Data Size | Epoch Runtime | Accuracy | F1 Macro |
59
+ |:-------------:|:-----:|:----:|:---------------:|:---------:|:-------------:|:--------:|:--------:|
60
+ | No log | 0 | 0 | 1.6096 | 0 | 2.1114 | 0.2527 | 0.2025 |
61
+ | No log | 1 | 438 | 1.5600 | 0.0078 | 2.4108 | 0.2580 | 0.2248 |
62
+ | No log | 2 | 876 | 1.5458 | 0.0156 | 2.4349 | 0.2520 | 0.1787 |
63
+ | No log | 3 | 1314 | 1.4634 | 0.0312 | 3.0744 | 0.2560 | 0.1629 |
64
+ | No log | 4 | 1752 | 1.4080 | 0.0625 | 4.3402 | 0.2759 | 0.1933 |
65
+ | 0.0798 | 5 | 2190 | 1.4082 | 0.125 | 6.1891 | 0.2434 | 0.1656 |
66
+ | 0.1827 | 6 | 2628 | 1.3963 | 0.25 | 10.0084 | 0.2713 | 0.1821 |
67
+ | 1.3727 | 7 | 3066 | 1.3922 | 0.5 | 18.1110 | 0.2779 | 0.2156 |
68
+ | 1.3235 | 8.0 | 3504 | 1.4183 | 1.0 | 35.3584 | 0.2626 | 0.2452 |
69
+ | 0.9911 | 9.0 | 3942 | 1.7998 | 1.0 | 33.1053 | 0.2859 | 0.2546 |
70
+ | 0.629 | 10.0 | 4380 | 2.2739 | 1.0 | 33.6909 | 0.2979 | 0.2779 |
71
+ | 0.4356 | 11.0 | 4818 | 2.5393 | 1.0 | 33.5713 | 0.2912 | 0.2868 |
72
+
73
+
74
+ ### Framework versions
75
+
76
+ - Transformers 4.57.0
77
+ - Pytorch 2.8.0+cu128
78
+ - Datasets 4.3.0
79
+ - Tokenizers 0.22.1
config.json ADDED
@@ -0,0 +1,43 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "_remove_final_layer_norm": false,
3
+ "activation_dropout": 0.0,
4
+ "activation_function": "relu",
5
+ "architectures": [
6
+ "OPTForSequenceClassification"
7
+ ],
8
+ "attention_dropout": 0.0,
9
+ "bos_token_id": 2,
10
+ "do_layer_norm_before": true,
11
+ "dropout": 0.1,
12
+ "dtype": "float32",
13
+ "enable_bias": true,
14
+ "eos_token_id": 2,
15
+ "ffn_dim": 3072,
16
+ "hidden_size": 768,
17
+ "id2label": {
18
+ "0": "LABEL_0",
19
+ "1": "LABEL_1",
20
+ "2": "LABEL_2",
21
+ "3": "LABEL_3"
22
+ },
23
+ "init_std": 0.02,
24
+ "label2id": {
25
+ "LABEL_0": 0,
26
+ "LABEL_1": 1,
27
+ "LABEL_2": 2,
28
+ "LABEL_3": 3
29
+ },
30
+ "layer_norm_elementwise_affine": true,
31
+ "layerdrop": 0.0,
32
+ "max_position_embeddings": 2048,
33
+ "model_type": "opt",
34
+ "num_attention_heads": 12,
35
+ "num_hidden_layers": 12,
36
+ "pad_token_id": 1,
37
+ "prefix": "</s>",
38
+ "problem_type": "single_label_classification",
39
+ "transformers_version": "4.57.0",
40
+ "use_cache": true,
41
+ "vocab_size": 50272,
42
+ "word_embed_proj_dim": 768
43
+ }
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:d397670c26d112c9368cb31bb6723f755732189afefacdd7c7a70ba104606d37
3
+ size 500991976
special_tokens_map.json ADDED
@@ -0,0 +1,30 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "bos_token": {
3
+ "content": "</s>",
4
+ "lstrip": false,
5
+ "normalized": true,
6
+ "rstrip": false,
7
+ "single_word": false
8
+ },
9
+ "eos_token": {
10
+ "content": "</s>",
11
+ "lstrip": false,
12
+ "normalized": true,
13
+ "rstrip": false,
14
+ "single_word": false
15
+ },
16
+ "pad_token": {
17
+ "content": "<pad>",
18
+ "lstrip": false,
19
+ "normalized": true,
20
+ "rstrip": false,
21
+ "single_word": false
22
+ },
23
+ "unk_token": {
24
+ "content": "</s>",
25
+ "lstrip": false,
26
+ "normalized": true,
27
+ "rstrip": false,
28
+ "single_word": false
29
+ }
30
+ }
tokenizer.json ADDED
The diff for this file is too large to render. See raw diff
 
tokenizer_config.json ADDED
@@ -0,0 +1,31 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "add_bos_token": true,
3
+ "add_prefix_space": false,
4
+ "added_tokens_decoder": {
5
+ "1": {
6
+ "content": "<pad>",
7
+ "lstrip": false,
8
+ "normalized": true,
9
+ "rstrip": false,
10
+ "single_word": false,
11
+ "special": true
12
+ },
13
+ "2": {
14
+ "content": "</s>",
15
+ "lstrip": false,
16
+ "normalized": true,
17
+ "rstrip": false,
18
+ "single_word": false,
19
+ "special": true
20
+ }
21
+ },
22
+ "bos_token": "</s>",
23
+ "clean_up_tokenization_spaces": false,
24
+ "eos_token": "</s>",
25
+ "errors": "replace",
26
+ "extra_special_tokens": {},
27
+ "model_max_length": 1000000000000000019884624838656,
28
+ "pad_token": "<pad>",
29
+ "tokenizer_class": "GPT2Tokenizer",
30
+ "unk_token": "</s>"
31
+ }
training_args.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:529732540f4bffde04bfa7c780c293580c168a61f06587e3108e53122a1ab020
3
+ size 5969
vocab.json ADDED
The diff for this file is too large to render. See raw diff