Nguyen Tien commited on
Commit
f6fb10a
1 Parent(s): 93d4234

vuihocrnd/cls-comment-phobert-base-v2-v1.0

Browse files
Files changed (2) hide show
  1. README.md +69 -0
  2. model.safetensors +1 -1
README.md ADDED
@@ -0,0 +1,69 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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-v1.0
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-v1.0
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.2202
22
+ - Accuracy: 0.9181
23
+ - F1 Score: 0.8517
24
+ - Recall: 0.8617
25
+ - Precision: 0.8419
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: 2e-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
+ - num_epochs: 3
54
+
55
+ ### Training results
56
+
57
+ | Training Loss | Epoch | Step | Validation Loss | Accuracy | F1 Score | Recall | Precision |
58
+ |:-------------:|:-----:|:----:|:---------------:|:--------:|:--------:|:------:|:---------:|
59
+ | 0.2545 | 1.0 | 234 | 0.2509 | 0.8981 | 0.8068 | 0.7796 | 0.8360 |
60
+ | 0.208 | 2.0 | 469 | 0.2259 | 0.9098 | 0.8399 | 0.8666 | 0.8148 |
61
+ | 0.1675 | 2.99 | 702 | 0.2202 | 0.9181 | 0.8517 | 0.8617 | 0.8419 |
62
+
63
+
64
+ ### Framework versions
65
+
66
+ - Transformers 4.38.1
67
+ - Pytorch 2.1.0+cu121
68
+ - Datasets 2.18.0
69
+ - Tokenizers 0.15.2
model.safetensors CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:56a5bccbf1d91479e7310675c6d567ced313351ed840bb6db8e8e4ba5277e7d2
3
  size 540023384
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:5eff55dbd11427798e4d2124abd4c005d949bbb2f3499965a67f07f962b35fa2
3
  size 540023384