End of training
Browse files- README.md +66 -0
- config.json +101 -0
- logs/events.out.tfevents.1718468219.703b3a50748e.461.0 +3 -0
- model.safetensors +3 -0
- training_args.bin +3 -0
README.md
ADDED
@@ -0,0 +1,66 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
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.0455
|
18 |
+
- F1 Micro: 0.7302
|
19 |
+
- F1 Macro: 0.0774
|
20 |
+
- Recall Micro: 0.6299
|
21 |
+
- Precision Micro: 0.8683
|
22 |
+
- Recall Macro: 0.0745
|
23 |
+
- Precision Macro: 0.0806
|
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: 5
|
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.0638 | 1.0 | 1526 | 0.0622 | 0.7114 | 0.0257 | 0.6218 | 0.8312 | 0.0271 | 0.0244 |
|
55 |
+
| 0.046 | 2.0 | 3052 | 0.0543 | 0.7112 | 0.0259 | 0.6021 | 0.8684 | 0.0263 | 0.0255 |
|
56 |
+
| 0.0462 | 3.0 | 4578 | 0.0494 | 0.7049 | 0.0716 | 0.5895 | 0.8764 | 0.0685 | 0.0803 |
|
57 |
+
| 0.0472 | 4.0 | 6104 | 0.0461 | 0.7326 | 0.0762 | 0.6402 | 0.8562 | 0.0724 | 0.0812 |
|
58 |
+
| 0.0228 | 5.0 | 7630 | 0.0455 | 0.7302 | 0.0774 | 0.6299 | 0.8683 | 0.0745 | 0.0806 |
|
59 |
+
|
60 |
+
|
61 |
+
### Framework versions
|
62 |
+
|
63 |
+
- Transformers 4.41.2
|
64 |
+
- Pytorch 2.3.0+cu121
|
65 |
+
- Datasets 2.20.0
|
66 |
+
- 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.1718468219.703b3a50748e.461.0
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:8ab7a289135c3024aded666833da9d665231f050f598864e51aa542998a90697
|
3 |
+
size 170722
|
model.safetensors
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:b9e7ab46af4a8d8b05dbf2e9acc9f86d5c521cbd4a42b6faa96f18919bdbdb7c
|
3 |
+
size 540121816
|
training_args.bin
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:f452f6a49a59121eaefd367ee1511154b1fdb2ace8d8c258d3977d37b6ea2e79
|
3 |
+
size 5112
|