Upload folder using huggingface_hub
Browse files- config.json +61 -0
- generation_config.json +15 -0
- model.safetensors +3 -0
- optimizer.pt +3 -0
- rng_state.pth +3 -0
- scheduler.pt +3 -0
- source.spm +0 -0
- special_tokens_map.json +23 -0
- target.spm +0 -0
- tokenizer_config.json +40 -0
- trainer_state.json +83 -0
- training_args.bin +3 -0
- vocab.json +0 -0
config.json
ADDED
@@ -0,0 +1,61 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"_name_or_path": "/home/jupyter/src/en-to-lg/checkpoint-160/",
|
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 |
+
"bad_words_ids": [
|
12 |
+
[
|
13 |
+
64109
|
14 |
+
]
|
15 |
+
],
|
16 |
+
"bos_token_id": 0,
|
17 |
+
"classif_dropout": 0.0,
|
18 |
+
"classifier_dropout": 0.0,
|
19 |
+
"d_model": 512,
|
20 |
+
"decoder_attention_heads": 8,
|
21 |
+
"decoder_ffn_dim": 2048,
|
22 |
+
"decoder_layerdrop": 0.0,
|
23 |
+
"decoder_layers": 6,
|
24 |
+
"decoder_start_token_id": 64109,
|
25 |
+
"decoder_vocab_size": 64110,
|
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": 64110,
|
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": 64109,
|
54 |
+
"scale_embedding": true,
|
55 |
+
"share_encoder_decoder_embeddings": true,
|
56 |
+
"static_position_embeddings": true,
|
57 |
+
"torch_dtype": "float32",
|
58 |
+
"transformers_version": "4.42.3",
|
59 |
+
"use_cache": true,
|
60 |
+
"vocab_size": 64110
|
61 |
+
}
|
generation_config.json
ADDED
@@ -0,0 +1,15 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"bad_words_ids": [
|
3 |
+
[
|
4 |
+
64109
|
5 |
+
]
|
6 |
+
],
|
7 |
+
"bos_token_id": 0,
|
8 |
+
"decoder_start_token_id": 64109,
|
9 |
+
"eos_token_id": 0,
|
10 |
+
"forced_eos_token_id": 0,
|
11 |
+
"max_length": 512,
|
12 |
+
"num_beams": 4,
|
13 |
+
"pad_token_id": 64109,
|
14 |
+
"transformers_version": "4.42.3"
|
15 |
+
}
|
model.safetensors
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:b3db348ab863eb89642f354c5634023bc9b1fa29e55c7227ff317de1cdb47c99
|
3 |
+
size 308136760
|
optimizer.pt
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:b57a716ef23a9b612610cdecf524815626ba5d82fd7d5bd2c0da50655df8a124
|
3 |
+
size 615914106
|
rng_state.pth
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:4ef2636bebde089f4f343f264b26b7356d0e27b1c8b1d1e34b12c70381a25b4f
|
3 |
+
size 14244
|
scheduler.pt
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:fc10121628abb0b56ef05082fb3fb477990eee89139a5e4ec6401699f3f56ffb
|
3 |
+
size 1064
|
source.spm
ADDED
Binary file (790 kB). View file
|
|
special_tokens_map.json
ADDED
@@ -0,0 +1,23 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"eos_token": {
|
3 |
+
"content": "</s>",
|
4 |
+
"lstrip": false,
|
5 |
+
"normalized": false,
|
6 |
+
"rstrip": false,
|
7 |
+
"single_word": false
|
8 |
+
},
|
9 |
+
"pad_token": {
|
10 |
+
"content": "<pad>",
|
11 |
+
"lstrip": false,
|
12 |
+
"normalized": false,
|
13 |
+
"rstrip": false,
|
14 |
+
"single_word": false
|
15 |
+
},
|
16 |
+
"unk_token": {
|
17 |
+
"content": "<unk>",
|
18 |
+
"lstrip": false,
|
19 |
+
"normalized": false,
|
20 |
+
"rstrip": false,
|
21 |
+
"single_word": false
|
22 |
+
}
|
23 |
+
}
|
target.spm
ADDED
Binary file (707 kB). View file
|
|
tokenizer_config.json
ADDED
@@ -0,0 +1,40 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
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 |
+
"64109": {
|
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": true,
|
29 |
+
"eos_token": "</s>",
|
30 |
+
"model_max_length": 512,
|
31 |
+
"pad_token": "<pad>",
|
32 |
+
"separate_vocabs": false,
|
33 |
+
"source_lang": "eng",
|
34 |
+
"sp_model_kwargs": {},
|
35 |
+
"src_lang": "eng_Latn",
|
36 |
+
"target_lang": "mul",
|
37 |
+
"tgt_lang": "lug_Latn",
|
38 |
+
"tokenizer_class": "MarianTokenizer",
|
39 |
+
"unk_token": "<unk>"
|
40 |
+
}
|
trainer_state.json
ADDED
@@ -0,0 +1,83 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"best_metric": 3.8955132961273193,
|
3 |
+
"best_model_checkpoint": "en-to-lg-nllb/checkpoint-126",
|
4 |
+
"epoch": 4.984126984126984,
|
5 |
+
"eval_steps": 50,
|
6 |
+
"global_step": 157,
|
7 |
+
"is_hyper_param_search": false,
|
8 |
+
"is_local_process_zero": true,
|
9 |
+
"is_world_process_zero": true,
|
10 |
+
"log_history": [
|
11 |
+
{
|
12 |
+
"epoch": 0.9841269841269841,
|
13 |
+
"eval_bleu": 4.9826,
|
14 |
+
"eval_gen_len": 21.0615,
|
15 |
+
"eval_loss": 4.006349086761475,
|
16 |
+
"eval_runtime": 25808.7824,
|
17 |
+
"eval_samples_per_second": 13.795,
|
18 |
+
"eval_steps_per_second": 0.862,
|
19 |
+
"step": 31
|
20 |
+
},
|
21 |
+
{
|
22 |
+
"epoch": 2.0,
|
23 |
+
"eval_bleu": 5.1662,
|
24 |
+
"eval_gen_len": 21.0337,
|
25 |
+
"eval_loss": 3.9251999855041504,
|
26 |
+
"eval_runtime": 24598.2105,
|
27 |
+
"eval_samples_per_second": 14.474,
|
28 |
+
"eval_steps_per_second": 0.905,
|
29 |
+
"step": 63
|
30 |
+
},
|
31 |
+
{
|
32 |
+
"epoch": 2.984126984126984,
|
33 |
+
"eval_bleu": 5.1982,
|
34 |
+
"eval_gen_len": 21.0079,
|
35 |
+
"eval_loss": 3.9015612602233887,
|
36 |
+
"eval_runtime": 24397.4743,
|
37 |
+
"eval_samples_per_second": 14.594,
|
38 |
+
"eval_steps_per_second": 0.912,
|
39 |
+
"step": 94
|
40 |
+
},
|
41 |
+
{
|
42 |
+
"epoch": 4.0,
|
43 |
+
"eval_bleu": 5.1957,
|
44 |
+
"eval_gen_len": 21.1682,
|
45 |
+
"eval_loss": 3.8955132961273193,
|
46 |
+
"eval_runtime": 24834.7491,
|
47 |
+
"eval_samples_per_second": 14.337,
|
48 |
+
"eval_steps_per_second": 0.896,
|
49 |
+
"step": 126
|
50 |
+
},
|
51 |
+
{
|
52 |
+
"epoch": 4.984126984126984,
|
53 |
+
"eval_bleu": 5.2696,
|
54 |
+
"eval_gen_len": 20.8579,
|
55 |
+
"eval_loss": 3.8994901180267334,
|
56 |
+
"eval_runtime": 24130.7665,
|
57 |
+
"eval_samples_per_second": 14.755,
|
58 |
+
"eval_steps_per_second": 0.922,
|
59 |
+
"step": 157
|
60 |
+
}
|
61 |
+
],
|
62 |
+
"logging_steps": 500,
|
63 |
+
"max_steps": 310,
|
64 |
+
"num_input_tokens_seen": 0,
|
65 |
+
"num_train_epochs": 10,
|
66 |
+
"save_steps": 1000,
|
67 |
+
"stateful_callbacks": {
|
68 |
+
"TrainerControl": {
|
69 |
+
"args": {
|
70 |
+
"should_epoch_stop": false,
|
71 |
+
"should_evaluate": false,
|
72 |
+
"should_log": false,
|
73 |
+
"should_save": true,
|
74 |
+
"should_training_stop": false
|
75 |
+
},
|
76 |
+
"attributes": {}
|
77 |
+
}
|
78 |
+
},
|
79 |
+
"total_flos": 42631431192576.0,
|
80 |
+
"train_batch_size": 16,
|
81 |
+
"trial_name": null,
|
82 |
+
"trial_params": null
|
83 |
+
}
|
training_args.bin
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:9a3e8ed6d515ab0dd0706dbdef16311b1a9deb0c9391a5d486355035a5ef5af9
|
3 |
+
size 5240
|
vocab.json
ADDED
The diff for this file is too large to render.
See raw diff
|
|