kingabzpro commited on
Commit
1dc7635
1 Parent(s): 5cd08b1

Upload Gemma2ForCausalLM

Browse files
config.json ADDED
@@ -0,0 +1,49 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "_name_or_path": "google/gemma-2-9b-it",
3
+ "architectures": [
4
+ "Gemma2ForCausalLM"
5
+ ],
6
+ "attention_bias": false,
7
+ "attention_dropout": 0.0,
8
+ "attn_logit_softcapping": 50.0,
9
+ "bos_token_id": 256000,
10
+ "cache_implementation": "hybrid",
11
+ "eos_token_id": 256001,
12
+ "final_logit_softcapping": 30.0,
13
+ "head_dim": 256,
14
+ "hidden_act": "gelu_pytorch_tanh",
15
+ "hidden_activation": "gelu_pytorch_tanh",
16
+ "hidden_size": 3584,
17
+ "initializer_range": 0.02,
18
+ "intermediate_size": 14336,
19
+ "max_position_embeddings": 8192,
20
+ "model_type": "gemma2",
21
+ "num_attention_heads": 16,
22
+ "num_hidden_layers": 42,
23
+ "num_key_value_heads": 8,
24
+ "pad_token_id": 256001,
25
+ "quantization_config": {
26
+ "_load_in_4bit": true,
27
+ "_load_in_8bit": false,
28
+ "bnb_4bit_compute_dtype": "bfloat16",
29
+ "bnb_4bit_quant_storage": "uint8",
30
+ "bnb_4bit_quant_type": "nf4",
31
+ "bnb_4bit_use_double_quant": false,
32
+ "llm_int8_enable_fp32_cpu_offload": false,
33
+ "llm_int8_has_fp16_weight": false,
34
+ "llm_int8_skip_modules": null,
35
+ "llm_int8_threshold": 6.0,
36
+ "load_in_4bit": true,
37
+ "load_in_8bit": false,
38
+ "quant_method": "bitsandbytes"
39
+ },
40
+ "query_pre_attn_scalar": 256,
41
+ "rms_norm_eps": 1e-06,
42
+ "rope_theta": 10000.0,
43
+ "sliding_window": 4096,
44
+ "sliding_window_size": 4096,
45
+ "torch_dtype": "float16",
46
+ "transformers_version": "4.42.4",
47
+ "use_cache": true,
48
+ "vocab_size": 256002
49
+ }
generation_config.json ADDED
@@ -0,0 +1,8 @@
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "_from_model_config": true,
3
+ "bos_token_id": 256000,
4
+ "cache_implementation": "hybrid",
5
+ "eos_token_id": 256001,
6
+ "pad_token_id": 256001,
7
+ "transformers_version": "4.42.4"
8
+ }
model-00001-of-00002.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:cb6a8bc8ca31390c5a3669988de71dcdbbd30df388415d33e1d5d02509d12f4c
3
+ size 4982085556
model-00002-of-00002.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:c006039cc78677cae460b83dd6c2c9ff30803bfa9801821bd5432613a9313203
3
+ size 1536375824
model.safetensors.index.json ADDED
The diff for this file is too large to render. See raw diff