tiennguyenbnbk commited on
Commit
4c7b805
1 Parent(s): 4c97b96

Model save

Browse files
Files changed (2) hide show
  1. README.md +84 -0
  2. model.safetensors +1 -1
README.md ADDED
@@ -0,0 +1,84 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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.2.2
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.2.2
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.6359
22
+ - Accuracy: 0.9235
23
+ - F1 Score: 0.8747
24
+ - Recall: 0.8709
25
+ - Precision: 0.8816
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.7287 | 1.05 | 100 | 1.5513 | 0.5041 | 0.1117 | 0.1667 | 0.0840 |
61
+ | 1.4006 | 2.11 | 200 | 1.1607 | 0.6608 | 0.3075 | 0.3196 | 0.4739 |
62
+ | 1.0635 | 3.16 | 300 | 0.8875 | 0.8212 | 0.5457 | 0.5578 | 0.5393 |
63
+ | 0.8514 | 4.21 | 400 | 0.7688 | 0.8522 | 0.5716 | 0.5872 | 0.5581 |
64
+ | 0.761 | 5.26 | 500 | 0.7055 | 0.8746 | 0.6412 | 0.6401 | 0.7368 |
65
+ | 0.6727 | 6.32 | 600 | 0.6545 | 0.9023 | 0.7811 | 0.7644 | 0.8581 |
66
+ | 0.6059 | 7.37 | 700 | 0.6360 | 0.9109 | 0.8464 | 0.8196 | 0.8859 |
67
+ | 0.5726 | 8.42 | 800 | 0.6340 | 0.9119 | 0.8564 | 0.8416 | 0.8743 |
68
+ | 0.5411 | 9.47 | 900 | 0.6197 | 0.9159 | 0.8692 | 0.8554 | 0.8868 |
69
+ | 0.5237 | 10.53 | 1000 | 0.6127 | 0.9192 | 0.8718 | 0.8474 | 0.9042 |
70
+ | 0.5055 | 11.58 | 1100 | 0.6201 | 0.9215 | 0.8703 | 0.8603 | 0.8839 |
71
+ | 0.5005 | 12.63 | 1200 | 0.6259 | 0.9231 | 0.8790 | 0.8680 | 0.8944 |
72
+ | 0.4846 | 13.68 | 1300 | 0.6159 | 0.9225 | 0.8726 | 0.8703 | 0.8759 |
73
+ | 0.4798 | 14.74 | 1400 | 0.6205 | 0.9244 | 0.8779 | 0.8636 | 0.8969 |
74
+ | 0.4744 | 15.79 | 1500 | 0.6254 | 0.9248 | 0.8742 | 0.8620 | 0.8909 |
75
+ | 0.4637 | 16.84 | 1600 | 0.6342 | 0.9228 | 0.8717 | 0.8653 | 0.8819 |
76
+ | 0.4584 | 17.89 | 1700 | 0.6359 | 0.9235 | 0.8747 | 0.8709 | 0.8816 |
77
+
78
+
79
+ ### Framework versions
80
+
81
+ - Transformers 4.38.2
82
+ - Pytorch 2.2.1+cu121
83
+ - Datasets 2.18.0
84
+ - Tokenizers 0.15.2
model.safetensors CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:ba243a649da721dea4fe33db9143dc37a04a13cdc2861869cb319e970941d1bd
3
  size 540035688
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:1a5532d70ef8e5054804f7125981c567b6f0c5e3ffa157ad833876d4e620bc52
3
  size 540035688