End of training
Browse files- README.md +72 -0
- generation_config.json +16 -0
- model.safetensors +1 -1
README.md
ADDED
@@ -0,0 +1,72 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
---
|
2 |
+
library_name: transformers
|
3 |
+
license: apache-2.0
|
4 |
+
base_model: Helsinki-NLP/opus-mt-ja-en
|
5 |
+
tags:
|
6 |
+
- generated_from_trainer
|
7 |
+
metrics:
|
8 |
+
- bleu
|
9 |
+
model-index:
|
10 |
+
- name: ja2en_helsinki
|
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 |
+
# ja2en_helsinki
|
18 |
+
|
19 |
+
This model is a fine-tuned version of [Helsinki-NLP/opus-mt-ja-en](https://huggingface.co/Helsinki-NLP/opus-mt-ja-en) on the None dataset.
|
20 |
+
It achieves the following results on the evaluation set:
|
21 |
+
- Loss: 1.4235
|
22 |
+
- Bleu: 24.3293
|
23 |
+
- Gen Len: 34.9345
|
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: 2e-05
|
43 |
+
- train_batch_size: 16
|
44 |
+
- eval_batch_size: 16
|
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
|
49 |
+
- mixed_precision_training: Native AMP
|
50 |
+
|
51 |
+
### Training results
|
52 |
+
|
53 |
+
| Training Loss | Epoch | Step | Validation Loss | Bleu | Gen Len |
|
54 |
+
|:-------------:|:-----:|:------:|:---------------:|:-------:|:-------:|
|
55 |
+
| 1.8739 | 1.0 | 27518 | 1.7275 | 20.8396 | 34.3259 |
|
56 |
+
| 1.6828 | 2.0 | 55036 | 1.5887 | 21.5972 | 34.4103 |
|
57 |
+
| 1.5819 | 3.0 | 82554 | 1.5258 | 22.7249 | 34.5991 |
|
58 |
+
| 1.4986 | 4.0 | 110072 | 1.4865 | 23.262 | 34.7543 |
|
59 |
+
| 1.4142 | 5.0 | 137590 | 1.4625 | 23.2547 | 34.8388 |
|
60 |
+
| 1.3783 | 6.0 | 165108 | 1.4501 | 23.7076 | 34.4905 |
|
61 |
+
| 1.333 | 7.0 | 192626 | 1.4357 | 23.7245 | 34.7474 |
|
62 |
+
| 1.3132 | 8.0 | 220144 | 1.4281 | 23.9473 | 35.006 |
|
63 |
+
| 1.2922 | 9.0 | 247662 | 1.4249 | 24.0284 | 34.9741 |
|
64 |
+
| 1.2698 | 10.0 | 275180 | 1.4235 | 24.3293 | 34.9345 |
|
65 |
+
|
66 |
+
|
67 |
+
### Framework versions
|
68 |
+
|
69 |
+
- Transformers 4.45.2
|
70 |
+
- Pytorch 2.5.0+cu118
|
71 |
+
- Datasets 3.0.1
|
72 |
+
- Tokenizers 0.20.1
|
generation_config.json
ADDED
@@ -0,0 +1,16 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"bad_words_ids": [
|
3 |
+
[
|
4 |
+
60715
|
5 |
+
]
|
6 |
+
],
|
7 |
+
"bos_token_id": 0,
|
8 |
+
"decoder_start_token_id": 60715,
|
9 |
+
"eos_token_id": 0,
|
10 |
+
"forced_eos_token_id": 0,
|
11 |
+
"max_length": 512,
|
12 |
+
"num_beams": 6,
|
13 |
+
"pad_token_id": 60715,
|
14 |
+
"renormalize_logits": true,
|
15 |
+
"transformers_version": "4.45.2"
|
16 |
+
}
|
model.safetensors
CHANGED
@@ -1,3 +1,3 @@
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
-
oid sha256:
|
3 |
size 301172272
|
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:fd2bdd086e0fa0cc2f5bb001608f87a7cff7a845a3a258f075a1bdc56d4bb517
|
3 |
size 301172272
|