Severian commited on
Commit
147dbbf
1 Parent(s): 62d07a9

Upload JambaForCausalLM

Browse files
Files changed (2) hide show
  1. config.json +7 -22
  2. model.safetensors +1 -1
config.json CHANGED
@@ -1,5 +1,5 @@
1
  {
2
- "_name_or_path": "ai21labs/Jamba-v0.1",
3
  "architectures": [
4
  "JambaForCausalLM"
5
  ],
@@ -18,9 +18,9 @@
18
  "expert_layer_offset": 1,
19
  "expert_layer_period": 2,
20
  "hidden_act": "silu",
21
- "hidden_size": 4096,
22
  "initializer_range": 0.02,
23
- "intermediate_size": 14336,
24
  "mamba_conv_bias": true,
25
  "mamba_d_conv": 4,
26
  "mamba_d_state": 16,
@@ -31,34 +31,19 @@
31
  "model_type": "jamba",
32
  "n_ctx": 262144,
33
  "num_attention_heads": 32,
34
- "num_experts": 16,
35
  "num_experts_per_tok": 2,
36
- "num_hidden_layers": 32,
37
  "num_key_value_heads": 8,
38
  "output_router_logits": false,
39
  "pad_token_id": 0,
40
- "quantization_config": {
41
- "_load_in_4bit": true,
42
- "_load_in_8bit": false,
43
- "bnb_4bit_compute_dtype": "bfloat16",
44
- "bnb_4bit_quant_storage": "bfloat16",
45
- "bnb_4bit_quant_type": "nf4",
46
- "bnb_4bit_use_double_quant": true,
47
- "llm_int8_enable_fp32_cpu_offload": false,
48
- "llm_int8_has_fp16_weight": false,
49
- "llm_int8_skip_modules": null,
50
- "llm_int8_threshold": 6.0,
51
- "load_in_4bit": true,
52
- "load_in_8bit": false,
53
- "quant_method": "bitsandbytes"
54
- },
55
  "rms_norm_eps": 1e-06,
56
  "router_aux_loss_coef": 0.001,
57
  "sliding_window": null,
58
  "tie_word_embeddings": false,
59
- "torch_dtype": "bfloat16",
60
  "transformers_version": "4.40.0.dev0",
61
- "use_cache": false,
62
  "use_mamba_kernels": true,
63
  "vocab_size": 65536
64
  }
 
1
  {
2
+ "_name_or_path": "isemmanuelolowe/PyJamba1B",
3
  "architectures": [
4
  "JambaForCausalLM"
5
  ],
 
18
  "expert_layer_offset": 1,
19
  "expert_layer_period": 2,
20
  "hidden_act": "silu",
21
+ "hidden_size": 1024,
22
  "initializer_range": 0.02,
23
+ "intermediate_size": 2048,
24
  "mamba_conv_bias": true,
25
  "mamba_d_conv": 4,
26
  "mamba_d_state": 16,
 
31
  "model_type": "jamba",
32
  "n_ctx": 262144,
33
  "num_attention_heads": 32,
34
+ "num_experts": 32,
35
  "num_experts_per_tok": 2,
36
+ "num_hidden_layers": 8,
37
  "num_key_value_heads": 8,
38
  "output_router_logits": false,
39
  "pad_token_id": 0,
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
40
  "rms_norm_eps": 1e-06,
41
  "router_aux_loss_coef": 0.001,
42
  "sliding_window": null,
43
  "tie_word_embeddings": false,
44
+ "torch_dtype": "float32",
45
  "transformers_version": "4.40.0.dev0",
46
+ "use_cache": true,
47
  "use_mamba_kernels": true,
48
  "vocab_size": 65536
49
  }
model.safetensors CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:8d7f9f98d09b6238684e825a1d1260e2ceaa0ef18bce9c23a3869039afd07d9a
3
  size 4078582904
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:57420b913700953ace3354ebb72959a9f249eaaad9cdb72246bf94a6d24e0d19
3
  size 4078582904