Upload PhiForCausalLM
Browse files- config.json +31 -0
- generation_config.json +7 -0
- model.safetensors +3 -0
config.json
ADDED
@@ -0,0 +1,31 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"architectures": [
|
3 |
+
"PhiForCausalLM"
|
4 |
+
],
|
5 |
+
"attention_dropout": 0.0,
|
6 |
+
"bos_token_id": 1,
|
7 |
+
"embd_pdrop": 0.0,
|
8 |
+
"eos_token_id": 2,
|
9 |
+
"hidden_act": "gelu_new",
|
10 |
+
"hidden_size": 2560,
|
11 |
+
"initializer_range": 0.02,
|
12 |
+
"intermediate_size": 5120,
|
13 |
+
"layer_norm_eps": 1e-05,
|
14 |
+
"max_position_embeddings": 2048,
|
15 |
+
"model_type": "phi",
|
16 |
+
"num_attention_heads": 32,
|
17 |
+
"num_hidden_layers": 16,
|
18 |
+
"num_key_value_heads": 32,
|
19 |
+
"output_cache": false,
|
20 |
+
"output_hidden_states": true,
|
21 |
+
"partial_rotary_factor": 0.5,
|
22 |
+
"qk_layernorm": false,
|
23 |
+
"resid_pdrop": 0.0,
|
24 |
+
"rope_scaling": null,
|
25 |
+
"rope_theta": 10000.0,
|
26 |
+
"tie_word_embeddings": false,
|
27 |
+
"torch_dtype": "float32",
|
28 |
+
"transformers_version": "4.39.0",
|
29 |
+
"use_cache": true,
|
30 |
+
"vocab_size": 51200
|
31 |
+
}
|
generation_config.json
ADDED
@@ -0,0 +1,7 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"_from_model_config": true,
|
3 |
+
"bos_token_id": 1,
|
4 |
+
"eos_token_id": 2,
|
5 |
+
"output_hidden_states": true,
|
6 |
+
"transformers_version": "4.39.0"
|
7 |
+
}
|
model.safetensors
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:cb598091c88b2c252adbdb0262554ea40615a42f81763e020b2778e007d0de4d
|
3 |
+
size 4405744112
|