Upload 6 files
Browse files- config.json +34 -0
- generation_config.json +8 -0
- pytorch_model.bin +3 -0
- pytorch_model.pth +3 -0
- special_tokens_map.json +20 -0
- tokenizer_config.json +24 -0
config.json
ADDED
|
@@ -0,0 +1,34 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"_name_or_path": "./fine_tuned_plsql_to_java_model",
|
| 3 |
+
"activation_dropout": 0.0,
|
| 4 |
+
"activation_function": "gelu",
|
| 5 |
+
"architectures": [
|
| 6 |
+
"PLBartForConditionalGeneration"
|
| 7 |
+
],
|
| 8 |
+
"attention_dropout": 0.1,
|
| 9 |
+
"bos_token_id": 0,
|
| 10 |
+
"classifier_dropout": 0.0,
|
| 11 |
+
"d_model": 768,
|
| 12 |
+
"decoder_attention_heads": 12,
|
| 13 |
+
"decoder_ffn_dim": 3072,
|
| 14 |
+
"decoder_layerdrop": 0.0,
|
| 15 |
+
"decoder_layers": 6,
|
| 16 |
+
"dropout": 0.1,
|
| 17 |
+
"encoder_attention_heads": 12,
|
| 18 |
+
"encoder_ffn_dim": 3072,
|
| 19 |
+
"encoder_layerdrop": 0.0,
|
| 20 |
+
"encoder_layers": 6,
|
| 21 |
+
"eos_token_id": 2,
|
| 22 |
+
"forced_eos_token_id": 2,
|
| 23 |
+
"init_std": 0.02,
|
| 24 |
+
"is_encoder_decoder": true,
|
| 25 |
+
"max_position_embeddings": 1024,
|
| 26 |
+
"model_type": "plbart",
|
| 27 |
+
"num_hidden_layers": 6,
|
| 28 |
+
"pad_token_id": 1,
|
| 29 |
+
"scale_embedding": true,
|
| 30 |
+
"torch_dtype": "float32",
|
| 31 |
+
"transformers_version": "4.27.2",
|
| 32 |
+
"use_cache": true,
|
| 33 |
+
"vocab_size": 50005
|
| 34 |
+
}
|
generation_config.json
ADDED
|
@@ -0,0 +1,8 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"_from_model_config": true,
|
| 3 |
+
"bos_token_id": 0,
|
| 4 |
+
"eos_token_id": 2,
|
| 5 |
+
"forced_eos_token_id": 2,
|
| 6 |
+
"pad_token_id": 1,
|
| 7 |
+
"transformers_version": "4.27.2"
|
| 8 |
+
}
|
pytorch_model.bin
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:db2d005e621969c4e6a23ac79b0555b9c9534bcd9fb886510604613838c056dc
|
| 3 |
+
size 557168218
|
pytorch_model.pth
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:9810a2f2e882ff070d541c9e2853db3f84ce4e4164cee0a2d11b91f60bcd8f1a
|
| 3 |
+
size 557179034
|
special_tokens_map.json
ADDED
|
@@ -0,0 +1,20 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"additional_special_tokens": [
|
| 3 |
+
"__java__",
|
| 4 |
+
"__python__",
|
| 5 |
+
"__en_XX__"
|
| 6 |
+
],
|
| 7 |
+
"bos_token": "<s>",
|
| 8 |
+
"cls_token": "<s>",
|
| 9 |
+
"eos_token": "</s>",
|
| 10 |
+
"mask_token": {
|
| 11 |
+
"content": "<mask>",
|
| 12 |
+
"lstrip": true,
|
| 13 |
+
"normalized": true,
|
| 14 |
+
"rstrip": false,
|
| 15 |
+
"single_word": false
|
| 16 |
+
},
|
| 17 |
+
"pad_token": "<pad>",
|
| 18 |
+
"sep_token": "</s>",
|
| 19 |
+
"unk_token": "<unk>"
|
| 20 |
+
}
|
tokenizer_config.json
ADDED
|
@@ -0,0 +1,24 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"additional_special_tokens": null,
|
| 3 |
+
"bos_token": "<s>",
|
| 4 |
+
"cls_token": "<s>",
|
| 5 |
+
"eos_token": "</s>",
|
| 6 |
+
"language_codes": "base",
|
| 7 |
+
"mask_token": {
|
| 8 |
+
"__type": "AddedToken",
|
| 9 |
+
"content": "<mask>",
|
| 10 |
+
"lstrip": true,
|
| 11 |
+
"normalized": true,
|
| 12 |
+
"rstrip": false,
|
| 13 |
+
"single_word": false
|
| 14 |
+
},
|
| 15 |
+
"model_max_length": 1024,
|
| 16 |
+
"pad_token": "<pad>",
|
| 17 |
+
"sep_token": "</s>",
|
| 18 |
+
"sp_model_kwargs": {},
|
| 19 |
+
"special_tokens_map_file": null,
|
| 20 |
+
"src_lang": null,
|
| 21 |
+
"tgt_lang": null,
|
| 22 |
+
"tokenizer_class": "PLBartTokenizer",
|
| 23 |
+
"unk_token": "<unk>"
|
| 24 |
+
}
|