Upload config.json
Browse files- config.json +42 -0
config.json
ADDED
@@ -0,0 +1,42 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"_name_or_path": "Stancld/longt5-tglobal-large-16384-pubmed-3k_steps",
|
3 |
+
"architectures": [
|
4 |
+
"LongT5ForConditionalGeneration"
|
5 |
+
],
|
6 |
+
"d_ff": 2816,
|
7 |
+
"d_kv": 64,
|
8 |
+
"d_model": 1024,
|
9 |
+
"decoder_start_token_id": 0,
|
10 |
+
"dense_act_fn": "gelu_new",
|
11 |
+
"dropout_rate": 0.1,
|
12 |
+
"early_stopping": true,
|
13 |
+
"encoder_attention_type": "transient-global",
|
14 |
+
"eos_token_id": 1,
|
15 |
+
"feed_forward_proj": "gated-gelu",
|
16 |
+
"global_block_size": 16,
|
17 |
+
"initializer_factor": 1.0,
|
18 |
+
"is_encoder_decoder": true,
|
19 |
+
"is_gated_act": true,
|
20 |
+
"layer_norm_epsilon": 1e-06,
|
21 |
+
"length_penalty": 0.8,
|
22 |
+
"local_radius": 127,
|
23 |
+
"max_length": 512,
|
24 |
+
"min_length": 100,
|
25 |
+
"model_type": "longt5",
|
26 |
+
"n_positions": 4096,
|
27 |
+
"no_repeat_ngram_size": 3,
|
28 |
+
"num_beams": 2,
|
29 |
+
"num_decoder_layers": 24,
|
30 |
+
"num_heads": 16,
|
31 |
+
"num_layers": 24,
|
32 |
+
"output_past": true,
|
33 |
+
"pad_token_id": 0,
|
34 |
+
"relative_attention_max_distance": 128,
|
35 |
+
"relative_attention_num_buckets": 32,
|
36 |
+
"repetition_penalty": 3.5,
|
37 |
+
"tie_word_embeddings": false,
|
38 |
+
"torch_dtype": "float32",
|
39 |
+
"transformers_version": "4.21.1",
|
40 |
+
"use_cache": true,
|
41 |
+
"vocab_size": 32100
|
42 |
+
}
|