matekadlicsko
commited on
Commit
•
e8a0071
1
Parent(s):
0fb987d
End of training
Browse files
README.md
ADDED
@@ -0,0 +1,72 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
---
|
2 |
+
license: cc-by-4.0
|
3 |
+
base_model: Helsinki-NLP/opus-mt-tc-big-hu-en
|
4 |
+
tags:
|
5 |
+
- generated_from_trainer
|
6 |
+
metrics:
|
7 |
+
- bleu
|
8 |
+
model-index:
|
9 |
+
- name: output
|
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 |
+
# output
|
17 |
+
|
18 |
+
This model is a fine-tuned version of [Helsinki-NLP/opus-mt-tc-big-hu-en](https://huggingface.co/Helsinki-NLP/opus-mt-tc-big-hu-en) on the None dataset.
|
19 |
+
It achieves the following results on the evaluation set:
|
20 |
+
- Loss: 1.1956
|
21 |
+
- Bleu: 39.6514
|
22 |
+
- Gen Len: 51.7972
|
23 |
+
|
24 |
+
## Model description
|
25 |
+
|
26 |
+
More information needed
|
27 |
+
|
28 |
+
## Intended uses & limitations
|
29 |
+
|
30 |
+
More information needed
|
31 |
+
|
32 |
+
## Training and evaluation data
|
33 |
+
|
34 |
+
More information needed
|
35 |
+
|
36 |
+
## Training procedure
|
37 |
+
|
38 |
+
### Training hyperparameters
|
39 |
+
|
40 |
+
The following hyperparameters were used during training:
|
41 |
+
- learning_rate: 5e-05
|
42 |
+
- train_batch_size: 16
|
43 |
+
- eval_batch_size: 16
|
44 |
+
- seed: 42
|
45 |
+
- optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
|
46 |
+
- lr_scheduler_type: linear
|
47 |
+
- num_epochs: 3
|
48 |
+
|
49 |
+
### Training results
|
50 |
+
|
51 |
+
| Training Loss | Epoch | Step | Validation Loss | Bleu | Gen Len |
|
52 |
+
|:-------------:|:-----:|:----:|:---------------:|:-------:|:-------:|
|
53 |
+
| No log | 0.23 | 150 | 1.2390 | 37.7285 | 51.2344 |
|
54 |
+
| No log | 0.46 | 300 | 1.2198 | 38.0141 | 50.9959 |
|
55 |
+
| No log | 0.7 | 450 | 1.1969 | 38.4344 | 51.464 |
|
56 |
+
| 1.2949 | 0.93 | 600 | 1.1898 | 38.6658 | 51.379 |
|
57 |
+
| 1.2949 | 1.16 | 750 | 1.1968 | 38.646 | 51.34 |
|
58 |
+
| 1.2949 | 1.39 | 900 | 1.1948 | 38.9869 | 51.7807 |
|
59 |
+
| 1.0345 | 1.62 | 1050 | 1.1866 | 39.1708 | 51.7604 |
|
60 |
+
| 1.0345 | 1.85 | 1200 | 1.1792 | 39.4682 | 51.661 |
|
61 |
+
| 1.0345 | 2.09 | 1350 | 1.1974 | 39.5432 | 51.882 |
|
62 |
+
| 0.8679 | 2.32 | 1500 | 1.1971 | 39.5958 | 51.7895 |
|
63 |
+
| 0.8679 | 2.55 | 1650 | 1.1980 | 39.5926 | 52.0244 |
|
64 |
+
| 0.8679 | 2.78 | 1800 | 1.1961 | 39.6369 | 51.8143 |
|
65 |
+
|
66 |
+
|
67 |
+
### Framework versions
|
68 |
+
|
69 |
+
- Transformers 4.35.2
|
70 |
+
- Pytorch 2.1.0+cu121
|
71 |
+
- Datasets 2.16.1
|
72 |
+
- Tokenizers 0.15.0
|
config.json
ADDED
@@ -0,0 +1,46 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"_name_or_path": "Helsinki-NLP/opus-mt-tc-big-hu-en",
|
3 |
+
"activation_dropout": 0.0,
|
4 |
+
"activation_function": "relu",
|
5 |
+
"architectures": [
|
6 |
+
"MarianMTModel"
|
7 |
+
],
|
8 |
+
"attention_dropout": 0.0,
|
9 |
+
"bad_words_ids": [
|
10 |
+
[
|
11 |
+
56972
|
12 |
+
]
|
13 |
+
],
|
14 |
+
"bos_token_id": 0,
|
15 |
+
"classifier_dropout": 0.0,
|
16 |
+
"d_model": 1024,
|
17 |
+
"decoder_attention_heads": 16,
|
18 |
+
"decoder_ffn_dim": 4096,
|
19 |
+
"decoder_layerdrop": 0.0,
|
20 |
+
"decoder_layers": 6,
|
21 |
+
"decoder_start_token_id": 56972,
|
22 |
+
"decoder_vocab_size": 56973,
|
23 |
+
"dropout": 0.1,
|
24 |
+
"encoder_attention_heads": 16,
|
25 |
+
"encoder_ffn_dim": 4096,
|
26 |
+
"encoder_layerdrop": 0.0,
|
27 |
+
"encoder_layers": 6,
|
28 |
+
"eos_token_id": 44513,
|
29 |
+
"forced_eos_token_id": 44513,
|
30 |
+
"init_std": 0.02,
|
31 |
+
"is_encoder_decoder": true,
|
32 |
+
"max_length": 512,
|
33 |
+
"max_position_embeddings": 1024,
|
34 |
+
"model_type": "marian",
|
35 |
+
"normalize_embedding": false,
|
36 |
+
"num_beams": 4,
|
37 |
+
"num_hidden_layers": 6,
|
38 |
+
"pad_token_id": 56972,
|
39 |
+
"scale_embedding": true,
|
40 |
+
"share_encoder_decoder_embeddings": true,
|
41 |
+
"static_position_embeddings": true,
|
42 |
+
"torch_dtype": "float32",
|
43 |
+
"transformers_version": "4.35.2",
|
44 |
+
"use_cache": true,
|
45 |
+
"vocab_size": 56973
|
46 |
+
}
|
generation_config.json
ADDED
@@ -0,0 +1,16 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"bad_words_ids": [
|
3 |
+
[
|
4 |
+
56972
|
5 |
+
]
|
6 |
+
],
|
7 |
+
"bos_token_id": 0,
|
8 |
+
"decoder_start_token_id": 56972,
|
9 |
+
"eos_token_id": 44513,
|
10 |
+
"forced_eos_token_id": 44513,
|
11 |
+
"max_length": 512,
|
12 |
+
"num_beams": 4,
|
13 |
+
"pad_token_id": 56972,
|
14 |
+
"renormalize_logits": true,
|
15 |
+
"transformers_version": "4.35.2"
|
16 |
+
}
|
model.safetensors
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:7cce19520f9db1de383e73332c3145a4affd3be0c81c19574f4aad712e458534
|
3 |
+
size 939048420
|
runs/Jan17_12-13-43_5768cf0c6de0/events.out.tfevents.1705494029.5768cf0c6de0.289.0
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:38ad473b22d1f14f0bb14411aeacdb814b17eef84c967cbbd9bc64865a3d094e
|
3 |
+
size 10389
|
runs/Jan17_12-13-43_5768cf0c6de0/events.out.tfevents.1705500791.5768cf0c6de0.289.1
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:24cfd74ad2703e4d95e4665dce0653ab880abf42d2e3519ae1617ba971cd00c1
|
3 |
+
size 458
|
training_args.bin
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:0dc80a6a5c6a36dad78d56776aad7c3b2f11456305f2e22ba1fb6d84d99bbc63
|
3 |
+
size 4664
|