52101007-HuynhQuocTruong commited on
Commit
7cf232c
1 Parent(s): c4398b6

Training complete

Browse files
Files changed (2) hide show
  1. README.md +69 -3
  2. generation_config.json +8 -0
README.md CHANGED
@@ -1,3 +1,69 @@
1
- ---
2
- license: mit
3
- ---
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ base_model: vinai/bartpho-syllable
3
+ tags:
4
+ - text2text-generation
5
+ - generated_from_trainer
6
+ metrics:
7
+ - sacrebleu
8
+ model-index:
9
+ - name: vi-correction-model
10
+ results: []
11
+ ---
12
+
13
+ <!-- This model card has been generated automatically according to the information the Trainer had access to. You
14
+ should probably proofread and complete it, then remove this comment. -->
15
+
16
+ # vi-correction-model
17
+
18
+ This model is a fine-tuned version of [vinai/bartpho-syllable](https://huggingface.co/vinai/bartpho-syllable) on an unknown dataset.
19
+ It achieves the following results on the evaluation set:
20
+ - Loss: 0.2603
21
+ - Sacrebleu: 13.8971
22
+
23
+ ## Model description
24
+
25
+ More information needed
26
+
27
+ ## Intended uses & limitations
28
+
29
+ More information needed
30
+
31
+ ## Training and evaluation data
32
+
33
+ More information needed
34
+
35
+ ## Training procedure
36
+
37
+ ### Training hyperparameters
38
+
39
+ The following hyperparameters were used during training:
40
+ - learning_rate: 2e-05
41
+ - train_batch_size: 20
42
+ - eval_batch_size: 20
43
+ - seed: 42
44
+ - gradient_accumulation_steps: 4
45
+ - total_train_batch_size: 80
46
+ - optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
47
+ - lr_scheduler_type: linear
48
+ - num_epochs: 8
49
+
50
+ ### Training results
51
+
52
+ | Training Loss | Epoch | Step | Validation Loss | Sacrebleu |
53
+ |:-------------:|:-----:|:----:|:---------------:|:---------:|
54
+ | No log | 0.96 | 12 | 0.7531 | 10.4358 |
55
+ | No log | 2.0 | 25 | 0.7129 | 10.4963 |
56
+ | No log | 2.96 | 37 | 0.4248 | 11.1595 |
57
+ | No log | 4.0 | 50 | 0.3501 | 11.6392 |
58
+ | No log | 4.96 | 62 | 0.3043 | 12.6744 |
59
+ | No log | 6.0 | 75 | 0.2758 | 13.4012 |
60
+ | No log | 6.96 | 87 | 0.2629 | 13.7842 |
61
+ | No log | 7.68 | 96 | 0.2603 | 13.8971 |
62
+
63
+
64
+ ### Framework versions
65
+
66
+ - Transformers 4.40.2
67
+ - Pytorch 2.2.1+cu121
68
+ - Datasets 2.19.1
69
+ - Tokenizers 0.19.1
generation_config.json ADDED
@@ -0,0 +1,8 @@
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "bos_token_id": 0,
3
+ "decoder_start_token_id": 2,
4
+ "eos_token_id": 2,
5
+ "forced_eos_token_id": 2,
6
+ "pad_token_id": 1,
7
+ "transformers_version": "4.40.2"
8
+ }