stelterlab
commited on
Upload folder using huggingface_hub
Browse files- config.json +41 -0
- generation_config.json +10 -0
- model-00001-of-00002.safetensors +3 -0
config.json
ADDED
@@ -0,0 +1,41 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"_name_or_path": "/data/hf/models/models--microsoft--phi-4/snapshots/381727a5ee103da6c1b14ecd3d39cd09832cbcf8",
|
3 |
+
"architectures": [
|
4 |
+
"Phi3ForCausalLM"
|
5 |
+
],
|
6 |
+
"attention_bias": false,
|
7 |
+
"attention_dropout": 0.0,
|
8 |
+
"auto_map": {},
|
9 |
+
"bos_token_id": 100257,
|
10 |
+
"embd_pdrop": 0.0,
|
11 |
+
"eos_token_id": 100257,
|
12 |
+
"hidden_act": "silu",
|
13 |
+
"hidden_size": 5120,
|
14 |
+
"initializer_range": 0.02,
|
15 |
+
"intermediate_size": 17920,
|
16 |
+
"max_position_embeddings": 16384,
|
17 |
+
"model_type": "phi3",
|
18 |
+
"num_attention_heads": 40,
|
19 |
+
"num_hidden_layers": 40,
|
20 |
+
"num_key_value_heads": 10,
|
21 |
+
"original_max_position_embeddings": 16384,
|
22 |
+
"pad_token_id": 100257,
|
23 |
+
"quantization_config": {
|
24 |
+
"bits": 4,
|
25 |
+
"group_size": 128,
|
26 |
+
"modules_to_not_convert": null,
|
27 |
+
"quant_method": "awq",
|
28 |
+
"version": "gemm",
|
29 |
+
"zero_point": true
|
30 |
+
},
|
31 |
+
"resid_pdrop": 0.0,
|
32 |
+
"rms_norm_eps": 1e-05,
|
33 |
+
"rope_scaling": null,
|
34 |
+
"rope_theta": 250000,
|
35 |
+
"sliding_window": null,
|
36 |
+
"tie_word_embeddings": false,
|
37 |
+
"torch_dtype": "float16",
|
38 |
+
"transformers_version": "4.47.1",
|
39 |
+
"use_cache": false,
|
40 |
+
"vocab_size": 100352
|
41 |
+
}
|
generation_config.json
ADDED
@@ -0,0 +1,10 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"_from_model_config": true,
|
3 |
+
"bos_token_id": 100257,
|
4 |
+
"do_sample": true,
|
5 |
+
"eos_token_id": [
|
6 |
+
100257,
|
7 |
+
100265
|
8 |
+
],
|
9 |
+
"transformers_version": "4.47.1"
|
10 |
+
}
|
model-00001-of-00002.safetensors
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:a5409e3103edbf7f56e00d67a2a5cb05b2aa45ba82d25afe45326307deb4f5e1
|
3 |
+
size 1801203712
|