Upload Gemma2ForCausalLM
Browse files- config.json +51 -0
- generation_config.json +8 -0
- model-00001-of-00002.safetensors +3 -0
- model-00002-of-00002.safetensors +3 -0
- model.safetensors.index.json +0 -0
config.json
ADDED
@@ -0,0 +1,51 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"_name_or_path": "afrizalha/Gemma-Jawa-Test-2-fp16",
|
3 |
+
"architectures": [
|
4 |
+
"Gemma2ForCausalLM"
|
5 |
+
],
|
6 |
+
"attention_bias": false,
|
7 |
+
"attention_dropout": 0.0,
|
8 |
+
"attn_logit_softcapping": 50.0,
|
9 |
+
"bos_token_id": 2,
|
10 |
+
"cache_implementation": "hybrid",
|
11 |
+
"eos_token_id": 1,
|
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": 0,
|
25 |
+
"quantization_config": {
|
26 |
+
"_load_in_4bit": true,
|
27 |
+
"_load_in_8bit": false,
|
28 |
+
"bnb_4bit_compute_dtype": "float32",
|
29 |
+
"bnb_4bit_quant_storage": "uint8",
|
30 |
+
"bnb_4bit_quant_type": "fp4",
|
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": 224,
|
41 |
+
"rms_norm_eps": 1e-06,
|
42 |
+
"rope_scaling": null,
|
43 |
+
"rope_theta": 10000.0,
|
44 |
+
"sliding_window": 4096,
|
45 |
+
"sliding_window_size": 4096,
|
46 |
+
"torch_dtype": "float16",
|
47 |
+
"transformers_version": "4.43.0.dev0",
|
48 |
+
"unsloth_version": "2024.7",
|
49 |
+
"use_cache": true,
|
50 |
+
"vocab_size": 256000
|
51 |
+
}
|
generation_config.json
ADDED
@@ -0,0 +1,8 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"_from_model_config": true,
|
3 |
+
"bos_token_id": 2,
|
4 |
+
"cache_implementation": "hybrid",
|
5 |
+
"eos_token_id": 1,
|
6 |
+
"pad_token_id": 0,
|
7 |
+
"transformers_version": "4.43.0.dev0"
|
8 |
+
}
|
model-00001-of-00002.safetensors
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:611037fd0da0c8020e1a8dc0487c6ca91802b499a5e7ce8adc530c4ff96ee007
|
3 |
+
size 4982071220
|
model-00002-of-00002.safetensors
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:1c068ae85d998cb7483898e52fa01100d0b3d8a8c0f81f3f53ac4515c8333fbb
|
3 |
+
size 1536375824
|
model.safetensors.index.json
ADDED
The diff for this file is too large to render.
See raw diff
|
|