VoTrongTinh
commited on
Commit
•
146e66c
1
Parent(s):
7984798
Training complete
Browse files
README.md
ADDED
@@ -0,0 +1,70 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
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: nlp_vietnamese_spelling
|
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 |
+
# nlp_vietnamese_spelling
|
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.3776
|
21 |
+
- Sacrebleu: 9.6073
|
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: 1e-05
|
41 |
+
- train_batch_size: 4
|
42 |
+
- eval_batch_size: 4
|
43 |
+
- seed: 42
|
44 |
+
- optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
|
45 |
+
- lr_scheduler_type: linear
|
46 |
+
- num_epochs: 5
|
47 |
+
- mixed_precision_training: Native AMP
|
48 |
+
|
49 |
+
### Training results
|
50 |
+
|
51 |
+
| Training Loss | Epoch | Step | Validation Loss | Sacrebleu |
|
52 |
+
|:-------------:|:------:|:----:|:---------------:|:---------:|
|
53 |
+
| 1.6702 | 0.4803 | 500 | 0.8637 | 5.3242 |
|
54 |
+
| 1.0413 | 0.9606 | 1000 | 0.6961 | 6.4143 |
|
55 |
+
| 0.7764 | 1.4409 | 1500 | 0.5493 | 7.8371 |
|
56 |
+
| 0.6854 | 1.9212 | 2000 | 0.4883 | 8.3411 |
|
57 |
+
| 0.5523 | 2.4015 | 2500 | 0.4498 | 8.7689 |
|
58 |
+
| 0.5078 | 2.8818 | 3000 | 0.4146 | 9.2720 |
|
59 |
+
| 0.4226 | 3.3622 | 3500 | 0.4010 | 9.3349 |
|
60 |
+
| 0.4222 | 3.8425 | 4000 | 0.3924 | 9.4525 |
|
61 |
+
| 0.3832 | 4.3228 | 4500 | 0.3839 | 9.5898 |
|
62 |
+
| 0.3634 | 4.8031 | 5000 | 0.3776 | 9.6073 |
|
63 |
+
|
64 |
+
|
65 |
+
### Framework versions
|
66 |
+
|
67 |
+
- Transformers 4.40.2
|
68 |
+
- Pytorch 2.2.1+cu121
|
69 |
+
- Datasets 2.19.1
|
70 |
+
- 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 |
+
}
|
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:bf4f895fc2bfd68c0ba5e4cfa607f08767d522c8d7e4d154677da2e25f34ef62
|
3 |
size 1583480280
|
runs/May13_02-07-50_d26cf07e1dd0/events.out.tfevents.1715566119.d26cf07e1dd0.239.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:561941e48ddd8d9494c9893a1a9efc1af019d98dd5982f6ae0d1a6a4fb2a47b7
|
3 |
+
size 10876
|