Upload folder using huggingface_hub
Browse files- config.json +33 -0
- generation_config.json +7 -0
- model.safetensors +3 -0
config.json
ADDED
@@ -0,0 +1,33 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"architectures": [
|
3 |
+
"Phi3ForCausalLM"
|
4 |
+
],
|
5 |
+
"attention_bias": false,
|
6 |
+
"attention_dropout": 0.0,
|
7 |
+
"bos_token_id": 1,
|
8 |
+
"embd_pdrop": 0.0,
|
9 |
+
"eos_token_id": 50000,
|
10 |
+
"hidden_act": "silu",
|
11 |
+
"hidden_size": 2048,
|
12 |
+
"initializer_range": 0.02,
|
13 |
+
"intermediate_size": 4096,
|
14 |
+
"max_position_embeddings": 4096,
|
15 |
+
"model_type": "phi3",
|
16 |
+
"num_attention_heads": 16,
|
17 |
+
"num_hidden_layers": 12,
|
18 |
+
"num_key_value_heads": 16,
|
19 |
+
"original_max_position_embeddings": 4096,
|
20 |
+
"pad_token_id": 50000,
|
21 |
+
"partial_rotary_factor": 0.5,
|
22 |
+
"qk_layernorm": false,
|
23 |
+
"resid_pdrop": 0.0,
|
24 |
+
"rms_norm_eps": 1e-05,
|
25 |
+
"rope_scaling": null,
|
26 |
+
"rope_theta": 10000.0,
|
27 |
+
"sliding_window": 2047,
|
28 |
+
"tie_word_embeddings": false,
|
29 |
+
"torch_dtype": "float32",
|
30 |
+
"transformers_version": "4.41.2",
|
31 |
+
"use_cache": true,
|
32 |
+
"vocab_size": 50257
|
33 |
+
}
|
generation_config.json
ADDED
@@ -0,0 +1,7 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"_from_model_config": true,
|
3 |
+
"bos_token_id": 1,
|
4 |
+
"eos_token_id": 50000,
|
5 |
+
"pad_token_id": 50000,
|
6 |
+
"transformers_version": "4.41.2"
|
7 |
+
}
|
model.safetensors
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:2bee0c51bc43b3f929861f935dbdf1efa0af069ebeb7a61f891a222e1ef1db7c
|
3 |
+
size 2836890024
|