Update config.json
Browse files- config.json +57 -0
config.json
ADDED
@@ -0,0 +1,57 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"architectures": [
|
3 |
+
"ReformerModelWithLMHead"
|
4 |
+
],
|
5 |
+
"attention_head_size": 128,
|
6 |
+
"attn_layers": [
|
7 |
+
"local",
|
8 |
+
"local",
|
9 |
+
"lsh",
|
10 |
+
"local",
|
11 |
+
"local",
|
12 |
+
"local",
|
13 |
+
"lsh",
|
14 |
+
"local",
|
15 |
+
"local",
|
16 |
+
"local",
|
17 |
+
"lsh",
|
18 |
+
"local"
|
19 |
+
],
|
20 |
+
"axial_norm_std": 1.0,
|
21 |
+
"axial_pos_embds": true,
|
22 |
+
"axial_pos_embds_dim": [
|
23 |
+
256,
|
24 |
+
768
|
25 |
+
],
|
26 |
+
"axial_pos_shape": [
|
27 |
+
128,
|
28 |
+
512
|
29 |
+
],
|
30 |
+
"chunk_size_feed_forward": 0,
|
31 |
+
"chunk_size_lm_head": 0,
|
32 |
+
"eos_token_id": 2,
|
33 |
+
"feed_forward_size": 4096,
|
34 |
+
"hash_seed": null,
|
35 |
+
"hidden_act": "relu",
|
36 |
+
"hidden_dropout_prob": 0.2,
|
37 |
+
"hidden_size": 1024,
|
38 |
+
"initializer_range": 0.02,
|
39 |
+
"is_decoder": true,
|
40 |
+
"layer_norm_eps": 1e-12,
|
41 |
+
"local_attention_probs_dropout_prob": 0.2,
|
42 |
+
"local_attn_chunk_length": 128,
|
43 |
+
"local_num_chunks_after": 0,
|
44 |
+
"local_num_chunks_before": 1,
|
45 |
+
"lsh_attention_probs_dropout_prob": 0.1,
|
46 |
+
"lsh_attn_chunk_length": 256,
|
47 |
+
"lsh_num_chunks_after": 0,
|
48 |
+
"lsh_num_chunks_before": 1,
|
49 |
+
"max_position_embeddings": 65536,
|
50 |
+
"model_type": "reformer",
|
51 |
+
"num_attention_heads": 8,
|
52 |
+
"num_buckets": 512,
|
53 |
+
"num_hashes": 4,
|
54 |
+
"output_past": true,
|
55 |
+
"pad_token_id": 0,
|
56 |
+
"vocab_size": 258
|
57 |
+
}
|