Training in progress, step 500
Browse files- .gitattributes +2 -0
- README.md +72 -0
- config.json +55 -0
- generation_config.json +18 -0
- source.spm +3 -0
- special_tokens_map.json +5 -0
- target.spm +3 -0
- tokenizer_config.json +39 -0
- training_args.bin +3 -0
- vocab.json +0 -0
.gitattributes
CHANGED
@@ -33,3 +33,5 @@ saved_model/**/* filter=lfs diff=lfs merge=lfs -text
|
|
33 |
*.zip filter=lfs diff=lfs merge=lfs -text
|
34 |
*.zst filter=lfs diff=lfs merge=lfs -text
|
35 |
*tfevents* filter=lfs diff=lfs merge=lfs -text
|
|
|
|
|
|
33 |
*.zip filter=lfs diff=lfs merge=lfs -text
|
34 |
*.zst filter=lfs diff=lfs merge=lfs -text
|
35 |
*tfevents* filter=lfs diff=lfs merge=lfs -text
|
36 |
+
source.spm filter=lfs diff=lfs merge=lfs -text
|
37 |
+
target.spm filter=lfs diff=lfs merge=lfs -text
|
README.md
ADDED
@@ -0,0 +1,72 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
---
|
2 |
+
library_name: transformers
|
3 |
+
license: apache-2.0
|
4 |
+
base_model: Helsinki-NLP/opus-mt-cs-en
|
5 |
+
tags:
|
6 |
+
- generated_from_trainer
|
7 |
+
metrics:
|
8 |
+
- bleu
|
9 |
+
model-index:
|
10 |
+
- name: opus-mt-cs-en-Prefix-Finetuned
|
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 |
+
# opus-mt-cs-en-Prefix-Finetuned
|
18 |
+
|
19 |
+
This model is a fine-tuned version of [Helsinki-NLP/opus-mt-cs-en](https://huggingface.co/Helsinki-NLP/opus-mt-cs-en) on an unknown dataset.
|
20 |
+
It achieves the following results on the evaluation set:
|
21 |
+
- Loss: 0.7602
|
22 |
+
- Model Preparation Time: 0.002
|
23 |
+
- Bleu: 61.8879
|
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: 220
|
44 |
+
- eval_batch_size: 700
|
45 |
+
- seed: 42
|
46 |
+
- optimizer: Use OptimizerNames.ADAMW_TORCH with betas=(0.9,0.999) and epsilon=1e-08 and optimizer_args=No additional optimizer arguments
|
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 | Model Preparation Time | Bleu |
|
54 |
+
|:-------------:|:-----:|:-----:|:---------------:|:----------------------:|:-------:|
|
55 |
+
| 0.8318 | 1.0 | 1566 | 0.7638 | 0.002 | 60.8554 |
|
56 |
+
| 0.7529 | 2.0 | 3132 | 0.7509 | 0.002 | 62.3726 |
|
57 |
+
| 0.7007 | 3.0 | 4698 | 0.7462 | 0.002 | 61.6776 |
|
58 |
+
| 0.656 | 4.0 | 6264 | 0.7484 | 0.002 | 62.3136 |
|
59 |
+
| 0.6315 | 5.0 | 7830 | 0.7498 | 0.002 | 62.4913 |
|
60 |
+
| 0.6032 | 6.0 | 9396 | 0.7528 | 0.002 | 62.2276 |
|
61 |
+
| 0.5806 | 7.0 | 10962 | 0.7544 | 0.002 | 61.8519 |
|
62 |
+
| 0.567 | 8.0 | 12528 | 0.7583 | 0.002 | 61.9396 |
|
63 |
+
| 0.5552 | 9.0 | 14094 | 0.7592 | 0.002 | 61.9722 |
|
64 |
+
| 0.5437 | 10.0 | 15660 | 0.7602 | 0.002 | 61.8879 |
|
65 |
+
|
66 |
+
|
67 |
+
### Framework versions
|
68 |
+
|
69 |
+
- Transformers 4.51.3
|
70 |
+
- Pytorch 2.7.0+cu126
|
71 |
+
- Datasets 3.6.0
|
72 |
+
- Tokenizers 0.21.1
|
config.json
ADDED
@@ -0,0 +1,55 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"_num_labels": 3,
|
3 |
+
"activation_dropout": 0.0,
|
4 |
+
"activation_function": "swish",
|
5 |
+
"add_bias_logits": false,
|
6 |
+
"add_final_layer_norm": false,
|
7 |
+
"architectures": [
|
8 |
+
"MarianMTModel"
|
9 |
+
],
|
10 |
+
"attention_dropout": 0.0,
|
11 |
+
"bos_token_id": 0,
|
12 |
+
"classif_dropout": 0.0,
|
13 |
+
"classifier_dropout": 0.0,
|
14 |
+
"d_model": 512,
|
15 |
+
"decoder_attention_heads": 8,
|
16 |
+
"decoder_ffn_dim": 2048,
|
17 |
+
"decoder_layerdrop": 0.0,
|
18 |
+
"decoder_layers": 6,
|
19 |
+
"decoder_start_token_id": 62508,
|
20 |
+
"decoder_vocab_size": 62509,
|
21 |
+
"dropout": 0.1,
|
22 |
+
"encoder_attention_heads": 8,
|
23 |
+
"encoder_ffn_dim": 2048,
|
24 |
+
"encoder_layerdrop": 0.0,
|
25 |
+
"encoder_layers": 6,
|
26 |
+
"eos_token_id": 0,
|
27 |
+
"forced_eos_token_id": 0,
|
28 |
+
"id2label": {
|
29 |
+
"0": "LABEL_0",
|
30 |
+
"1": "LABEL_1",
|
31 |
+
"2": "LABEL_2"
|
32 |
+
},
|
33 |
+
"init_std": 0.02,
|
34 |
+
"is_encoder_decoder": true,
|
35 |
+
"label2id": {
|
36 |
+
"LABEL_0": 0,
|
37 |
+
"LABEL_1": 1,
|
38 |
+
"LABEL_2": 2
|
39 |
+
},
|
40 |
+
"max_length": null,
|
41 |
+
"max_position_embeddings": 512,
|
42 |
+
"model_type": "marian",
|
43 |
+
"normalize_before": false,
|
44 |
+
"normalize_embedding": false,
|
45 |
+
"num_beams": null,
|
46 |
+
"num_hidden_layers": 6,
|
47 |
+
"pad_token_id": 62508,
|
48 |
+
"scale_embedding": true,
|
49 |
+
"share_encoder_decoder_embeddings": true,
|
50 |
+
"static_position_embeddings": true,
|
51 |
+
"torch_dtype": "float32",
|
52 |
+
"transformers_version": "4.51.3",
|
53 |
+
"use_cache": true,
|
54 |
+
"vocab_size": 62509
|
55 |
+
}
|
generation_config.json
ADDED
@@ -0,0 +1,18 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"bad_words_ids": [
|
3 |
+
[
|
4 |
+
62508
|
5 |
+
]
|
6 |
+
],
|
7 |
+
"bos_token_id": 0,
|
8 |
+
"decoder_start_token_id": 62508,
|
9 |
+
"early_stopping": true,
|
10 |
+
"eos_token_id": 0,
|
11 |
+
"forced_eos_token_id": 0,
|
12 |
+
"max_length": 512,
|
13 |
+
"max_new_tokens": 60,
|
14 |
+
"num_beams": 4,
|
15 |
+
"pad_token_id": 62508,
|
16 |
+
"renormalize_logits": true,
|
17 |
+
"transformers_version": "4.51.3"
|
18 |
+
}
|
source.spm
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:a2e6d98cdd54d80ad404ad493a7755e723c8d619e998840eba682e3e3fe25e33
|
3 |
+
size 829548
|
special_tokens_map.json
ADDED
@@ -0,0 +1,5 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"eos_token": "</s>",
|
3 |
+
"pad_token": "<pad>",
|
4 |
+
"unk_token": "<unk>"
|
5 |
+
}
|
target.spm
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:8cb772d24cbd559a9e0c5dfd4726e1201b07497af59189f107dd812bff1909e7
|
3 |
+
size 788721
|
tokenizer_config.json
ADDED
@@ -0,0 +1,39 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"added_tokens_decoder": {
|
3 |
+
"0": {
|
4 |
+
"content": "</s>",
|
5 |
+
"lstrip": false,
|
6 |
+
"normalized": false,
|
7 |
+
"rstrip": false,
|
8 |
+
"single_word": false,
|
9 |
+
"special": true
|
10 |
+
},
|
11 |
+
"1": {
|
12 |
+
"content": "<unk>",
|
13 |
+
"lstrip": false,
|
14 |
+
"normalized": false,
|
15 |
+
"rstrip": false,
|
16 |
+
"single_word": false,
|
17 |
+
"special": true
|
18 |
+
},
|
19 |
+
"62508": {
|
20 |
+
"content": "<pad>",
|
21 |
+
"lstrip": false,
|
22 |
+
"normalized": false,
|
23 |
+
"rstrip": false,
|
24 |
+
"single_word": false,
|
25 |
+
"special": true
|
26 |
+
}
|
27 |
+
},
|
28 |
+
"clean_up_tokenization_spaces": false,
|
29 |
+
"eos_token": "</s>",
|
30 |
+
"extra_special_tokens": {},
|
31 |
+
"model_max_length": 512,
|
32 |
+
"pad_token": "<pad>",
|
33 |
+
"separate_vocabs": false,
|
34 |
+
"source_lang": "cs",
|
35 |
+
"sp_model_kwargs": {},
|
36 |
+
"target_lang": "en",
|
37 |
+
"tokenizer_class": "MarianTokenizer",
|
38 |
+
"unk_token": "<unk>"
|
39 |
+
}
|
training_args.bin
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:9bb9c4cf5ed9a82ea8e775443e27396fbfbfb3434a62f2a1a8052e616464b866
|
3 |
+
size 8209
|
vocab.json
ADDED
The diff for this file is too large to render.
See raw diff
|
|