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": 256,
|
9 |
+
"initializer_range": 0.02,
|
10 |
+
"intermediate_size": 1024,
|
11 |
+
"max_position_embeddings": 256,
|
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:4c7d4f5d0a8ba4a9b8dc54d4308ddb87dc4e3adc3f5fc166d021aa3f47f9c6cf
|
3 |
+
size 47985704
|