Update README.md
Browse files
README.md
CHANGED
@@ -9,15 +9,9 @@ language:
|
|
9 |
- vi
|
10 |
---
|
11 |
|
12 |
-
<!-- This model card has been generated automatically according to the information the Trainer had access to. You
|
13 |
-
should probably proofread and complete it, then remove this comment. -->
|
14 |
-
|
15 |
# bartpho-syllable-finetuned-vietnamese_corrector
|
16 |
|
17 |
-
This model is a fine-tuned version of [vinai/bartpho-syllable](https://huggingface.co/vinai/bartpho-syllable) for Vietnamese error
|
18 |
-
It achieves the following results on the evaluation set:
|
19 |
-
- Loss: 0.2273
|
20 |
-
- Cer: 0.0246
|
21 |
|
22 |
## Usage
|
23 |
```python
|
@@ -41,17 +35,4 @@ Output:
|
|
41 |
- Lần này anh Phương quyết xếp hàng mua bằng được 1 chiếc.
|
42 |
- Nhưng sức huỷ diệt của cơn bão mitch vẫn chưa thấm vào đâu so với thảm hoạ tại Bangladesh năm 1970 .
|
43 |
```
|
44 |
-
|
45 |
-
## Training hyperparameters
|
46 |
-
|
47 |
-
The following hyperparameters were used during training:
|
48 |
-
- learning_rate: 1e-04
|
49 |
-
- train_batch_size: 2
|
50 |
-
- eval_batch_size: 2
|
51 |
-
- seed: 42
|
52 |
-
- gradient_accumulation_steps: 16
|
53 |
-
- total_train_batch_size: 32
|
54 |
-
- optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
|
55 |
-
- lr_scheduler_type: linear
|
56 |
-
- num_epochs: 2
|
57 |
-
- mixed_precision_training: Native AMP
|
|
|
9 |
- vi
|
10 |
---
|
11 |
|
|
|
|
|
|
|
12 |
# bartpho-syllable-finetuned-vietnamese_corrector
|
13 |
|
14 |
+
This model is a fine-tuned version of [vinai/bartpho-syllable](https://huggingface.co/vinai/bartpho-syllable) in the dataset avaiable at [@duyvuleo/VNTC](https://github.com/duyvuleo/VNTC) for Vietnamese error correction task. All source code are avaible at [my github repository](https://github.com/bmd1905/Vietnamese-Corrector/).
|
|
|
|
|
|
|
15 |
|
16 |
## Usage
|
17 |
```python
|
|
|
35 |
- Lần này anh Phương quyết xếp hàng mua bằng được 1 chiếc.
|
36 |
- Nhưng sức huỷ diệt của cơn bão mitch vẫn chưa thấm vào đâu so với thảm hoạ tại Bangladesh năm 1970 .
|
37 |
```
|
38 |
+
You can play around with my code at [Colab notebook](https://colab.research.google.com/github/bmd1905/Vietnamese-Corrector/blob/main/inference.ipynb?hl=en).
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|