Model save
Browse files- README.md +67 -0
- generation_config.json +12 -0
- model.safetensors +1 -1
README.md
ADDED
@@ -0,0 +1,67 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
---
|
2 |
+
license: apache-2.0
|
3 |
+
base_model: facebook/bart-base
|
4 |
+
tags:
|
5 |
+
- generated_from_trainer
|
6 |
+
metrics:
|
7 |
+
- wer
|
8 |
+
model-index:
|
9 |
+
- name: bart-kurd-spell-base
|
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 |
+
# bart-kurd-spell-base
|
17 |
+
|
18 |
+
This model is a fine-tuned version of [facebook/bart-base](https://huggingface.co/facebook/bart-base) on the None dataset.
|
19 |
+
It achieves the following results on the evaluation set:
|
20 |
+
- Loss: 0.1942
|
21 |
+
- Cer: 1.5546
|
22 |
+
- Wer: 8.3598
|
23 |
+
- Gen Len: 12.6935
|
24 |
+
|
25 |
+
## Model description
|
26 |
+
|
27 |
+
More information needed
|
28 |
+
|
29 |
+
## Intended uses & limitations
|
30 |
+
|
31 |
+
More information needed
|
32 |
+
|
33 |
+
## Training and evaluation data
|
34 |
+
|
35 |
+
More information needed
|
36 |
+
|
37 |
+
## Training procedure
|
38 |
+
|
39 |
+
### Training hyperparameters
|
40 |
+
|
41 |
+
The following hyperparameters were used during training:
|
42 |
+
- learning_rate: 5e-05
|
43 |
+
- train_batch_size: 256
|
44 |
+
- eval_batch_size: 256
|
45 |
+
- seed: 42
|
46 |
+
- optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
|
47 |
+
- lr_scheduler_type: linear
|
48 |
+
- num_epochs: 10.0
|
49 |
+
|
50 |
+
### Training results
|
51 |
+
|
52 |
+
| Training Loss | Epoch | Step | Validation Loss | Cer | Wer | Gen Len |
|
53 |
+
|:-------------:|:-----:|:------:|:---------------:|:------:|:-------:|:-------:|
|
54 |
+
| 0.4548 | 1.54 | 20000 | 0.4117 | 2.8856 | 13.6181 | 12.7807 |
|
55 |
+
| 0.2723 | 3.07 | 40000 | 0.2736 | 2.1004 | 10.5883 | 12.6808 |
|
56 |
+
| 0.2246 | 4.61 | 60000 | 0.2303 | 1.8035 | 9.4897 | 12.7048 |
|
57 |
+
| 0.1812 | 6.14 | 80000 | 0.2122 | 1.6804 | 8.9349 | 12.6937 |
|
58 |
+
| 0.1693 | 7.68 | 100000 | 0.2001 | 1.589 | 8.5464 | 12.7045 |
|
59 |
+
| 0.1498 | 9.22 | 120000 | 0.1942 | 1.5546 | 8.3598 | 12.6935 |
|
60 |
+
|
61 |
+
|
62 |
+
### Framework versions
|
63 |
+
|
64 |
+
- Transformers 4.34.0.dev0
|
65 |
+
- Pytorch 1.13.1
|
66 |
+
- Datasets 2.14.5
|
67 |
+
- Tokenizers 0.13.3
|
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.34.0.dev0"
|
12 |
+
}
|
model.safetensors
CHANGED
@@ -1,3 +1,3 @@
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
-
oid sha256:
|
3 |
size 557912620
|
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:2dcac9e48668dbe9ffe89ab282f0dc8dced816cda3c2e3db629c971ea0c36109
|
3 |
size 557912620
|