Upload all files
Browse files- config.json +65 -0
- pytorch_model.bin +3 -0
config.json
ADDED
@@ -0,0 +1,65 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"_name_or_path": "/content/drive/MyDrive/CodeT5/pretrained_models/codet5_base",
|
3 |
+
"architectures": [
|
4 |
+
"T5ForConditionalGeneration"
|
5 |
+
],
|
6 |
+
"bos_token_id": 1,
|
7 |
+
"d_ff": 3072,
|
8 |
+
"d_kv": 64,
|
9 |
+
"d_model": 768,
|
10 |
+
"decoder_start_token_id": 0,
|
11 |
+
"dropout_rate": 0.1,
|
12 |
+
"eos_token_id": 2,
|
13 |
+
"feed_forward_proj": "relu",
|
14 |
+
"gradient_checkpointing": false,
|
15 |
+
"id2label": {
|
16 |
+
"0": "LABEL_0"
|
17 |
+
},
|
18 |
+
"initializer_factor": 1.0,
|
19 |
+
"is_encoder_decoder": true,
|
20 |
+
"label2id": {
|
21 |
+
"LABEL_0": 0
|
22 |
+
},
|
23 |
+
"layer_norm_epsilon": 1e-06,
|
24 |
+
"model_type": "t5",
|
25 |
+
"n_positions": 512,
|
26 |
+
"num_decoder_layers": 12,
|
27 |
+
"num_heads": 12,
|
28 |
+
"num_layers": 12,
|
29 |
+
"output_past": true,
|
30 |
+
"pad_token_id": 0,
|
31 |
+
"relative_attention_num_buckets": 32,
|
32 |
+
"task_specific_params": {
|
33 |
+
"summarization": {
|
34 |
+
"early_stopping": true,
|
35 |
+
"length_penalty": 2.0,
|
36 |
+
"max_length": 200,
|
37 |
+
"min_length": 30,
|
38 |
+
"no_repeat_ngram_size": 3,
|
39 |
+
"num_beams": 4,
|
40 |
+
"prefix": "summarize: "
|
41 |
+
},
|
42 |
+
"translation_en_to_de": {
|
43 |
+
"early_stopping": true,
|
44 |
+
"max_length": 300,
|
45 |
+
"num_beams": 4,
|
46 |
+
"prefix": "translate English to German: "
|
47 |
+
},
|
48 |
+
"translation_en_to_fr": {
|
49 |
+
"early_stopping": true,
|
50 |
+
"max_length": 300,
|
51 |
+
"num_beams": 4,
|
52 |
+
"prefix": "translate English to French: "
|
53 |
+
},
|
54 |
+
"translation_en_to_ro": {
|
55 |
+
"early_stopping": true,
|
56 |
+
"max_length": 300,
|
57 |
+
"num_beams": 4,
|
58 |
+
"prefix": "translate English to Romanian: "
|
59 |
+
}
|
60 |
+
},
|
61 |
+
"torch_dtype": "float32",
|
62 |
+
"transformers_version": "4.10.2",
|
63 |
+
"use_cache": true,
|
64 |
+
"vocab_size": 32100
|
65 |
+
}
|
pytorch_model.bin
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:053fbafd36f4011e13fe10f45d588102ffa7448f338443ff787e85360cd5e13c
|
3 |
+
size 891641279
|