contemmcm commited on
Commit
c0c8387
·
verified ·
1 Parent(s): f5bb9bf

End of training

Browse files
README.md ADDED
@@ -0,0 +1,81 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ library_name: transformers
3
+ license: apache-2.0
4
+ base_model: albert/albert-base-v1
5
+ tags:
6
+ - generated_from_trainer
7
+ metrics:
8
+ - accuracy
9
+ model-index:
10
+ - name: a58af9b811decb15de671183c4b54b07
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
+ # a58af9b811decb15de671183c4b54b07
18
+
19
+ This model is a fine-tuned version of [albert/albert-base-v1](https://huggingface.co/albert/albert-base-v1) on the contemmcm/amazon_reviews_2013 [cell-phone] dataset.
20
+ It achieves the following results on the evaluation set:
21
+ - Loss: 0.8621
22
+ - Data Size: 1.0
23
+ - Epoch Runtime: 72.8094
24
+ - Accuracy: 0.6829
25
+ - F1 Macro: 0.6121
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.7944 | 0 | 5.8050 | 0.1102 | 0.0716 |
61
+ | No log | 1 | 1973 | 1.4652 | 0.0078 | 6.7679 | 0.3875 | 0.1904 |
62
+ | 0.0319 | 2 | 3946 | 1.3011 | 0.0156 | 7.0154 | 0.4623 | 0.2680 |
63
+ | 1.1769 | 3 | 5919 | 1.1409 | 0.0312 | 7.9874 | 0.5376 | 0.3510 |
64
+ | 0.9719 | 4 | 7892 | 0.9420 | 0.0625 | 9.9755 | 0.6041 | 0.4954 |
65
+ | 0.8939 | 5 | 9865 | 0.8626 | 0.125 | 14.2018 | 0.6356 | 0.5305 |
66
+ | 0.8639 | 6 | 11838 | 0.8189 | 0.25 | 22.6114 | 0.6580 | 0.5508 |
67
+ | 0.8509 | 7 | 13811 | 0.7834 | 0.5 | 39.4226 | 0.6698 | 0.6019 |
68
+ | 0.7676 | 8.0 | 15784 | 0.7777 | 1.0 | 73.1966 | 0.6729 | 0.6116 |
69
+ | 0.6876 | 9.0 | 17757 | 0.7524 | 1.0 | 74.0192 | 0.6952 | 0.6125 |
70
+ | 0.6258 | 10.0 | 19730 | 0.7636 | 1.0 | 75.1704 | 0.6802 | 0.6244 |
71
+ | 0.6055 | 11.0 | 21703 | 0.7913 | 1.0 | 73.2826 | 0.6909 | 0.6220 |
72
+ | 0.5316 | 12.0 | 23676 | 0.7981 | 1.0 | 73.7851 | 0.6908 | 0.6192 |
73
+ | 0.4656 | 13.0 | 25649 | 0.8621 | 1.0 | 72.8094 | 0.6829 | 0.6121 |
74
+
75
+
76
+ ### Framework versions
77
+
78
+ - Transformers 4.57.0
79
+ - Pytorch 2.8.0+cu128
80
+ - Datasets 4.2.0
81
+ - Tokenizers 0.22.1
config.json ADDED
@@ -0,0 +1,47 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "architectures": [
3
+ "AlbertForSequenceClassification"
4
+ ],
5
+ "attention_probs_dropout_prob": 0.1,
6
+ "bos_token_id": 2,
7
+ "classifier_dropout_prob": 0.1,
8
+ "down_scale_factor": 1,
9
+ "dtype": "float32",
10
+ "embedding_size": 128,
11
+ "eos_token_id": 3,
12
+ "gap_size": 0,
13
+ "hidden_act": "gelu",
14
+ "hidden_dropout_prob": 0.1,
15
+ "hidden_size": 768,
16
+ "id2label": {
17
+ "0": "LABEL_0",
18
+ "1": "LABEL_1",
19
+ "2": "LABEL_2",
20
+ "3": "LABEL_3",
21
+ "4": "LABEL_4"
22
+ },
23
+ "initializer_range": 0.02,
24
+ "inner_group_num": 1,
25
+ "intermediate_size": 3072,
26
+ "label2id": {
27
+ "LABEL_0": 0,
28
+ "LABEL_1": 1,
29
+ "LABEL_2": 2,
30
+ "LABEL_3": 3,
31
+ "LABEL_4": 4
32
+ },
33
+ "layer_norm_eps": 1e-12,
34
+ "max_position_embeddings": 512,
35
+ "model_type": "albert",
36
+ "net_structure_type": 0,
37
+ "num_attention_heads": 12,
38
+ "num_hidden_groups": 1,
39
+ "num_hidden_layers": 12,
40
+ "num_memory_blocks": 0,
41
+ "pad_token_id": 0,
42
+ "position_embedding_type": "absolute",
43
+ "problem_type": "single_label_classification",
44
+ "transformers_version": "4.57.0",
45
+ "type_vocab_size": 2,
46
+ "vocab_size": 30000
47
+ }
model.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:66383bbc658ae5d780a339050bd778884e1b7a6f1e64f1d0074863310c0d28fd
3
+ size 46753140
special_tokens_map.json ADDED
@@ -0,0 +1,15 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "bos_token": "[CLS]",
3
+ "cls_token": "[CLS]",
4
+ "eos_token": "[SEP]",
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": "[SEP]",
14
+ "unk_token": "<unk>"
15
+ }
spiece.model ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:fefb02b667a6c5c2fe27602d28e5fb3428f66ab89c7d6f388e7c8d44a02d0336
3
+ size 760289
tokenizer.json ADDED
The diff for this file is too large to render. See raw diff
 
tokenizer_config.json ADDED
@@ -0,0 +1,58 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
+ "1": {
12
+ "content": "<unk>",
13
+ "lstrip": false,
14
+ "normalized": false,
15
+ "rstrip": false,
16
+ "single_word": false,
17
+ "special": true
18
+ },
19
+ "2": {
20
+ "content": "[CLS]",
21
+ "lstrip": false,
22
+ "normalized": false,
23
+ "rstrip": false,
24
+ "single_word": false,
25
+ "special": true
26
+ },
27
+ "3": {
28
+ "content": "[SEP]",
29
+ "lstrip": false,
30
+ "normalized": false,
31
+ "rstrip": false,
32
+ "single_word": false,
33
+ "special": true
34
+ },
35
+ "4": {
36
+ "content": "[MASK]",
37
+ "lstrip": true,
38
+ "normalized": false,
39
+ "rstrip": false,
40
+ "single_word": false,
41
+ "special": true
42
+ }
43
+ },
44
+ "bos_token": "[CLS]",
45
+ "clean_up_tokenization_spaces": false,
46
+ "cls_token": "[CLS]",
47
+ "do_lower_case": true,
48
+ "eos_token": "[SEP]",
49
+ "extra_special_tokens": {},
50
+ "keep_accents": false,
51
+ "mask_token": "[MASK]",
52
+ "model_max_length": 512,
53
+ "pad_token": "<pad>",
54
+ "remove_space": true,
55
+ "sep_token": "[SEP]",
56
+ "tokenizer_class": "AlbertTokenizer",
57
+ "unk_token": "<unk>"
58
+ }
training_args.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:59731f4e506d437edb72497c70f4ed918456a8dcb91482e6a0760150dbe925cd
3
+ size 5969