feelconstantfear commited on
Commit
e33e874
1 Parent(s): 6d4d694

Upload Gemma2ForCausalLM

Browse files
Files changed (3) hide show
  1. config.json +60 -0
  2. generation_config.json +11 -0
  3. model.safetensors +3 -0
config.json ADDED
@@ -0,0 +1,60 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "_name_or_path": "IlyaGusev/gemma-2-2b-it-abliterated",
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": [
12
+ 1,
13
+ 107
14
+ ],
15
+ "final_logit_softcapping": 30.0,
16
+ "head_dim": 256,
17
+ "hidden_act": "gelu_pytorch_tanh",
18
+ "hidden_activation": "gelu_pytorch_tanh",
19
+ "hidden_size": 2304,
20
+ "initializer_range": 0.02,
21
+ "intermediate_size": 9216,
22
+ "max_position_embeddings": 8192,
23
+ "model_type": "gemma2",
24
+ "num_attention_heads": 8,
25
+ "num_hidden_layers": 26,
26
+ "num_key_value_heads": 4,
27
+ "pad_token_id": 0,
28
+ "quantization_config": {
29
+ "batch_size": 1,
30
+ "bits": 4,
31
+ "block_name_to_quantize": null,
32
+ "cache_block_outputs": true,
33
+ "damp_percent": 0.1,
34
+ "dataset": "c4",
35
+ "desc_act": false,
36
+ "exllama_config": {
37
+ "version": 1
38
+ },
39
+ "group_size": 128,
40
+ "max_input_length": null,
41
+ "model_seqlen": null,
42
+ "module_name_preceding_first_block": null,
43
+ "modules_in_block_to_quantize": null,
44
+ "pad_token_id": null,
45
+ "quant_method": "gptq",
46
+ "sym": true,
47
+ "tokenizer": null,
48
+ "true_sequential": true,
49
+ "use_cuda_fp16": false,
50
+ "use_exllama": true
51
+ },
52
+ "query_pre_attn_scalar": 256,
53
+ "rms_norm_eps": 1e-06,
54
+ "rope_theta": 10000.0,
55
+ "sliding_window": 4096,
56
+ "torch_dtype": "float16",
57
+ "transformers_version": "4.44.0",
58
+ "use_cache": true,
59
+ "vocab_size": 256000
60
+ }
generation_config.json ADDED
@@ -0,0 +1,11 @@
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "_from_model_config": true,
3
+ "bos_token_id": 2,
4
+ "cache_implementation": "hybrid",
5
+ "eos_token_id": [
6
+ 1,
7
+ 107
8
+ ],
9
+ "pad_token_id": 0,
10
+ "transformers_version": "4.44.0"
11
+ }
model.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:1983e4650c76d191af4c0a5e357c68842f2c54a013b81e06970916926265b767
3
+ size 2234269184