indiejoseph
commited on
Commit
•
e82a08a
1
Parent(s):
aad8e8f
Model save
Browse files- README.md +51 -0
- generation_config.json +12 -0
- pytorch_model.bin +1 -1
README.md
ADDED
@@ -0,0 +1,51 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
---
|
2 |
+
base_model: indiejoseph/bart-base-cantonese
|
3 |
+
tags:
|
4 |
+
- generated_from_trainer
|
5 |
+
model-index:
|
6 |
+
- name: bart-cantonese-typo-corrector
|
7 |
+
results: []
|
8 |
+
---
|
9 |
+
|
10 |
+
<!-- This model card has been generated automatically according to the information the Trainer had access to. You
|
11 |
+
should probably proofread and complete it, then remove this comment. -->
|
12 |
+
|
13 |
+
# bart-cantonese-typo-corrector
|
14 |
+
|
15 |
+
This model is a fine-tuned version of [indiejoseph/bart-base-cantonese](https://huggingface.co/indiejoseph/bart-base-cantonese) on an unknown dataset.
|
16 |
+
|
17 |
+
## Model description
|
18 |
+
|
19 |
+
More information needed
|
20 |
+
|
21 |
+
## Intended uses & limitations
|
22 |
+
|
23 |
+
More information needed
|
24 |
+
|
25 |
+
## Training and evaluation data
|
26 |
+
|
27 |
+
More information needed
|
28 |
+
|
29 |
+
## Training procedure
|
30 |
+
|
31 |
+
### Training hyperparameters
|
32 |
+
|
33 |
+
The following hyperparameters were used during training:
|
34 |
+
- learning_rate: 0.0003
|
35 |
+
- train_batch_size: 32
|
36 |
+
- eval_batch_size: 32
|
37 |
+
- seed: 42
|
38 |
+
- optimizer: Adam with betas=(0.9,0.98) and epsilon=1e-08
|
39 |
+
- lr_scheduler_type: linear
|
40 |
+
- num_epochs: 5.0
|
41 |
+
|
42 |
+
### Training results
|
43 |
+
|
44 |
+
|
45 |
+
|
46 |
+
### Framework versions
|
47 |
+
|
48 |
+
- Transformers 4.34.1
|
49 |
+
- Pytorch 2.0.1+cu117
|
50 |
+
- Datasets 2.14.5
|
51 |
+
- Tokenizers 0.14.0
|
generation_config.json
ADDED
@@ -0,0 +1,12 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"_from_model_config": true,
|
3 |
+
"bos_token_id": 101,
|
4 |
+
"decoder_start_token_id": 102,
|
5 |
+
"early_stopping": true,
|
6 |
+
"eos_token_id": 102,
|
7 |
+
"forced_eos_token_id": 102,
|
8 |
+
"no_repeat_ngram_size": 3,
|
9 |
+
"num_beams": 4,
|
10 |
+
"pad_token_id": 0,
|
11 |
+
"transformers_version": "4.34.1"
|
12 |
+
}
|
pytorch_model.bin
CHANGED
@@ -1,3 +1,3 @@
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
-
oid sha256:
|
3 |
size 561625501
|
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:5ff8bcfe64967f26a0dea83f1092302bbbc42cc9485554e3c56bf1318ffd2178
|
3 |
size 561625501
|