Mediocreatmybest
commited on
Commit
•
0a8494f
1
Parent(s):
e118a1d
Upload MistralForCausalLM
Browse files- config.json +37 -0
- generation_config.json +6 -0
- pytorch_model.bin +3 -0
config.json
ADDED
@@ -0,0 +1,37 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"_name_or_path": "Open-Orca/Mistral-7B-OpenOrca",
|
3 |
+
"architectures": [
|
4 |
+
"MistralForCausalLM"
|
5 |
+
],
|
6 |
+
"bos_token_id": 1,
|
7 |
+
"eos_token_id": 32000,
|
8 |
+
"hidden_act": "silu",
|
9 |
+
"hidden_size": 4096,
|
10 |
+
"initializer_range": 0.02,
|
11 |
+
"intermediate_size": 14336,
|
12 |
+
"max_position_embeddings": 32768,
|
13 |
+
"model_type": "mistral",
|
14 |
+
"num_attention_heads": 32,
|
15 |
+
"num_hidden_layers": 32,
|
16 |
+
"num_key_value_heads": 8,
|
17 |
+
"quantization_config": {
|
18 |
+
"bnb_4bit_compute_dtype": "float32",
|
19 |
+
"bnb_4bit_quant_type": "fp4",
|
20 |
+
"bnb_4bit_use_double_quant": true,
|
21 |
+
"llm_int8_enable_fp32_cpu_offload": true,
|
22 |
+
"llm_int8_has_fp16_weight": false,
|
23 |
+
"llm_int8_skip_modules": null,
|
24 |
+
"llm_int8_threshold": 6.0,
|
25 |
+
"load_in_4bit": false,
|
26 |
+
"load_in_8bit": true,
|
27 |
+
"quant_method": "bitsandbytes"
|
28 |
+
},
|
29 |
+
"rms_norm_eps": 1e-05,
|
30 |
+
"rope_theta": 10000.0,
|
31 |
+
"sliding_window": 4096,
|
32 |
+
"tie_word_embeddings": false,
|
33 |
+
"torch_dtype": "float16",
|
34 |
+
"transformers_version": "4.35.0.dev0",
|
35 |
+
"use_cache": true,
|
36 |
+
"vocab_size": 32002
|
37 |
+
}
|
generation_config.json
ADDED
@@ -0,0 +1,6 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"_from_model_config": true,
|
3 |
+
"bos_token_id": 1,
|
4 |
+
"eos_token_id": 32000,
|
5 |
+
"transformers_version": "4.35.0.dev0"
|
6 |
+
}
|
pytorch_model.bin
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:7560f693871e9ee8e93fa9e94f5c060f99b528709a03ec511b733230a776ea64
|
3 |
+
size 7509854309
|