DimaOrekhov
commited on
Commit
•
b195b4a
1
Parent(s):
2666289
transformer method name prediction model
Browse files- config.json +135 -0
- pytorch_model.bin +3 -0
config.json
ADDED
@@ -0,0 +1,135 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"architectures": [
|
3 |
+
"EncoderDecoderModel"
|
4 |
+
],
|
5 |
+
"decoder": {
|
6 |
+
"_name_or_path": "",
|
7 |
+
"add_cross_attention": true,
|
8 |
+
"architectures": null,
|
9 |
+
"attention_probs_dropout_prob": 0.1,
|
10 |
+
"bad_words_ids": null,
|
11 |
+
"bos_token_id": null,
|
12 |
+
"chunk_size_feed_forward": 0,
|
13 |
+
"decoder_start_token_id": null,
|
14 |
+
"diversity_penalty": 0.0,
|
15 |
+
"do_sample": false,
|
16 |
+
"early_stopping": false,
|
17 |
+
"eos_token_id": null,
|
18 |
+
"finetuning_task": null,
|
19 |
+
"gradient_checkpointing": false,
|
20 |
+
"hidden_act": "gelu",
|
21 |
+
"hidden_dropout_prob": 0.1,
|
22 |
+
"hidden_size": 1024,
|
23 |
+
"id2label": {
|
24 |
+
"0": "LABEL_0",
|
25 |
+
"1": "LABEL_1"
|
26 |
+
},
|
27 |
+
"initializer_range": 0.02,
|
28 |
+
"intermediate_size": 4096,
|
29 |
+
"is_decoder": true,
|
30 |
+
"is_encoder_decoder": false,
|
31 |
+
"label2id": {
|
32 |
+
"LABEL_0": 0,
|
33 |
+
"LABEL_1": 1
|
34 |
+
},
|
35 |
+
"layer_norm_eps": 1e-12,
|
36 |
+
"length_penalty": 1.0,
|
37 |
+
"max_length": 20,
|
38 |
+
"max_position_embeddings": 512,
|
39 |
+
"min_length": 0,
|
40 |
+
"model_type": "bert",
|
41 |
+
"no_repeat_ngram_size": 0,
|
42 |
+
"num_attention_heads": 16,
|
43 |
+
"num_beam_groups": 1,
|
44 |
+
"num_beams": 1,
|
45 |
+
"num_hidden_layers": 2,
|
46 |
+
"num_return_sequences": 1,
|
47 |
+
"output_attentions": false,
|
48 |
+
"output_hidden_states": false,
|
49 |
+
"pad_token_id": 0,
|
50 |
+
"position_embedding_type": "absolute",
|
51 |
+
"prefix": null,
|
52 |
+
"pruned_heads": {},
|
53 |
+
"repetition_penalty": 1.0,
|
54 |
+
"return_dict": true,
|
55 |
+
"sep_token_id": null,
|
56 |
+
"task_specific_params": null,
|
57 |
+
"temperature": 1.0,
|
58 |
+
"tie_encoder_decoder": false,
|
59 |
+
"tie_word_embeddings": true,
|
60 |
+
"tokenizer_class": null,
|
61 |
+
"top_k": 50,
|
62 |
+
"top_p": 1.0,
|
63 |
+
"torchscript": false,
|
64 |
+
"type_vocab_size": 2,
|
65 |
+
"use_bfloat16": false,
|
66 |
+
"vocab_size": 49988,
|
67 |
+
"xla_device": null
|
68 |
+
},
|
69 |
+
"encoder": {
|
70 |
+
"_name_or_path": "",
|
71 |
+
"add_cross_attention": false,
|
72 |
+
"architectures": null,
|
73 |
+
"attention_probs_dropout_prob": 0.1,
|
74 |
+
"bad_words_ids": null,
|
75 |
+
"bos_token_id": null,
|
76 |
+
"chunk_size_feed_forward": 0,
|
77 |
+
"decoder_start_token_id": null,
|
78 |
+
"diversity_penalty": 0.0,
|
79 |
+
"do_sample": false,
|
80 |
+
"early_stopping": false,
|
81 |
+
"eos_token_id": null,
|
82 |
+
"finetuning_task": null,
|
83 |
+
"gradient_checkpointing": false,
|
84 |
+
"hidden_act": "gelu",
|
85 |
+
"hidden_dropout_prob": 0.1,
|
86 |
+
"hidden_size": 1024,
|
87 |
+
"id2label": {
|
88 |
+
"0": "LABEL_0",
|
89 |
+
"1": "LABEL_1"
|
90 |
+
},
|
91 |
+
"initializer_range": 0.02,
|
92 |
+
"intermediate_size": 4096,
|
93 |
+
"is_decoder": false,
|
94 |
+
"is_encoder_decoder": false,
|
95 |
+
"label2id": {
|
96 |
+
"LABEL_0": 0,
|
97 |
+
"LABEL_1": 1
|
98 |
+
},
|
99 |
+
"layer_norm_eps": 1e-12,
|
100 |
+
"length_penalty": 1.0,
|
101 |
+
"max_length": 20,
|
102 |
+
"max_position_embeddings": 512,
|
103 |
+
"min_length": 0,
|
104 |
+
"model_type": "bert",
|
105 |
+
"no_repeat_ngram_size": 0,
|
106 |
+
"num_attention_heads": 16,
|
107 |
+
"num_beam_groups": 1,
|
108 |
+
"num_beams": 1,
|
109 |
+
"num_hidden_layers": 6,
|
110 |
+
"num_return_sequences": 1,
|
111 |
+
"output_attentions": false,
|
112 |
+
"output_hidden_states": false,
|
113 |
+
"pad_token_id": 0,
|
114 |
+
"position_embedding_type": "absolute",
|
115 |
+
"prefix": null,
|
116 |
+
"pruned_heads": {},
|
117 |
+
"repetition_penalty": 1.0,
|
118 |
+
"return_dict": true,
|
119 |
+
"sep_token_id": null,
|
120 |
+
"task_specific_params": null,
|
121 |
+
"temperature": 1.0,
|
122 |
+
"tie_encoder_decoder": false,
|
123 |
+
"tie_word_embeddings": true,
|
124 |
+
"tokenizer_class": null,
|
125 |
+
"top_k": 50,
|
126 |
+
"top_p": 1.0,
|
127 |
+
"torchscript": false,
|
128 |
+
"type_vocab_size": 2,
|
129 |
+
"use_bfloat16": false,
|
130 |
+
"vocab_size": 49988,
|
131 |
+
"xla_device": null
|
132 |
+
},
|
133 |
+
"is_encoder_decoder": true,
|
134 |
+
"model_type": "encoder-decoder"
|
135 |
+
}
|
pytorch_model.bin
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:47ff2cda62cffab1aa8784839ca0f39a53f2f89d116314e0a07096983df258b2
|
3 |
+
size 859093259
|