Model save
Browse files- README.md +70 -0
- generation_config.json +12 -0
README.md
ADDED
@@ -0,0 +1,70 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
---
|
2 |
+
license: apache-2.0
|
3 |
+
base_model: facebook/bart-base
|
4 |
+
tags:
|
5 |
+
- generated_from_trainer
|
6 |
+
metrics:
|
7 |
+
- wer
|
8 |
+
- bleu
|
9 |
+
model-index:
|
10 |
+
- name: bart-kurd-spell-base-sn
|
11 |
+
results: []
|
12 |
+
---
|
13 |
+
|
14 |
+
<!-- This model card has been generated automatically according to the information the Trainer had access to. You
|
15 |
+
should probably proofread and complete it, then remove this comment. -->
|
16 |
+
|
17 |
+
# bart-kurd-spell-base-sn
|
18 |
+
|
19 |
+
This model is a fine-tuned version of [facebook/bart-base](https://huggingface.co/facebook/bart-base) on the None dataset.
|
20 |
+
It achieves the following results on the evaluation set:
|
21 |
+
- Loss: 0.4815
|
22 |
+
- Cer: 2.1669
|
23 |
+
- Wer: 12.1294
|
24 |
+
- Bleu: 78.2542
|
25 |
+
- Chrf: 95.7354
|
26 |
+
- Gen Len: 16.7779
|
27 |
+
|
28 |
+
## Model description
|
29 |
+
|
30 |
+
More information needed
|
31 |
+
|
32 |
+
## Intended uses & limitations
|
33 |
+
|
34 |
+
More information needed
|
35 |
+
|
36 |
+
## Training and evaluation data
|
37 |
+
|
38 |
+
More information needed
|
39 |
+
|
40 |
+
## Training procedure
|
41 |
+
|
42 |
+
### Training hyperparameters
|
43 |
+
|
44 |
+
The following hyperparameters were used during training:
|
45 |
+
- learning_rate: 5e-05
|
46 |
+
- train_batch_size: 64
|
47 |
+
- eval_batch_size: 64
|
48 |
+
- seed: 42
|
49 |
+
- optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
|
50 |
+
- lr_scheduler_type: linear
|
51 |
+
- num_epochs: 5.0
|
52 |
+
- mixed_precision_training: Native AMP
|
53 |
+
|
54 |
+
### Training results
|
55 |
+
|
56 |
+
| Training Loss | Epoch | Step | Validation Loss | Cer | Wer | Bleu | Chrf | Gen Len |
|
57 |
+
|:-------------:|:-----:|:------:|:---------------:|:------:|:-------:|:-------:|:-------:|:-------:|
|
58 |
+
| 0.2972 | 1.0 | 177897 | 0.5591 | 2.836 | 14.9407 | 73.3024 | 94.1403 | 16.7054 |
|
59 |
+
| 0.233 | 2.0 | 355794 | 0.5157 | 2.4613 | 13.4362 | 75.8819 | 95.0077 | 16.7604 |
|
60 |
+
| 0.2043 | 3.0 | 533691 | 0.4918 | 2.307 | 12.7609 | 77.0962 | 95.3849 | 16.7681 |
|
61 |
+
| 0.1753 | 4.0 | 711588 | 0.4871 | 2.2105 | 12.3386 | 77.928 | 95.6297 | 16.7765 |
|
62 |
+
| 0.1655 | 5.0 | 889485 | 0.4815 | 2.1669 | 12.1294 | 78.2542 | 95.7354 | 16.7779 |
|
63 |
+
|
64 |
+
|
65 |
+
### Framework versions
|
66 |
+
|
67 |
+
- Transformers 4.36.0.dev0
|
68 |
+
- Pytorch 2.1.0
|
69 |
+
- Datasets 2.15.0
|
70 |
+
- Tokenizers 0.15.0
|
generation_config.json
ADDED
@@ -0,0 +1,12 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"bos_token_id": 0,
|
3 |
+
"decoder_start_token_id": 2,
|
4 |
+
"early_stopping": true,
|
5 |
+
"eos_token_id": 2,
|
6 |
+
"forced_bos_token_id": 0,
|
7 |
+
"forced_eos_token_id": 2,
|
8 |
+
"no_repeat_ngram_size": 3,
|
9 |
+
"num_beams": 4,
|
10 |
+
"pad_token_id": 1,
|
11 |
+
"transformers_version": "4.36.0.dev0"
|
12 |
+
}
|