contemmcm commited on
Commit
2f107aa
·
verified ·
1 Parent(s): d015e83

End of training

Browse files
README.md ADDED
@@ -0,0 +1,73 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ library_name: transformers
3
+ license: apache-2.0
4
+ base_model: albert/albert-xxlarge-v2
5
+ tags:
6
+ - generated_from_trainer
7
+ metrics:
8
+ - accuracy
9
+ model-index:
10
+ - name: 180715c48bee8667d4ed3428d0c1732e
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
+ # 180715c48bee8667d4ed3428d0c1732e
18
+
19
+ This model is a fine-tuned version of [albert/albert-xxlarge-v2](https://huggingface.co/albert/albert-xxlarge-v2) on the contemmcm/amazon_reviews_2013 [cell-phone] dataset.
20
+ It achieves the following results on the evaluation set:
21
+ - Loss: 1.4820
22
+ - Data Size: 0.125
23
+ - Epoch Runtime: 142.3290
24
+ - Accuracy: 0.3853
25
+ - F1 Macro: 0.1112
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 | 2.0084 | 0 | 56.0280 | 0.2252 | 0.1225 |
61
+ | No log | 1 | 1973 | 1.4765 | 0.0078 | 61.8715 | 0.3847 | 0.1262 |
62
+ | 0.0345 | 2 | 3946 | 1.4872 | 0.0156 | 66.9257 | 0.3923 | 0.1311 |
63
+ | 1.4446 | 3 | 5919 | 1.4843 | 0.0312 | 77.8494 | 0.3853 | 0.1112 |
64
+ | 1.5734 | 4 | 7892 | 1.4921 | 0.0625 | 99.0788 | 0.3853 | 0.1112 |
65
+ | 1.4989 | 5 | 9865 | 1.4820 | 0.125 | 142.3290 | 0.3853 | 0.1112 |
66
+
67
+
68
+ ### Framework versions
69
+
70
+ - Transformers 4.57.0
71
+ - Pytorch 2.8.0+cu128
72
+ - Datasets 4.2.0
73
+ - Tokenizers 0.22.1
config.json ADDED
@@ -0,0 +1,48 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "architectures": [
3
+ "AlbertForSequenceClassification"
4
+ ],
5
+ "attention_probs_dropout_prob": 0,
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_new",
14
+ "hidden_dropout_prob": 0,
15
+ "hidden_size": 4096,
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": 16384,
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
+ "layers_to_keep": [],
35
+ "max_position_embeddings": 512,
36
+ "model_type": "albert",
37
+ "net_structure_type": 0,
38
+ "num_attention_heads": 64,
39
+ "num_hidden_groups": 1,
40
+ "num_hidden_layers": 12,
41
+ "num_memory_blocks": 0,
42
+ "pad_token_id": 0,
43
+ "position_embedding_type": "absolute",
44
+ "problem_type": "single_label_classification",
45
+ "transformers_version": "4.57.0",
46
+ "type_vocab_size": 2,
47
+ "vocab_size": 30000
48
+ }
model.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:cb998c8ae88a1410e0f5add54af874ea323e52f7b72477774e60b940c7c349c2
3
+ size 890467756
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:6a907ee8e1b86747af34d95f686adc1abefe0e6f955b7d68008288a93b7147d8
3
+ size 5969