mlabonne commited on
Commit
323bb5c
1 Parent(s): 50da4a4

Upload folder using huggingface_hub

Browse files
config.json ADDED
@@ -0,0 +1,66 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "_name_or_path": "ai21labs/Jamba-v0.1",
3
+ "architectures": [
4
+ "JambaForCausalLM"
5
+ ],
6
+ "attention_dropout": 0.0,
7
+ "attn_layer_offset": 4,
8
+ "attn_layer_period": 8,
9
+ "auto_map": {
10
+ "AutoConfig": "ai21labs/Jamba-v0.1--configuration_jamba.JambaConfig",
11
+ "AutoModel": "ai21labs/Jamba-v0.1--modeling_jamba.JambaModel",
12
+ "AutoModelForCausalLM": "ai21labs/Jamba-v0.1--modeling_jamba.JambaForCausalLM",
13
+ "AutoModelForSequenceClassification": "ai21labs/Jamba-v0.1--model.JambaForSequenceClassification"
14
+ },
15
+ "bos_token_id": 1,
16
+ "calc_logits_for_entire_prompt": false,
17
+ "eos_token_id": 2,
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,
27
+ "mamba_dt_rank": 256,
28
+ "mamba_expand": 2,
29
+ "mamba_inner_layernorms": true,
30
+ "mamba_proj_bias": false,
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": "float32",
44
+ "bnb_4bit_quant_storage": "uint8",
45
+ "bnb_4bit_quant_type": "fp4",
46
+ "bnb_4bit_use_double_quant": false,
47
+ "llm_int8_enable_fp32_cpu_offload": false,
48
+ "llm_int8_has_fp16_weight": false,
49
+ "llm_int8_skip_modules": [
50
+ "mamba"
51
+ ],
52
+ "llm_int8_threshold": 6.0,
53
+ "load_in_4bit": true,
54
+ "load_in_8bit": false,
55
+ "quant_method": "bitsandbytes"
56
+ },
57
+ "rms_norm_eps": 1e-06,
58
+ "router_aux_loss_coef": 0.001,
59
+ "sliding_window": null,
60
+ "tie_word_embeddings": false,
61
+ "torch_dtype": "float16",
62
+ "transformers_version": "4.40.0.dev0",
63
+ "use_cache": true,
64
+ "use_mamba_kernels": true,
65
+ "vocab_size": 65536
66
+ }
model-00001-of-00007.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:1a439b2047a16c590b63a7a8f759ea4bb7a8f5205eb07f8ed2f83d39b71a2f55
3
+ size 4873003324
model-00002-of-00007.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:d9769f0709625f7c4596eb1be8e2baacfd8f388092746d4406b725a8e577144e
3
+ size 4984623243
model-00003-of-00007.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:e2a9537e3542d8016fd4daeab9b3ef4058ceefdc35f24ed3fc3ace13948310c4
3
+ size 4983413752
model-00004-of-00007.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:f1c6103bbf6db840d25d6748ee80d7df09d0fbd0e94ebeb57bb9806eb8f4715f
3
+ size 4997975503
model-00005-of-00007.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:afb102dd8aac845bba0f9d495ca5c8095a1f6be80c22f65cb08bc295a23680aa
3
+ size 4983413840
model-00006-of-00007.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:c0e9210edb8e25246c3eb7ff9bd7f27edefc012c96e35027352d0a07eeef41b7
3
+ size 4975844741
model-00007-of-00007.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:aaaae336c946d1f5ab14a699c1543b424533f718895dc5305638e55329802df6
3
+ size 3842901815
model.safetensors.index.json ADDED
The diff for this file is too large to render. See raw diff
 
tokenizer.json CHANGED
@@ -1,11 +1,6 @@
1
  {
2
  "version": "1.0",
3
- "truncation": {
4
- "direction": "Right",
5
- "max_length": 2048,
6
- "strategy": "LongestFirst",
7
- "stride": 0
8
- },
9
  "padding": null,
10
  "added_tokens": [
11
  {
 
1
  {
2
  "version": "1.0",
3
+ "truncation": null,
 
 
 
 
 
4
  "padding": null,
5
  "added_tokens": [
6
  {
tokenizer_config.json CHANGED
@@ -36,7 +36,6 @@
36
  }
37
  },
38
  "bos_token": "<|startoftext|>",
39
- "chat_template": "{% if not add_generation_prompt is defined %}{% set add_generation_prompt = false %}{% endif %}{% for message in messages %}{{'<|im_start|>' + message['role'] + '\n' + message['content'] + '<|im_end|>' + '\n'}}{% endfor %}{% if add_generation_prompt %}{{ '<|im_start|>assistant\n' }}{% endif %}",
40
  "clean_up_tokenization_spaces": false,
41
  "eos_token": "<|endoftext|>",
42
  "model_max_length": 1000000000000000019884624838656,
 
36
  }
37
  },
38
  "bos_token": "<|startoftext|>",
 
39
  "clean_up_tokenization_spaces": false,
40
  "eos_token": "<|endoftext|>",
41
  "model_max_length": 1000000000000000019884624838656,