RonTon05 commited on
Commit
b4a8b1a
·
verified ·
1 Parent(s): f02e1d7

End of training

Browse files
README.md ADDED
@@ -0,0 +1,95 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ base_model: vinai/phobert-base-v2
3
+ tags:
4
+ - generated_from_trainer
5
+ metrics:
6
+ - accuracy
7
+ - f1
8
+ model-index:
9
+ - name: phobert-base-v2-DACN1
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
+ # phobert-base-v2-DACN1
17
+
18
+ This model is a fine-tuned version of [vinai/phobert-base-v2](https://huggingface.co/vinai/phobert-base-v2) on an unknown dataset.
19
+ It achieves the following results on the evaluation set:
20
+ - Loss: 0.5520
21
+ - Accuracy: 0.8784
22
+ - F1: 0.8781
23
+
24
+ ## Model description
25
+
26
+ More information needed
27
+
28
+ ## Intended uses & limitations
29
+
30
+ More information needed
31
+
32
+ ## Training and evaluation data
33
+
34
+ More information needed
35
+
36
+ ## Training procedure
37
+
38
+ ### Training hyperparameters
39
+
40
+ The following hyperparameters were used during training:
41
+ - learning_rate: 2e-05
42
+ - train_batch_size: 32
43
+ - eval_batch_size: 32
44
+ - seed: 42
45
+ - optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
46
+ - lr_scheduler_type: linear
47
+ - num_epochs: 10
48
+
49
+ ### Training results
50
+
51
+ | Training Loss | Epoch | Step | Validation Loss | Accuracy | F1 |
52
+ |:-------------:|:------:|:----:|:---------------:|:--------:|:------:|
53
+ | No log | 0.2782 | 200 | 0.4102 | 0.8061 | 0.8037 |
54
+ | No log | 0.5563 | 400 | 0.3549 | 0.8456 | 0.8461 |
55
+ | No log | 0.8345 | 600 | 0.3583 | 0.8466 | 0.8454 |
56
+ | 0.4175 | 1.1127 | 800 | 0.3401 | 0.8537 | 0.8523 |
57
+ | 0.4175 | 1.3908 | 1000 | 0.3179 | 0.8639 | 0.8646 |
58
+ | 0.4175 | 1.6690 | 1200 | 0.3148 | 0.8687 | 0.8691 |
59
+ | 0.4175 | 1.9471 | 1400 | 0.3240 | 0.8574 | 0.8582 |
60
+ | 0.3061 | 2.2253 | 1600 | 0.3148 | 0.8734 | 0.8740 |
61
+ | 0.3061 | 2.5035 | 1800 | 0.3224 | 0.8742 | 0.8743 |
62
+ | 0.3061 | 2.7816 | 2000 | 0.3288 | 0.8678 | 0.8671 |
63
+ | 0.2524 | 3.0598 | 2200 | 0.3512 | 0.8767 | 0.8769 |
64
+ | 0.2524 | 3.3380 | 2400 | 0.3421 | 0.8798 | 0.8796 |
65
+ | 0.2524 | 3.6161 | 2600 | 0.3089 | 0.8795 | 0.8799 |
66
+ | 0.2524 | 3.8943 | 2800 | 0.3569 | 0.8718 | 0.8725 |
67
+ | 0.2123 | 4.1725 | 3000 | 0.3840 | 0.8747 | 0.8744 |
68
+ | 0.2123 | 4.4506 | 3200 | 0.3681 | 0.8729 | 0.8736 |
69
+ | 0.2123 | 4.7288 | 3400 | 0.3575 | 0.8725 | 0.8732 |
70
+ | 0.1771 | 5.0070 | 3600 | 0.3575 | 0.8793 | 0.8794 |
71
+ | 0.1771 | 5.2851 | 3800 | 0.4285 | 0.8758 | 0.8752 |
72
+ | 0.1771 | 5.5633 | 4000 | 0.3843 | 0.8778 | 0.8782 |
73
+ | 0.1771 | 5.8414 | 4200 | 0.3951 | 0.8780 | 0.8779 |
74
+ | 0.1479 | 6.1196 | 4400 | 0.4364 | 0.8734 | 0.8726 |
75
+ | 0.1479 | 6.3978 | 4600 | 0.4273 | 0.8753 | 0.8752 |
76
+ | 0.1479 | 6.6759 | 4800 | 0.4596 | 0.8786 | 0.8783 |
77
+ | 0.1479 | 6.9541 | 5000 | 0.4498 | 0.8784 | 0.8785 |
78
+ | 0.1284 | 7.2323 | 5200 | 0.4592 | 0.8793 | 0.8795 |
79
+ | 0.1284 | 7.5104 | 5400 | 0.4796 | 0.8755 | 0.8747 |
80
+ | 0.1284 | 7.7886 | 5600 | 0.4830 | 0.8729 | 0.8722 |
81
+ | 0.1068 | 8.0668 | 5800 | 0.4879 | 0.8789 | 0.8787 |
82
+ | 0.1068 | 8.3449 | 6000 | 0.5213 | 0.8767 | 0.8761 |
83
+ | 0.1068 | 8.6231 | 6200 | 0.5114 | 0.8769 | 0.8764 |
84
+ | 0.1068 | 8.9013 | 6400 | 0.5090 | 0.8778 | 0.8777 |
85
+ | 0.0946 | 9.1794 | 6600 | 0.5192 | 0.8800 | 0.8800 |
86
+ | 0.0946 | 9.4576 | 6800 | 0.5517 | 0.8753 | 0.8748 |
87
+ | 0.0946 | 9.7357 | 7000 | 0.5520 | 0.8784 | 0.8781 |
88
+
89
+
90
+ ### Framework versions
91
+
92
+ - Transformers 4.41.2
93
+ - Pytorch 2.3.0+cu121
94
+ - Datasets 2.20.0
95
+ - Tokenizers 0.19.1
config.json ADDED
@@ -0,0 +1,29 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "_name_or_path": "vinai/phobert-base-v2",
3
+ "architectures": [
4
+ "RobertaForSequenceClassification"
5
+ ],
6
+ "attention_probs_dropout_prob": 0.1,
7
+ "bos_token_id": 0,
8
+ "classifier_dropout": null,
9
+ "eos_token_id": 2,
10
+ "hidden_act": "gelu",
11
+ "hidden_dropout_prob": 0.1,
12
+ "hidden_size": 768,
13
+ "initializer_range": 0.02,
14
+ "intermediate_size": 3072,
15
+ "layer_norm_eps": 1e-05,
16
+ "max_position_embeddings": 258,
17
+ "model_type": "roberta",
18
+ "num_attention_heads": 12,
19
+ "num_hidden_layers": 12,
20
+ "pad_token_id": 1,
21
+ "position_embedding_type": "absolute",
22
+ "problem_type": "single_label_classification",
23
+ "tokenizer_class": "PhobertTokenizer",
24
+ "torch_dtype": "float32",
25
+ "transformers_version": "4.41.2",
26
+ "type_vocab_size": 1,
27
+ "use_cache": true,
28
+ "vocab_size": 64001
29
+ }
model.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:dd59b53ee1f0691be061043660454ce705bb79505827ee4c7c384227a53306fa
3
+ size 540023384
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:12f18d0ae2129a4fe69da1d9ac6c089d3588c704726f13b96f2e0cf9dd46a38f
3
+ size 5048
vocab.txt ADDED
The diff for this file is too large to render. See raw diff