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