Upload Gemma2ForSequenceClassification
Browse files- config.json +70 -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,70 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"_name_or_path": "google/gemma-2-9b",
|
3 |
+
"architectures": [
|
4 |
+
"Gemma2ForSequenceClassification"
|
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 |
+
"id2label": {
|
18 |
+
"0": "age",
|
19 |
+
"1": "disability",
|
20 |
+
"2": "feminine",
|
21 |
+
"3": "general",
|
22 |
+
"4": "masculine",
|
23 |
+
"5": "neutral",
|
24 |
+
"6": "racial",
|
25 |
+
"7": "sexuality"
|
26 |
+
},
|
27 |
+
"initializer_range": 0.02,
|
28 |
+
"intermediate_size": 14336,
|
29 |
+
"label2id": {
|
30 |
+
"age": 0,
|
31 |
+
"disability": 1,
|
32 |
+
"feminine": 2,
|
33 |
+
"general": 3,
|
34 |
+
"masculine": 4,
|
35 |
+
"neutral": 5,
|
36 |
+
"racial": 6,
|
37 |
+
"sexuality": 7
|
38 |
+
},
|
39 |
+
"max_position_embeddings": 8192,
|
40 |
+
"model_type": "gemma2",
|
41 |
+
"num_attention_heads": 16,
|
42 |
+
"num_hidden_layers": 42,
|
43 |
+
"num_key_value_heads": 8,
|
44 |
+
"pad_token_id": 0,
|
45 |
+
"problem_type": "multi_label_classification",
|
46 |
+
"quantization_config": {
|
47 |
+
"_load_in_4bit": true,
|
48 |
+
"_load_in_8bit": false,
|
49 |
+
"bnb_4bit_compute_dtype": "bfloat16",
|
50 |
+
"bnb_4bit_quant_storage": "uint8",
|
51 |
+
"bnb_4bit_quant_type": "nf4",
|
52 |
+
"bnb_4bit_use_double_quant": true,
|
53 |
+
"llm_int8_enable_fp32_cpu_offload": false,
|
54 |
+
"llm_int8_has_fp16_weight": false,
|
55 |
+
"llm_int8_skip_modules": null,
|
56 |
+
"llm_int8_threshold": 6.0,
|
57 |
+
"load_in_4bit": true,
|
58 |
+
"load_in_8bit": false,
|
59 |
+
"quant_method": "bitsandbytes"
|
60 |
+
},
|
61 |
+
"query_pre_attn_scalar": 256,
|
62 |
+
"rms_norm_eps": 1e-06,
|
63 |
+
"rope_theta": 10000.0,
|
64 |
+
"sliding_window": 4096,
|
65 |
+
"sliding_window_size": 4096,
|
66 |
+
"torch_dtype": "float32",
|
67 |
+
"transformers_version": "4.42.4",
|
68 |
+
"use_cache": true,
|
69 |
+
"vocab_size": 256000
|
70 |
+
}
|
model-00001-of-00002.safetensors
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:1d6afca54d6b9df6c198217d6f78b2cd1a95d269ade2648cb334ffa3c0ded04c
|
3 |
+
size 5000009462
|
model-00002-of-00002.safetensors
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:f7870896e48b539ef7bcb5965ce1b7c80d587e6401d76ad878a8e05cad9d9490
|
3 |
+
size 2967033200
|
model.safetensors.index.json
ADDED
The diff for this file is too large to render.
See raw diff
|
|