wannaphong
commited on
Commit
•
8c51bd0
1
Parent(s):
51bac69
Add model
Browse files- config.json +61 -0
- optimizer.pt +3 -0
- pytorch_model.bin +3 -0
- rng_state.pth +3 -0
- scaler.pt +3 -0
- scheduler.pt +3 -0
- source.spm +0 -0
- special_tokens_map.json +5 -0
- target.spm +0 -0
- tokenizer_config.json +13 -0
- trainer_state.json +0 -0
- training_args.bin +3 -0
- vocab.json +0 -0
config.json
ADDED
@@ -0,0 +1,61 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"_num_labels": 3,
|
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 |
+
3
|
14 |
+
]
|
15 |
+
],
|
16 |
+
"bos_token_id": 1,
|
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": 3,
|
25 |
+
"decoder_vocab_size": 5001,
|
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": 2,
|
32 |
+
"forced_eos_token_id": 0,
|
33 |
+
"id2label": {
|
34 |
+
"0": "LABEL_0",
|
35 |
+
"1": "LABEL_1",
|
36 |
+
"2": "LABEL_2"
|
37 |
+
},
|
38 |
+
"init_std": 0.02,
|
39 |
+
"is_encoder_decoder": true,
|
40 |
+
"label2id": {
|
41 |
+
"LABEL_0": 0,
|
42 |
+
"LABEL_1": 1,
|
43 |
+
"LABEL_2": 2
|
44 |
+
},
|
45 |
+
"max_length": 512,
|
46 |
+
"max_position_embeddings": 512,
|
47 |
+
"model_type": "marian",
|
48 |
+
"normalize_before": false,
|
49 |
+
"normalize_embedding": false,
|
50 |
+
"num_beams": 4,
|
51 |
+
"num_hidden_layers": 6,
|
52 |
+
"pad_token_id": 3,
|
53 |
+
"scale_embedding": true,
|
54 |
+
"share_encoder_decoder_embeddings": true,
|
55 |
+
"static_position_embeddings": true,
|
56 |
+
"torch_dtype": "float32",
|
57 |
+
"transformers_version": "4.25.1",
|
58 |
+
"unk_token_id": 0,
|
59 |
+
"use_cache": true,
|
60 |
+
"vocab_size": 5001
|
61 |
+
}
|
optimizer.pt
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:70e0bec3fd776a5877bdf020c1e225f2f03a4f4cc318abf5a8972514a5664223
|
3 |
+
size 373741061
|
pytorch_model.bin
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:8db62a231fda1854229846deb65fa62dae48ba9dfc169c45adc2fadb8606f42a
|
3 |
+
size 186902533
|
rng_state.pth
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:44db6ae5b8e5d9c5d60211b7941660e62fa0374da1b641557e0670806340d75d
|
3 |
+
size 14575
|
scaler.pt
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:d520a4d86925cb81c8b795d4b6a8c49d7f639cfe2181fd54b57bdaaac0c30dc0
|
3 |
+
size 557
|
scheduler.pt
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:4ce8d7691886225330580c0a7e25694dd397b2519037c894de21ef8d0b430407
|
3 |
+
size 627
|
source.spm
ADDED
Binary file (338 kB). View file
|
|
special_tokens_map.json
ADDED
@@ -0,0 +1,5 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"eos_token": "</s>",
|
3 |
+
"pad_token": "<pad>",
|
4 |
+
"unk_token": "<unk>"
|
5 |
+
}
|
target.spm
ADDED
Binary file (338 kB). View file
|
|
tokenizer_config.json
ADDED
@@ -0,0 +1,13 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"eos_token": "</s>",
|
3 |
+
"model_max_length": 512,
|
4 |
+
"name_or_path": "marian-mt",
|
5 |
+
"pad_token": "<pad>",
|
6 |
+
"separate_vocabs": false,
|
7 |
+
"source_lang": null,
|
8 |
+
"sp_model_kwargs": {},
|
9 |
+
"special_tokens_map_file": null,
|
10 |
+
"target_lang": null,
|
11 |
+
"tokenizer_class": "MarianTokenizer",
|
12 |
+
"unk_token": "<unk>"
|
13 |
+
}
|
trainer_state.json
ADDED
The diff for this file is too large to render.
See raw diff
|
|
training_args.bin
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:bb6ae1ab45c4c779df1f89a4aa5ea807ec9abd257a1c7d7ee50ef2ed381f7ba6
|
3 |
+
size 3579
|
vocab.json
ADDED
The diff for this file is too large to render.
See raw diff
|
|