Model save
Browse files- README.md +87 -0
- model.safetensors +1 -1
README.md
ADDED
@@ -0,0 +1,87 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
---
|
2 |
+
base_model: vinai/phobert-base-v2
|
3 |
+
tags:
|
4 |
+
- generated_from_trainer
|
5 |
+
metrics:
|
6 |
+
- accuracy
|
7 |
+
- recall
|
8 |
+
- precision
|
9 |
+
model-index:
|
10 |
+
- name: cls-comment-phobert-base-v2-v2.4
|
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 |
+
# cls-comment-phobert-base-v2-v2.4
|
18 |
+
|
19 |
+
This model is a fine-tuned version of [vinai/phobert-base-v2](https://huggingface.co/vinai/phobert-base-v2) on an unknown dataset.
|
20 |
+
It achieves the following results on the evaluation set:
|
21 |
+
- Loss: 0.6228
|
22 |
+
- Accuracy: 0.9265
|
23 |
+
- F1 Score: 0.8891
|
24 |
+
- Recall: 0.8913
|
25 |
+
- Precision: 0.8870
|
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: 1e-05
|
45 |
+
- train_batch_size: 64
|
46 |
+
- eval_batch_size: 64
|
47 |
+
- seed: 42
|
48 |
+
- gradient_accumulation_steps: 2
|
49 |
+
- total_train_batch_size: 128
|
50 |
+
- optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
|
51 |
+
- lr_scheduler_type: linear
|
52 |
+
- lr_scheduler_warmup_ratio: 0.1
|
53 |
+
- training_steps: 4000
|
54 |
+
- label_smoothing_factor: 0.1
|
55 |
+
|
56 |
+
### Training results
|
57 |
+
|
58 |
+
| Training Loss | Epoch | Step | Validation Loss | Accuracy | F1 Score | Recall | Precision |
|
59 |
+
|:-------------:|:-----:|:----:|:---------------:|:--------:|:--------:|:------:|:---------:|
|
60 |
+
| 1.7008 | 0.96 | 100 | 1.5259 | 0.4623 | 0.1091 | 0.1687 | 0.2296 |
|
61 |
+
| 1.4089 | 1.91 | 200 | 1.1875 | 0.6568 | 0.2499 | 0.2948 | 0.2170 |
|
62 |
+
| 1.0776 | 2.87 | 300 | 0.9009 | 0.8038 | 0.5304 | 0.5309 | 0.5333 |
|
63 |
+
| 0.8625 | 3.83 | 400 | 0.7617 | 0.8575 | 0.6321 | 0.6372 | 0.7107 |
|
64 |
+
| 0.7245 | 4.78 | 500 | 0.6894 | 0.8818 | 0.7282 | 0.7214 | 0.8803 |
|
65 |
+
| 0.6573 | 5.74 | 600 | 0.6651 | 0.8968 | 0.8406 | 0.8213 | 0.8770 |
|
66 |
+
| 0.6082 | 6.7 | 700 | 0.6335 | 0.9079 | 0.8630 | 0.8667 | 0.8595 |
|
67 |
+
| 0.5674 | 7.66 | 800 | 0.6363 | 0.9106 | 0.8692 | 0.8795 | 0.8621 |
|
68 |
+
| 0.5477 | 8.61 | 900 | 0.6269 | 0.9151 | 0.8776 | 0.8693 | 0.8877 |
|
69 |
+
| 0.5256 | 9.57 | 1000 | 0.6178 | 0.9205 | 0.8835 | 0.8849 | 0.8826 |
|
70 |
+
| 0.5148 | 10.53 | 1100 | 0.6214 | 0.9199 | 0.8796 | 0.8839 | 0.8762 |
|
71 |
+
| 0.4999 | 11.48 | 1200 | 0.6158 | 0.9229 | 0.8856 | 0.8853 | 0.8862 |
|
72 |
+
| 0.4916 | 12.44 | 1300 | 0.6186 | 0.9232 | 0.8839 | 0.8795 | 0.8888 |
|
73 |
+
| 0.479 | 13.4 | 1400 | 0.6285 | 0.9202 | 0.8847 | 0.8833 | 0.8864 |
|
74 |
+
| 0.4812 | 14.35 | 1500 | 0.6177 | 0.9241 | 0.8919 | 0.8930 | 0.8911 |
|
75 |
+
| 0.4667 | 15.31 | 1600 | 0.6206 | 0.9256 | 0.8848 | 0.8853 | 0.8843 |
|
76 |
+
| 0.4668 | 16.27 | 1700 | 0.6201 | 0.9265 | 0.8854 | 0.8876 | 0.8837 |
|
77 |
+
| 0.4635 | 17.22 | 1800 | 0.6252 | 0.9253 | 0.8901 | 0.8877 | 0.8927 |
|
78 |
+
| 0.4593 | 18.18 | 1900 | 0.6264 | 0.9274 | 0.8891 | 0.8899 | 0.8887 |
|
79 |
+
| 0.4538 | 19.14 | 2000 | 0.6228 | 0.9265 | 0.8891 | 0.8913 | 0.8870 |
|
80 |
+
|
81 |
+
|
82 |
+
### Framework versions
|
83 |
+
|
84 |
+
- Transformers 4.38.2
|
85 |
+
- Pytorch 2.2.1+cu121
|
86 |
+
- Datasets 2.18.0
|
87 |
+
- Tokenizers 0.15.2
|
model.safetensors
CHANGED
@@ -1,3 +1,3 @@
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
-
oid sha256:
|
3 |
size 540035688
|
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:584b789cee67fc76c32832c2dc9241af682e62a824288ebd288c953418e569ec
|
3 |
size 540035688
|