Upload GemmaForCausalLM
Browse files- config.json +52 -0
- generation_config.json +7 -0
- model.safetensors +3 -0
config.json
ADDED
@@ -0,0 +1,52 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"_name_or_path": "google/gemma-2b-it",
|
3 |
+
"architectures": [
|
4 |
+
"GemmaForCausalLM"
|
5 |
+
],
|
6 |
+
"attention_bias": false,
|
7 |
+
"attention_dropout": 0.0,
|
8 |
+
"bos_token_id": 2,
|
9 |
+
"eos_token_id": 1,
|
10 |
+
"head_dim": 256,
|
11 |
+
"hidden_act": "gelu",
|
12 |
+
"hidden_size": 2048,
|
13 |
+
"initializer_range": 0.02,
|
14 |
+
"intermediate_size": 16384,
|
15 |
+
"max_position_embeddings": 8192,
|
16 |
+
"model_type": "gemma",
|
17 |
+
"num_attention_heads": 8,
|
18 |
+
"num_hidden_layers": 18,
|
19 |
+
"num_key_value_heads": 1,
|
20 |
+
"pad_token_id": 0,
|
21 |
+
"quantization_config": {
|
22 |
+
"batch_size": 1,
|
23 |
+
"bits": 4,
|
24 |
+
"block_name_to_quantize": null,
|
25 |
+
"cache_block_outputs": true,
|
26 |
+
"damp_percent": 0.1,
|
27 |
+
"dataset": "c4",
|
28 |
+
"desc_act": false,
|
29 |
+
"exllama_config": {
|
30 |
+
"version": 1
|
31 |
+
},
|
32 |
+
"group_size": 128,
|
33 |
+
"max_input_length": null,
|
34 |
+
"model_seqlen": null,
|
35 |
+
"module_name_preceding_first_block": null,
|
36 |
+
"modules_in_block_to_quantize": null,
|
37 |
+
"pad_token_id": null,
|
38 |
+
"quant_method": "gptq",
|
39 |
+
"sym": true,
|
40 |
+
"tokenizer": null,
|
41 |
+
"true_sequential": true,
|
42 |
+
"use_cuda_fp16": false,
|
43 |
+
"use_exllama": true
|
44 |
+
},
|
45 |
+
"rms_norm_eps": 1e-06,
|
46 |
+
"rope_scaling": null,
|
47 |
+
"rope_theta": 10000.0,
|
48 |
+
"torch_dtype": "float16",
|
49 |
+
"transformers_version": "4.39.0.dev0",
|
50 |
+
"use_cache": true,
|
51 |
+
"vocab_size": 256000
|
52 |
+
}
|
generation_config.json
ADDED
@@ -0,0 +1,7 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"_from_model_config": true,
|
3 |
+
"bos_token_id": 2,
|
4 |
+
"eos_token_id": 1,
|
5 |
+
"pad_token_id": 0,
|
6 |
+
"transformers_version": "4.39.0.dev0"
|
7 |
+
}
|
model.safetensors
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:2f7f05f5b565de105c36d8ecb3e700650bb4304a686fe51282cddc437c51440e
|
3 |
+
size 2081896456
|