cuongpp commited on
Commit
b19332e
1 Parent(s): 87fce75

End of training

Browse files
README.md ADDED
@@ -0,0 +1,64 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ base_model: vinai/phobert-base-v2
3
+ tags:
4
+ - generated_from_trainer
5
+ model-index:
6
+ - name: phobert-base-v2-ed
7
+ results: []
8
+ ---
9
+
10
+ <!-- This model card has been generated automatically according to the information the Trainer had access to. You
11
+ should probably proofread and complete it, then remove this comment. -->
12
+
13
+ # phobert-base-v2-ed
14
+
15
+ This model is a fine-tuned version of [vinai/phobert-base-v2](https://huggingface.co/vinai/phobert-base-v2) on an unknown dataset.
16
+ It achieves the following results on the evaluation set:
17
+ - Loss: 0.0503
18
+ - F1 Micro: 0.7151
19
+ - F1 Macro: 0.0389
20
+ - Recall Micro: 0.5966
21
+ - Precision Micro: 0.8923
22
+ - Recall Macro: 0.0345
23
+ - Precision Macro: 0.0667
24
+
25
+ ## Model description
26
+
27
+ More information needed
28
+
29
+ ## Intended uses & limitations
30
+
31
+ More information needed
32
+
33
+ ## Training and evaluation data
34
+
35
+ More information needed
36
+
37
+ ## Training procedure
38
+
39
+ ### Training hyperparameters
40
+
41
+ The following hyperparameters were used during training:
42
+ - learning_rate: 2e-05
43
+ - train_batch_size: 8
44
+ - eval_batch_size: 8
45
+ - seed: 42
46
+ - optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
47
+ - lr_scheduler_type: linear
48
+ - num_epochs: 3
49
+
50
+ ### Training results
51
+
52
+ | Training Loss | Epoch | Step | Validation Loss | F1 Micro | F1 Macro | Recall Micro | Precision Micro | Recall Macro | Precision Macro |
53
+ |:-------------:|:-----:|:----:|:---------------:|:--------:|:--------:|:------------:|:---------------:|:------------:|:---------------:|
54
+ | 0.0634 | 1.0 | 1526 | 0.0617 | 0.7043 | 0.0257 | 0.5959 | 0.8608 | 0.0260 | 0.0253 |
55
+ | 0.0433 | 2.0 | 3052 | 0.0536 | 0.7085 | 0.0259 | 0.5957 | 0.8740 | 0.0260 | 0.0257 |
56
+ | 0.0496 | 3.0 | 4578 | 0.0503 | 0.7151 | 0.0389 | 0.5966 | 0.8923 | 0.0345 | 0.0667 |
57
+
58
+
59
+ ### Framework versions
60
+
61
+ - Transformers 4.41.2
62
+ - Pytorch 2.3.0+cu121
63
+ - Datasets 2.20.0
64
+ - Tokenizers 0.19.1
config.json ADDED
@@ -0,0 +1,101 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
+ "id2label": {
14
+ "0": "Appeal",
15
+ "1": "Merge-org",
16
+ "2": "Sue",
17
+ "3": "O",
18
+ "4": "End-position",
19
+ "5": "Start-position",
20
+ "6": "Transfer-ownership",
21
+ "7": "Sentence",
22
+ "8": "Transfer-money",
23
+ "9": "Trial-hearing",
24
+ "10": "Die",
25
+ "11": "Injure",
26
+ "12": "Release-parole",
27
+ "13": "Divorce",
28
+ "14": "Marry",
29
+ "15": "Pardon",
30
+ "16": "Meet",
31
+ "17": "Convict",
32
+ "18": "Demonstrate",
33
+ "19": "Start-org",
34
+ "20": "Extradite",
35
+ "21": "Fine",
36
+ "22": "Execute",
37
+ "23": "Phone-write",
38
+ "24": "Arrest-jail",
39
+ "25": "End-org",
40
+ "26": "Elect",
41
+ "27": "Declare-bankruptcy",
42
+ "28": "Nominate",
43
+ "29": "Attack",
44
+ "30": "Be-born",
45
+ "31": "Arquit",
46
+ "32": "Transport",
47
+ "33": "Charge-indict"
48
+ },
49
+ "initializer_range": 0.02,
50
+ "intermediate_size": 3072,
51
+ "label2id": {
52
+ "Appeal": 0,
53
+ "Arquit": 31,
54
+ "Arrest-jail": 24,
55
+ "Attack": 29,
56
+ "Be-born": 30,
57
+ "Charge-indict": 33,
58
+ "Convict": 17,
59
+ "Declare-bankruptcy": 27,
60
+ "Demonstrate": 18,
61
+ "Die": 10,
62
+ "Divorce": 13,
63
+ "Elect": 26,
64
+ "End-org": 25,
65
+ "End-position": 4,
66
+ "Execute": 22,
67
+ "Extradite": 20,
68
+ "Fine": 21,
69
+ "Injure": 11,
70
+ "Marry": 14,
71
+ "Meet": 16,
72
+ "Merge-org": 1,
73
+ "Nominate": 28,
74
+ "O": 3,
75
+ "Pardon": 15,
76
+ "Phone-write": 23,
77
+ "Release-parole": 12,
78
+ "Sentence": 7,
79
+ "Start-org": 19,
80
+ "Start-position": 5,
81
+ "Sue": 2,
82
+ "Transfer-money": 8,
83
+ "Transfer-ownership": 6,
84
+ "Transport": 32,
85
+ "Trial-hearing": 9
86
+ },
87
+ "layer_norm_eps": 1e-05,
88
+ "max_position_embeddings": 258,
89
+ "model_type": "roberta",
90
+ "num_attention_heads": 12,
91
+ "num_hidden_layers": 12,
92
+ "pad_token_id": 1,
93
+ "position_embedding_type": "absolute",
94
+ "problem_type": "multi_label_classification",
95
+ "tokenizer_class": "PhobertTokenizer",
96
+ "torch_dtype": "float32",
97
+ "transformers_version": "4.41.2",
98
+ "type_vocab_size": 1,
99
+ "use_cache": true,
100
+ "vocab_size": 64001
101
+ }
logs/events.out.tfevents.1718530983.7392e5d133fd.485.0 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:8e407aa68e17101a21eef8df26cb24f1f139b4b09643f191af6f996b52c348b5
3
+ size 104946
model.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:11059045886dff3e7512637e584a8c528eee29da2da52cd5b9dfdb4654d16c00
3
+ size 540121816
training_args.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:4f632a196572369f57a855f0633172eba4c561bb152085d0a85229775edcabe5
3
+ size 5112