Add model and configuration.
Browse files- config.json +48 -0
- pytorch_model.bin +3 -0
config.json
ADDED
|
@@ -0,0 +1,48 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"attention_head_size": 64,
|
| 3 |
+
"attn_layers": [
|
| 4 |
+
"local",
|
| 5 |
+
"local",
|
| 6 |
+
"local",
|
| 7 |
+
"local"
|
| 8 |
+
],
|
| 9 |
+
"axial_norm_std": 1.0,
|
| 10 |
+
"axial_pos_embds": true,
|
| 11 |
+
"axial_pos_embds_dim": [
|
| 12 |
+
16,
|
| 13 |
+
16
|
| 14 |
+
],
|
| 15 |
+
"axial_pos_shape": [
|
| 16 |
+
4,
|
| 17 |
+
8
|
| 18 |
+
],
|
| 19 |
+
"chunk_size_lm_head": 0,
|
| 20 |
+
"eos_token_id": 2,
|
| 21 |
+
"feed_forward_size": 32,
|
| 22 |
+
"hash_seed": 0,
|
| 23 |
+
"hidden_act": "gelu",
|
| 24 |
+
"hidden_dropout_prob": 0.1,
|
| 25 |
+
"hidden_size": 32,
|
| 26 |
+
"initializer_range": 0.02,
|
| 27 |
+
"is_decoder": true,
|
| 28 |
+
"layer_norm_eps": 1e-12,
|
| 29 |
+
"local_attention_probs_dropout_prob": 0.1,
|
| 30 |
+
"local_attn_chunk_length": 4,
|
| 31 |
+
"local_num_chunks_after": 0,
|
| 32 |
+
"local_num_chunks_before": 1,
|
| 33 |
+
"lsh_attention_probs_dropout_prob": null,
|
| 34 |
+
"lsh_attn_chunk_length": null,
|
| 35 |
+
"lsh_num_chunks_after": null,
|
| 36 |
+
"lsh_num_chunks_before": null,
|
| 37 |
+
"max_position_embeddings": 512,
|
| 38 |
+
"model_type": "reformer",
|
| 39 |
+
"num_attention_heads": 2,
|
| 40 |
+
"num_buckets": null,
|
| 41 |
+
"num_hashes": 1,
|
| 42 |
+
"num_hidden_layers": 4,
|
| 43 |
+
"pad_token_id": 0,
|
| 44 |
+
"tie_word_embeddings": false,
|
| 45 |
+
"transformers_version": "4.10.0.dev0",
|
| 46 |
+
"use_cache": true,
|
| 47 |
+
"vocab_size": 100
|
| 48 |
+
}
|
pytorch_model.bin
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:c8be031ccbff1d52a943941b4f4fe311efcc1cbfaad880c41d4fd220b8d17a1e
|
| 3 |
+
size 368150
|