lvcalucioli
commited on
Upload PhiForCausalLM
Browse files- config.json +16 -2
- model.safetensors +3 -0
config.json
CHANGED
@@ -23,12 +23,26 @@
|
|
23 |
"num_key_value_heads": 32,
|
24 |
"partial_rotary_factor": 0.4,
|
25 |
"qk_layernorm": false,
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
26 |
"resid_pdrop": 0.1,
|
27 |
"rope_scaling": null,
|
28 |
"rope_theta": 10000.0,
|
29 |
"tie_word_embeddings": false,
|
30 |
-
"torch_dtype": "
|
31 |
"transformers_version": "4.38.0.dev0",
|
32 |
"use_cache": true,
|
33 |
-
"vocab_size":
|
34 |
}
|
|
|
23 |
"num_key_value_heads": 32,
|
24 |
"partial_rotary_factor": 0.4,
|
25 |
"qk_layernorm": false,
|
26 |
+
"quantization_config": {
|
27 |
+
"_load_in_4bit": true,
|
28 |
+
"_load_in_8bit": false,
|
29 |
+
"bnb_4bit_compute_dtype": "bfloat16",
|
30 |
+
"bnb_4bit_quant_type": "nf4",
|
31 |
+
"bnb_4bit_use_double_quant": true,
|
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 |
"resid_pdrop": 0.1,
|
41 |
"rope_scaling": null,
|
42 |
"rope_theta": 10000.0,
|
43 |
"tie_word_embeddings": false,
|
44 |
+
"torch_dtype": "float16",
|
45 |
"transformers_version": "4.38.0.dev0",
|
46 |
"use_cache": true,
|
47 |
+
"vocab_size": 51200
|
48 |
}
|
model.safetensors
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:87a3a5fb3175a0f6ebb4c6dd64a072bc827aafc14229e954d97e97e247923cab
|
3 |
+
size 1824834124
|