Frankie202
commited on
Commit
•
e3f9b2f
1
Parent(s):
d7cbb06
Training completed
Browse files
README.md
ADDED
@@ -0,0 +1,68 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
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: vietnamese-correction-203
|
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 |
+
# vietnamese-correction-203
|
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.1838
|
21 |
+
- Sacrebleu: 27.6927
|
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: 0.0001
|
41 |
+
- train_batch_size: 4
|
42 |
+
- eval_batch_size: 4
|
43 |
+
- seed: 42
|
44 |
+
- gradient_accumulation_steps: 8
|
45 |
+
- total_train_batch_size: 32
|
46 |
+
- optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
|
47 |
+
- lr_scheduler_type: linear
|
48 |
+
- num_epochs: 5
|
49 |
+
- mixed_precision_training: Native AMP
|
50 |
+
|
51 |
+
### Training results
|
52 |
+
|
53 |
+
| Training Loss | Epoch | Step | Validation Loss | Sacrebleu |
|
54 |
+
|:-------------:|:------:|:-----:|:---------------:|:---------:|
|
55 |
+
| 0.3565 | 0.7529 | 2000 | 0.1943 | 26.5749 |
|
56 |
+
| 0.1717 | 1.5059 | 4000 | 0.1713 | 27.1811 |
|
57 |
+
| 0.116 | 2.2588 | 6000 | 0.1705 | 27.3551 |
|
58 |
+
| 0.076 | 3.0118 | 8000 | 0.1582 | 27.5668 |
|
59 |
+
| 0.0418 | 3.7647 | 10000 | 0.1674 | 27.5994 |
|
60 |
+
| 0.0278 | 4.5176 | 12000 | 0.1839 | 27.6218 |
|
61 |
+
|
62 |
+
|
63 |
+
### Framework versions
|
64 |
+
|
65 |
+
- Transformers 4.41.2
|
66 |
+
- Pytorch 2.1.2
|
67 |
+
- Datasets 2.19.2
|
68 |
+
- 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.41.2"
|
8 |
+
}
|
model.safetensors
CHANGED
@@ -1,3 +1,3 @@
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
-
oid sha256:
|
3 |
size 1583480280
|
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:30a9d2832e6f68496928d8b64eb40c448ed0e9a7377fb7c7ddd1ec02a3119a1e
|
3 |
size 1583480280
|
runs/Jun10_17-37-01_f81d5a87c7e5/events.out.tfevents.1718041569.f81d5a87c7e5.34.0
CHANGED
@@ -1,3 +1,3 @@
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
-
oid sha256:
|
3 |
-
size
|
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:d4bac22baa4213efa279bde150f4cb709fb3b12d5be8823e2b8f5b4dbd319d5a
|
3 |
+
size 9152
|
runs/Jun10_17-37-01_f81d5a87c7e5/events.out.tfevents.1718067195.f81d5a87c7e5.34.1
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:84c8c6184192e5ca74a53c090e719b4204addec605e9a7481e58f698c7cf743e
|
3 |
+
size 412
|