Maya commited on
Commit ·
4734616
1
Parent(s): d9c5a86
First version of the your-model-name model and tokenizer.
Browse files- config.json +59 -0
- pytorch_model.bin +3 -0
- source.spm +0 -0
- special_tokens_map.json +1 -0
- target.spm +0 -0
- tokenizer_config.json +1 -0
- vocab.json +0 -0
config.json
ADDED
|
@@ -0,0 +1,59 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"_name_or_path": "/content/test-translation/checkpoint-38000",
|
| 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 |
+
59542
|
| 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": 59542,
|
| 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 |
+
"forced_eos_token_id": 0,
|
| 33 |
+
"gradient_checkpointing": false,
|
| 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": 59542,
|
| 54 |
+
"scale_embedding": true,
|
| 55 |
+
"static_position_embeddings": true,
|
| 56 |
+
"transformers_version": "4.5.0",
|
| 57 |
+
"use_cache": true,
|
| 58 |
+
"vocab_size": 59543
|
| 59 |
+
}
|
pytorch_model.bin
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:c53a26ba6cd877be0193af105aa90ff4ab5e07b6ffdd6d52d9478248ee585743
|
| 3 |
+
size 298823453
|
source.spm
ADDED
|
Binary file (789 kB). View file
|
|
|
special_tokens_map.json
ADDED
|
@@ -0,0 +1 @@
|
|
|
|
|
|
|
| 1 |
+
{"eos_token": "</s>", "unk_token": "<unk>", "pad_token": "<pad>"}
|
target.spm
ADDED
|
Binary file (817 kB). View file
|
|
|
tokenizer_config.json
ADDED
|
@@ -0,0 +1 @@
|
|
|
|
|
|
|
| 1 |
+
{"source_lang": "en", "target_lang": "ro", "unk_token": "<unk>", "eos_token": "</s>", "pad_token": "<pad>", "model_max_length": 512, "special_tokens_map_file": null, "tokenizer_file": null, "name_or_path": "/content/test-translation/checkpoint-38000"}
|
vocab.json
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|