Mellowpont
commited on
Commit
•
46a4d60
1
Parent(s):
450ecec
Mellowpont/modelfornametranslate
Browse files- .gitattributes +1 -0
- README.md +5 -5
- config.json +47 -34
- generation_config.json +12 -7
- model.safetensors +2 -2
- runs/Nov10_15-52-35_635c2182b73f/events.out.tfevents.1699631761.635c2182b73f.29220.0 +3 -0
- runs/Nov10_15-52-35_635c2182b73f/events.out.tfevents.1699632432.635c2182b73f.29220.1 +3 -0
- source.spm +0 -0
- special_tokens_map.json +1 -2
- target.spm +3 -0
- tokenizer_config.json +11 -21
- training_args.bin +1 -1
- vocab.json +0 -0
.gitattributes
CHANGED
@@ -33,3 +33,4 @@ 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 |
+
target.spm filter=lfs diff=lfs merge=lfs -text
|
README.md
CHANGED
@@ -1,6 +1,6 @@
|
|
1 |
---
|
2 |
license: apache-2.0
|
3 |
-
base_model:
|
4 |
tags:
|
5 |
- generated_from_trainer
|
6 |
metrics:
|
@@ -15,11 +15,11 @@ should probably proofread and complete it, then remove this comment. -->
|
|
15 |
|
16 |
# finetuned-model
|
17 |
|
18 |
-
This model is a fine-tuned version of [
|
19 |
It achieves the following results on the evaluation set:
|
20 |
-
- Loss:
|
21 |
-
- Bleu: 0.
|
22 |
-
- Bert Score: 0.
|
23 |
|
24 |
## Model description
|
25 |
|
|
|
1 |
---
|
2 |
license: apache-2.0
|
3 |
+
base_model: Helsinki-NLP/opus-mt-en-ru
|
4 |
tags:
|
5 |
- generated_from_trainer
|
6 |
metrics:
|
|
|
15 |
|
16 |
# finetuned-model
|
17 |
|
18 |
+
This model is a fine-tuned version of [Helsinki-NLP/opus-mt-en-ru](https://huggingface.co/Helsinki-NLP/opus-mt-en-ru) on an unknown dataset.
|
19 |
It achieves the following results on the evaluation set:
|
20 |
+
- Loss: 0.3868
|
21 |
+
- Bleu: 0.0
|
22 |
+
- Bert Score: 0.9776
|
23 |
|
24 |
## Model description
|
25 |
|
config.json
CHANGED
@@ -1,48 +1,61 @@
|
|
1 |
{
|
2 |
-
"_name_or_path": "
|
|
|
3 |
"activation_dropout": 0.0,
|
4 |
-
"activation_function": "
|
|
|
|
|
5 |
"architectures": [
|
6 |
-
"
|
|
|
|
|
|
|
|
|
|
|
|
|
7 |
],
|
8 |
-
"attention_dropout": 0.1,
|
9 |
"bos_token_id": 0,
|
10 |
-
"
|
11 |
-
"
|
12 |
-
|
13 |
-
|
14 |
-
|
15 |
-
|
16 |
-
"decoder_attention_heads": 16,
|
17 |
-
"decoder_ffn_dim": 4096,
|
18 |
-
"decoder_layerdrop": 0,
|
19 |
"decoder_layers": 6,
|
20 |
-
"decoder_start_token_id":
|
21 |
-
"
|
22 |
-
"
|
23 |
-
"
|
24 |
-
"
|
|
|
25 |
"encoder_layers": 6,
|
26 |
-
"eos_token_id":
|
27 |
-
"forced_eos_token_id":
|
|
|
|
|
|
|
|
|
|
|
28 |
"init_std": 0.02,
|
29 |
"is_encoder_decoder": true,
|
30 |
-
"
|
31 |
-
"
|
32 |
-
"
|
33 |
-
|
34 |
-
|
35 |
-
"max_length":
|
36 |
-
"max_position_embeddings":
|
37 |
-
"model_type": "
|
38 |
-
"
|
|
|
|
|
39 |
"num_hidden_layers": 6,
|
40 |
-
"pad_token_id":
|
41 |
"scale_embedding": true,
|
42 |
-
"
|
43 |
-
"
|
44 |
-
"tie_word_embeddings": false,
|
45 |
"torch_dtype": "float32",
|
46 |
"transformers_version": "4.35.0",
|
47 |
-
"use_cache": true
|
|
|
48 |
}
|
|
|
1 |
{
|
2 |
+
"_name_or_path": "Helsinki-NLP/opus-mt-en-ru",
|
3 |
+
"_num_labels": 3,
|
4 |
"activation_dropout": 0.0,
|
5 |
+
"activation_function": "swish",
|
6 |
+
"add_bias_logits": false,
|
7 |
+
"add_final_layer_norm": false,
|
8 |
"architectures": [
|
9 |
+
"MarianMTModel"
|
10 |
+
],
|
11 |
+
"attention_dropout": 0.0,
|
12 |
+
"bad_words_ids": [
|
13 |
+
[
|
14 |
+
62517
|
15 |
+
]
|
16 |
],
|
|
|
17 |
"bos_token_id": 0,
|
18 |
+
"classif_dropout": 0.0,
|
19 |
+
"classifier_dropout": 0.0,
|
20 |
+
"d_model": 512,
|
21 |
+
"decoder_attention_heads": 8,
|
22 |
+
"decoder_ffn_dim": 2048,
|
23 |
+
"decoder_layerdrop": 0.0,
|
|
|
|
|
|
|
24 |
"decoder_layers": 6,
|
25 |
+
"decoder_start_token_id": 62517,
|
26 |
+
"decoder_vocab_size": 62518,
|
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",
|
36 |
+
"1": "LABEL_1",
|
37 |
+
"2": "LABEL_2"
|
38 |
+
},
|
39 |
"init_std": 0.02,
|
40 |
"is_encoder_decoder": true,
|
41 |
+
"label2id": {
|
42 |
+
"LABEL_0": 0,
|
43 |
+
"LABEL_1": 1,
|
44 |
+
"LABEL_2": 2
|
45 |
+
},
|
46 |
+
"max_length": 512,
|
47 |
+
"max_position_embeddings": 512,
|
48 |
+
"model_type": "marian",
|
49 |
+
"normalize_before": false,
|
50 |
+
"normalize_embedding": false,
|
51 |
+
"num_beams": 4,
|
52 |
"num_hidden_layers": 6,
|
53 |
+
"pad_token_id": 62517,
|
54 |
"scale_embedding": true,
|
55 |
+
"share_encoder_decoder_embeddings": true,
|
56 |
+
"static_position_embeddings": true,
|
|
|
57 |
"torch_dtype": "float32",
|
58 |
"transformers_version": "4.35.0",
|
59 |
+
"use_cache": true,
|
60 |
+
"vocab_size": 62518
|
61 |
}
|
generation_config.json
CHANGED
@@ -1,11 +1,16 @@
|
|
1 |
{
|
|
|
|
|
|
|
|
|
|
|
2 |
"bos_token_id": 0,
|
3 |
-
"decoder_start_token_id":
|
4 |
-
"eos_token_id":
|
5 |
-
"forced_eos_token_id":
|
6 |
-
"
|
7 |
-
"
|
8 |
-
"
|
9 |
-
"
|
10 |
"transformers_version": "4.35.0"
|
11 |
}
|
|
|
1 |
{
|
2 |
+
"bad_words_ids": [
|
3 |
+
[
|
4 |
+
62517
|
5 |
+
]
|
6 |
+
],
|
7 |
"bos_token_id": 0,
|
8 |
+
"decoder_start_token_id": 62517,
|
9 |
+
"eos_token_id": 0,
|
10 |
+
"forced_eos_token_id": 0,
|
11 |
+
"max_length": 512,
|
12 |
+
"num_beams": 4,
|
13 |
+
"pad_token_id": 62517,
|
14 |
+
"renormalize_logits": true,
|
15 |
"transformers_version": "4.35.0"
|
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:ca3f19df3b3fc66e0f3caba08339c64f11278efe7ccb8cdc43b4342ef0cb4272
|
3 |
+
size 304869976
|
runs/Nov10_15-52-35_635c2182b73f/events.out.tfevents.1699631761.635c2182b73f.29220.0
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:729389adbf7e3b3752624ab18fbec7a30bebbeefc38bf212f13f99993f44f480
|
3 |
+
size 5739
|
runs/Nov10_15-52-35_635c2182b73f/events.out.tfevents.1699632432.635c2182b73f.29220.1
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:516a6124801c15b3065ad539f8bb8edeb2a1edf05d62952581e8137d5d39afed
|
3 |
+
size 454
|
source.spm
ADDED
Binary file (803 kB). View file
|
|
special_tokens_map.json
CHANGED
@@ -1,6 +1,5 @@
|
|
1 |
{
|
2 |
-
"
|
3 |
"pad_token": "<pad>",
|
4 |
-
"sep_token": "</s>",
|
5 |
"unk_token": "<unk>"
|
6 |
}
|
|
|
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:745998e51ba5b058e38b7ac7765c25c43ed5c1c39cc92b27163b9b2e323c9d7c
|
3 |
+
size 1080169
|
tokenizer_config.json
CHANGED
@@ -1,7 +1,7 @@
|
|
1 |
{
|
2 |
"added_tokens_decoder": {
|
3 |
"0": {
|
4 |
-
"content": "
|
5 |
"lstrip": false,
|
6 |
"normalized": false,
|
7 |
"rstrip": false,
|
@@ -9,23 +9,15 @@
|
|
9 |
"special": true
|
10 |
},
|
11 |
"1": {
|
12 |
-
"content": "<
|
13 |
-
"lstrip": false,
|
14 |
-
"normalized": false,
|
15 |
-
"rstrip": false,
|
16 |
-
"single_word": false,
|
17 |
-
"special": true
|
18 |
-
},
|
19 |
-
"2": {
|
20 |
-
"content": "</s>",
|
21 |
"lstrip": false,
|
22 |
"normalized": false,
|
23 |
"rstrip": false,
|
24 |
"single_word": false,
|
25 |
"special": true
|
26 |
},
|
27 |
-
"
|
28 |
-
"content": "<
|
29 |
"lstrip": false,
|
30 |
"normalized": false,
|
31 |
"rstrip": false,
|
@@ -33,16 +25,14 @@
|
|
33 |
"special": true
|
34 |
}
|
35 |
},
|
36 |
-
"bos_token": "<s>",
|
37 |
"clean_up_tokenization_spaces": true,
|
38 |
-
"
|
39 |
-
"
|
40 |
-
"en",
|
41 |
-
"ru"
|
42 |
-
],
|
43 |
-
"model_max_length": 1024,
|
44 |
"pad_token": "<pad>",
|
45 |
-
"
|
46 |
-
"
|
|
|
|
|
|
|
47 |
"unk_token": "<unk>"
|
48 |
}
|
|
|
1 |
{
|
2 |
"added_tokens_decoder": {
|
3 |
"0": {
|
4 |
+
"content": "</s>",
|
5 |
"lstrip": false,
|
6 |
"normalized": false,
|
7 |
"rstrip": 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 |
+
"62517": {
|
20 |
+
"content": "<pad>",
|
21 |
"lstrip": false,
|
22 |
"normalized": false,
|
23 |
"rstrip": false,
|
|
|
25 |
"special": true
|
26 |
}
|
27 |
},
|
|
|
28 |
"clean_up_tokenization_spaces": true,
|
29 |
+
"eos_token": "</s>",
|
30 |
+
"model_max_length": 512,
|
|
|
|
|
|
|
|
|
31 |
"pad_token": "<pad>",
|
32 |
+
"separate_vocabs": false,
|
33 |
+
"source_lang": "en",
|
34 |
+
"sp_model_kwargs": {},
|
35 |
+
"target_lang": "ru",
|
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 4728
|
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:3328d9d5315b3058b393854b48cc0e6b3f78f8f8866e4a3be1b757583e501f45
|
3 |
size 4728
|
vocab.json
ADDED
The diff for this file is too large to render.
See raw diff
|
|