Upload MistralForCausalLM
Browse files- config.json +24 -0
- generation_config.json +6 -0
- model.safetensors +3 -0
config.json
ADDED
@@ -0,0 +1,24 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"architectures": [
|
3 |
+
"MistralForCausalLM"
|
4 |
+
],
|
5 |
+
"bos_token_id": 1,
|
6 |
+
"eos_token_id": 2,
|
7 |
+
"hidden_act": "silu",
|
8 |
+
"hidden_size": 512,
|
9 |
+
"initializer_range": 0.02,
|
10 |
+
"intermediate_size": 2048,
|
11 |
+
"max_position_embeddings": 512,
|
12 |
+
"model_type": "mistral",
|
13 |
+
"num_attention_heads": 4,
|
14 |
+
"num_hidden_layers": 4,
|
15 |
+
"num_key_value_heads": 1,
|
16 |
+
"rms_norm_eps": 1e-06,
|
17 |
+
"rope_theta": 10000.0,
|
18 |
+
"sliding_window": 64,
|
19 |
+
"tie_word_embeddings": true,
|
20 |
+
"torch_dtype": "float32",
|
21 |
+
"transformers_version": "4.35.2",
|
22 |
+
"use_cache": true,
|
23 |
+
"vocab_size": 32000
|
24 |
+
}
|
generation_config.json
ADDED
@@ -0,0 +1,6 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"_from_model_config": true,
|
3 |
+
"bos_token_id": 1,
|
4 |
+
"eos_token_id": 2,
|
5 |
+
"transformers_version": "4.35.2"
|
6 |
+
}
|
model.safetensors
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:c8c1dec508bd6dd208b1bc1e48ad83fed8ea1e5d9d2fa0205ae906564120955c
|
3 |
+
size 126376016
|