chamdentimem
commited on
Commit
•
53800ee
1
Parent(s):
8d6e72f
End of training
Browse files- README.md +8 -8
- config.json +7 -7
- generation_config.json +3 -3
- model.safetensors +2 -2
- runs/May13_15-28-00_00387894e89d/events.out.tfevents.1715614091.00387894e89d.4653.2 +3 -0
- runs/May13_15-28-00_00387894e89d/events.out.tfevents.1715617920.00387894e89d.4653.3 +3 -0
- source.spm +0 -0
- target.spm +0 -0
- tokenizer_config.json +3 -3
- training_args.bin +1 -1
- vocab.json +0 -0
README.md
CHANGED
@@ -1,6 +1,6 @@
|
|
1 |
---
|
2 |
license: apache-2.0
|
3 |
-
base_model: Helsinki-NLP/opus-mt-en-
|
4 |
tags:
|
5 |
- generated_from_trainer
|
6 |
metrics:
|
@@ -15,11 +15,11 @@ should probably proofread and complete it, then remove this comment. -->
|
|
15 |
|
16 |
# Final-DeepLearning
|
17 |
|
18 |
-
This model is a fine-tuned version of [Helsinki-NLP/opus-mt-en-
|
19 |
It achieves the following results on the evaluation set:
|
20 |
-
- Loss:
|
21 |
-
- Bleu:
|
22 |
-
- Gen Len:
|
23 |
|
24 |
## Model description
|
25 |
|
@@ -48,9 +48,9 @@ The following hyperparameters were used during training:
|
|
48 |
|
49 |
### Training results
|
50 |
|
51 |
-
| Training Loss | Epoch | Step
|
52 |
-
|
53 |
-
|
|
54 |
|
55 |
|
56 |
### Framework versions
|
|
|
1 |
---
|
2 |
license: apache-2.0
|
3 |
+
base_model: Helsinki-NLP/opus-mt-en-vi
|
4 |
tags:
|
5 |
- generated_from_trainer
|
6 |
metrics:
|
|
|
15 |
|
16 |
# Final-DeepLearning
|
17 |
|
18 |
+
This model is a fine-tuned version of [Helsinki-NLP/opus-mt-en-vi](https://huggingface.co/Helsinki-NLP/opus-mt-en-vi) on an unknown dataset.
|
19 |
It achieves the following results on the evaluation set:
|
20 |
+
- Loss: 1.6884
|
21 |
+
- Bleu: 26.3182
|
22 |
+
- Gen Len: 11.991
|
23 |
|
24 |
## Model description
|
25 |
|
|
|
48 |
|
49 |
### Training results
|
50 |
|
51 |
+
| Training Loss | Epoch | Step | Validation Loss | Bleu | Gen Len |
|
52 |
+
|:-------------:|:-----:|:-----:|:---------------:|:-------:|:-------:|
|
53 |
+
| 1.697 | 1.0 | 31250 | 1.6884 | 26.3182 | 11.991 |
|
54 |
|
55 |
|
56 |
### Framework versions
|
config.json
CHANGED
@@ -1,6 +1,5 @@
|
|
1 |
{
|
2 |
-
"_name_or_path": "Helsinki-NLP/opus-mt-en-
|
3 |
-
"_num_labels": 3,
|
4 |
"activation_dropout": 0.0,
|
5 |
"activation_function": "swish",
|
6 |
"add_bias_logits": false,
|
@@ -11,7 +10,7 @@
|
|
11 |
"attention_dropout": 0.0,
|
12 |
"bad_words_ids": [
|
13 |
[
|
14 |
-
|
15 |
]
|
16 |
],
|
17 |
"bos_token_id": 0,
|
@@ -22,14 +21,15 @@
|
|
22 |
"decoder_ffn_dim": 2048,
|
23 |
"decoder_layerdrop": 0.0,
|
24 |
"decoder_layers": 6,
|
25 |
-
"decoder_start_token_id":
|
26 |
-
"decoder_vocab_size":
|
27 |
"dropout": 0.1,
|
28 |
"encoder_attention_heads": 8,
|
29 |
"encoder_ffn_dim": 2048,
|
30 |
"encoder_layerdrop": 0.0,
|
31 |
"encoder_layers": 6,
|
32 |
"eos_token_id": 0,
|
|
|
33 |
"forced_eos_token_id": 0,
|
34 |
"id2label": {
|
35 |
"0": "LABEL_0",
|
@@ -50,12 +50,12 @@
|
|
50 |
"normalize_embedding": false,
|
51 |
"num_beams": 4,
|
52 |
"num_hidden_layers": 6,
|
53 |
-
"pad_token_id":
|
54 |
"scale_embedding": true,
|
55 |
"share_encoder_decoder_embeddings": true,
|
56 |
"static_position_embeddings": true,
|
57 |
"torch_dtype": "float32",
|
58 |
"transformers_version": "4.40.2",
|
59 |
"use_cache": true,
|
60 |
-
"vocab_size":
|
61 |
}
|
|
|
1 |
{
|
2 |
+
"_name_or_path": "Helsinki-NLP/opus-mt-en-vi",
|
|
|
3 |
"activation_dropout": 0.0,
|
4 |
"activation_function": "swish",
|
5 |
"add_bias_logits": false,
|
|
|
10 |
"attention_dropout": 0.0,
|
11 |
"bad_words_ids": [
|
12 |
[
|
13 |
+
53684
|
14 |
]
|
15 |
],
|
16 |
"bos_token_id": 0,
|
|
|
21 |
"decoder_ffn_dim": 2048,
|
22 |
"decoder_layerdrop": 0.0,
|
23 |
"decoder_layers": 6,
|
24 |
+
"decoder_start_token_id": 53684,
|
25 |
+
"decoder_vocab_size": 53685,
|
26 |
"dropout": 0.1,
|
27 |
"encoder_attention_heads": 8,
|
28 |
"encoder_ffn_dim": 2048,
|
29 |
"encoder_layerdrop": 0.0,
|
30 |
"encoder_layers": 6,
|
31 |
"eos_token_id": 0,
|
32 |
+
"extra_pos_embeddings": 53685,
|
33 |
"forced_eos_token_id": 0,
|
34 |
"id2label": {
|
35 |
"0": "LABEL_0",
|
|
|
50 |
"normalize_embedding": false,
|
51 |
"num_beams": 4,
|
52 |
"num_hidden_layers": 6,
|
53 |
+
"pad_token_id": 53684,
|
54 |
"scale_embedding": true,
|
55 |
"share_encoder_decoder_embeddings": true,
|
56 |
"static_position_embeddings": true,
|
57 |
"torch_dtype": "float32",
|
58 |
"transformers_version": "4.40.2",
|
59 |
"use_cache": true,
|
60 |
+
"vocab_size": 53685
|
61 |
}
|
generation_config.json
CHANGED
@@ -1,16 +1,16 @@
|
|
1 |
{
|
2 |
"bad_words_ids": [
|
3 |
[
|
4 |
-
|
5 |
]
|
6 |
],
|
7 |
"bos_token_id": 0,
|
8 |
-
"decoder_start_token_id":
|
9 |
"eos_token_id": 0,
|
10 |
"forced_eos_token_id": 0,
|
11 |
"max_length": 512,
|
12 |
"num_beams": 4,
|
13 |
-
"pad_token_id":
|
14 |
"renormalize_logits": true,
|
15 |
"transformers_version": "4.40.2"
|
16 |
}
|
|
|
1 |
{
|
2 |
"bad_words_ids": [
|
3 |
[
|
4 |
+
53684
|
5 |
]
|
6 |
],
|
7 |
"bos_token_id": 0,
|
8 |
+
"decoder_start_token_id": 53684,
|
9 |
"eos_token_id": 0,
|
10 |
"forced_eos_token_id": 0,
|
11 |
"max_length": 512,
|
12 |
"num_beams": 4,
|
13 |
+
"pad_token_id": 53684,
|
14 |
"renormalize_logits": true,
|
15 |
"transformers_version": "4.40.2"
|
16 |
}
|
model.safetensors
CHANGED
@@ -1,3 +1,3 @@
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
-
oid sha256:
|
3 |
-
size
|
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:d4ee024a57cfa5771019d1d3b732dc1364269496744972103d3df06e8f943c22
|
3 |
+
size 286744660
|
runs/May13_15-28-00_00387894e89d/events.out.tfevents.1715614091.00387894e89d.4653.2
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:1d3d154fcf346807107e8e701ebab42324a87a724cd3b6f47a9ac7aaac2b29df
|
3 |
+
size 19509
|
runs/May13_15-28-00_00387894e89d/events.out.tfevents.1715617920.00387894e89d.4653.3
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:6951e6fd2b3011fc53c93ea2786d039500a210ef488cc5847194ea7aed2fc1ce
|
3 |
+
size 465
|
source.spm
CHANGED
Binary files a/source.spm and b/source.spm differ
|
|
target.spm
CHANGED
Binary files a/target.spm and b/target.spm differ
|
|
tokenizer_config.json
CHANGED
@@ -16,7 +16,7 @@
|
|
16 |
"single_word": false,
|
17 |
"special": true
|
18 |
},
|
19 |
-
"
|
20 |
"content": "<pad>",
|
21 |
"lstrip": false,
|
22 |
"normalized": false,
|
@@ -30,9 +30,9 @@
|
|
30 |
"model_max_length": 512,
|
31 |
"pad_token": "<pad>",
|
32 |
"separate_vocabs": false,
|
33 |
-
"source_lang": "
|
34 |
"sp_model_kwargs": {},
|
35 |
-
"target_lang": "
|
36 |
"tokenizer_class": "MarianTokenizer",
|
37 |
"unk_token": "<unk>"
|
38 |
}
|
|
|
16 |
"single_word": false,
|
17 |
"special": true
|
18 |
},
|
19 |
+
"53684": {
|
20 |
"content": "<pad>",
|
21 |
"lstrip": false,
|
22 |
"normalized": false,
|
|
|
30 |
"model_max_length": 512,
|
31 |
"pad_token": "<pad>",
|
32 |
"separate_vocabs": false,
|
33 |
+
"source_lang": "eng",
|
34 |
"sp_model_kwargs": {},
|
35 |
+
"target_lang": "vie",
|
36 |
"tokenizer_class": "MarianTokenizer",
|
37 |
"unk_token": "<unk>"
|
38 |
}
|
training_args.bin
CHANGED
@@ -1,3 +1,3 @@
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
-
oid sha256:
|
3 |
size 5112
|
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:4d349494ae8156305e09efcc20439fc982f8dcb380124342c5e9a68d7c3a07af
|
3 |
size 5112
|
vocab.json
CHANGED
The diff for this file is too large to render.
See raw diff
|
|