hf-transformers-bot commited on
Commit
962d557
·
verified ·
1 Parent(s): 12af510

Update tiny models for Mamba2ForCausalLM

Browse files
config.json ADDED
@@ -0,0 +1,45 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "activation_function": "silu",
3
+ "architectures": [
4
+ "Mamba2ForCausalLM"
5
+ ],
6
+ "bos_token_id": 0,
7
+ "chunk_size": 8,
8
+ "conv_kernel": 4,
9
+ "dtype": "float32",
10
+ "eos_token_id": 0,
11
+ "expand": 2,
12
+ "gradient_checkpointing": false,
13
+ "head_dim": 8,
14
+ "hidden_act": "silu",
15
+ "hidden_size": 32,
16
+ "initializer_range": 0.1,
17
+ "is_decoder": true,
18
+ "layer_norm_epsilon": 1e-05,
19
+ "model_type": "mamba2",
20
+ "n_groups": 8,
21
+ "n_positions": 512,
22
+ "num_heads": 8,
23
+ "num_hidden_layers": 2,
24
+ "pad_token_id": 1,
25
+ "rescale_prenorm_residual": false,
26
+ "residual_in_fp32": true,
27
+ "state_size": 2,
28
+ "tie_word_embeddings": false,
29
+ "time_step_floor": 0.0001,
30
+ "time_step_limit": [
31
+ 0.0,
32
+ {
33
+ "__float__": "Infinity"
34
+ }
35
+ ],
36
+ "time_step_max": 0.1,
37
+ "time_step_min": 0.001,
38
+ "time_step_rank": 2,
39
+ "transformers_version": "5.16.0.dev0",
40
+ "type_vocab_size": 16,
41
+ "use_bias": false,
42
+ "use_cache": true,
43
+ "use_conv_bias": true,
44
+ "vocab_size": 50277
45
+ }
generation_config.json ADDED
@@ -0,0 +1,10 @@
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "_from_model_config": true,
3
+ "bos_token_id": 0,
4
+ "eos_token_id": 0,
5
+ "output_attentions": false,
6
+ "output_hidden_states": false,
7
+ "pad_token_id": 1,
8
+ "transformers_version": "5.16.0.dev0",
9
+ "use_cache": true
10
+ }
model.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:d55e3d1c3b0a4133b0f966b62880742ce1303a61a58f8fcf7d2b9712f578fc7c
3
+ size 12937320
tokenizer.json ADDED
The diff for this file is too large to render. See raw diff
 
tokenizer_config.json ADDED
@@ -0,0 +1,14 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "add_prefix_space": false,
3
+ "backend": "tokenizers",
4
+ "bos_token": "<|endoftext|>",
5
+ "eos_token": "<|endoftext|>",
6
+ "errors": "replace",
7
+ "is_local": true,
8
+ "local_files_only": false,
9
+ "model_max_length": 1000000000000000019884624838656,
10
+ "pad_token": "<|padding|>",
11
+ "tokenizer_class": "GPTNeoXTokenizer",
12
+ "trim_offsets": true,
13
+ "unk_token": "<|endoftext|>"
14
+ }