Add phi3-medium
Browse filesSigned-off-by: Aisuko <urakiny@gmail.com>
- .gitattributes +1 -0
- README.md +98 -0
- phi3-medium-128k-instruct-Q4_K_M-v2.gguf +3 -0
- phi3-medium-128k-instruct-Q4_K_M.gguf +3 -0
- phi3-medium-128k-instruct.gguf +3 -0
.gitattributes
CHANGED
@@ -33,3 +33,4 @@ saved_model/**/* filter=lfs diff=lfs merge=lfs -text
|
|
33 |
*.zip filter=lfs diff=lfs merge=lfs -text
|
34 |
*.zst filter=lfs diff=lfs merge=lfs -text
|
35 |
*tfevents* filter=lfs diff=lfs merge=lfs -text
|
|
|
|
33 |
*.zip filter=lfs diff=lfs merge=lfs -text
|
34 |
*.zst filter=lfs diff=lfs merge=lfs -text
|
35 |
*tfevents* filter=lfs diff=lfs merge=lfs -text
|
36 |
+
*.gguf filter=lfs diff=lfs merge=lfs -text
|
README.md
CHANGED
@@ -1,3 +1,101 @@
|
|
1 |
---
|
2 |
license: mit
|
3 |
---
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
---
|
2 |
license: mit
|
3 |
---
|
4 |
+
|
5 |
+
Original repo: https://huggingface.co/microsoft/Phi-3-medium-128k-instruct
|
6 |
+
|
7 |
+
Note: Make sure you have enough CPUs resources, otherwise it will load failed.
|
8 |
+
|
9 |
+
```
|
10 |
+
ec2-user@ip-10-110-145-52:~/workspace/llama.cpp$ ./llama-cli -m ../Phi-3-medium-128k-instruct/phi3-medium-128k-instruct-Q4_K_M-v2.gguf -n 128 --repeat_penalty 1.0 --co
|
11 |
+
lor -i -r "User:" -f prompts/chat-with-bob.txt
|
12 |
+
Log start
|
13 |
+
main: build = 3233 (a8d49d86)
|
14 |
+
main: built with cc (Ubuntu 11.4.0-1ubuntu1~22.04) 11.4.0 for x86_64-linux-gnu
|
15 |
+
main: seed = 1719626314
|
16 |
+
llama_model_loader: loaded meta data with 27 key-value pairs and 245 tensors from ../Phi-3-medium-128k-instruct/phi3-medium-128k-instruct-Q4_K_M-v2.gguf (version GGUF V3 (latest))
|
17 |
+
llama_model_loader: Dumping metadata keys/values. Note: KV overrides do not apply in this output.
|
18 |
+
llama_model_loader: - kv 0: general.architecture str = phi3
|
19 |
+
llama_model_loader: - kv 1: general.name str = Phi3
|
20 |
+
llama_model_loader: - kv 2: phi3.context_length u32 = 131072
|
21 |
+
llama_model_loader: - kv 3: phi3.rope.scaling.original_context_length u32 = 4096
|
22 |
+
llama_model_loader: - kv 4: phi3.embedding_length u32 = 5120
|
23 |
+
llama_model_loader: - kv 5: phi3.feed_forward_length u32 = 17920
|
24 |
+
llama_model_loader: - kv 6: phi3.block_count u32 = 40
|
25 |
+
llama_model_loader: - kv 7: phi3.attention.head_count u32 = 40
|
26 |
+
llama_model_loader: - kv 8: phi3.attention.head_count_kv u32 = 10
|
27 |
+
llama_model_loader: - kv 9: phi3.attention.layer_norm_rms_epsilon f32 = 0.000010
|
28 |
+
llama_model_loader: - kv 10: phi3.rope.dimension_count u32 = 128
|
29 |
+
llama_model_loader: - kv 11: phi3.rope.freq_base f32 = 10000.000000
|
30 |
+
llama_model_loader: - kv 12: general.file_type u32 = 15
|
31 |
+
llama_model_loader: - kv 13: phi3.rope.scaling.attn_factor f32 = 1.190238
|
32 |
+
llama_model_loader: - kv 14: tokenizer.ggml.model str = llama
|
33 |
+
llama_model_loader: - kv 15: tokenizer.ggml.pre str = default
|
34 |
+
llama_model_loader: - kv 16: tokenizer.ggml.tokens arr[str,32064] = ["<unk>", "<s>", "</s>", "<0x00>", "<...
|
35 |
+
llama_model_loader: - kv 17: tokenizer.ggml.scores arr[f32,32064] = [-1000.000000, -1000.000000, -1000.00...
|
36 |
+
llama_model_loader: - kv 18: tokenizer.ggml.token_type arr[i32,32064] = [3, 3, 4, 6, 6, 6, 6, 6, 6, 6, 6, 6, ...
|
37 |
+
llama_model_loader: - kv 19: tokenizer.ggml.bos_token_id u32 = 1
|
38 |
+
llama_model_loader: - kv 20: tokenizer.ggml.eos_token_id u32 = 32000
|
39 |
+
llama_model_loader: - kv 21: tokenizer.ggml.unknown_token_id u32 = 0
|
40 |
+
llama_model_loader: - kv 22: tokenizer.ggml.padding_token_id u32 = 32000
|
41 |
+
llama_model_loader: - kv 23: tokenizer.ggml.add_bos_token bool = false
|
42 |
+
llama_model_loader: - kv 24: tokenizer.ggml.add_eos_token bool = false
|
43 |
+
llama_model_loader: - kv 25: tokenizer.chat_template str = {% for message in messages %}{% if (m...
|
44 |
+
llama_model_loader: - kv 26: general.quantization_version u32 = 2
|
45 |
+
llama_model_loader: - type f32: 83 tensors
|
46 |
+
llama_model_loader: - type q4_K: 101 tensors
|
47 |
+
llama_model_loader: - type q5_K: 40 tensors
|
48 |
+
llama_model_loader: - type q6_K: 21 tensors
|
49 |
+
llm_load_vocab: special tokens cache size = 323
|
50 |
+
llm_load_vocab: token to piece cache size = 0.1687 MB
|
51 |
+
llm_load_print_meta: format = GGUF V3 (latest)
|
52 |
+
llm_load_print_meta: arch = phi3
|
53 |
+
llm_load_print_meta: vocab type = SPM
|
54 |
+
llm_load_print_meta: n_vocab = 32064
|
55 |
+
llm_load_print_meta: n_merges = 0
|
56 |
+
llm_load_print_meta: n_ctx_train = 131072
|
57 |
+
llm_load_print_meta: n_embd = 5120
|
58 |
+
llm_load_print_meta: n_head = 40
|
59 |
+
llm_load_print_meta: n_head_kv = 10
|
60 |
+
llm_load_print_meta: n_layer = 40
|
61 |
+
llm_load_print_meta: n_rot = 128
|
62 |
+
llm_load_print_meta: n_embd_head_k = 128
|
63 |
+
llm_load_print_meta: n_embd_head_v = 128
|
64 |
+
llm_load_print_meta: n_gqa = 4
|
65 |
+
llm_load_print_meta: n_embd_k_gqa = 1280
|
66 |
+
llm_load_print_meta: n_embd_v_gqa = 1280
|
67 |
+
llm_load_print_meta: f_norm_eps = 0.0e+00
|
68 |
+
llm_load_print_meta: f_norm_rms_eps = 1.0e-05
|
69 |
+
llm_load_print_meta: f_clamp_kqv = 0.0e+00
|
70 |
+
llm_load_print_meta: f_max_alibi_bias = 0.0e+00
|
71 |
+
llm_load_print_meta: f_logit_scale = 0.0e+00
|
72 |
+
llm_load_print_meta: n_ff = 17920
|
73 |
+
llm_load_print_meta: n_expert = 0
|
74 |
+
llm_load_print_meta: n_expert_used = 0
|
75 |
+
llm_load_print_meta: causal attn = 1
|
76 |
+
llm_load_print_meta: pooling type = 0
|
77 |
+
llm_load_print_meta: rope type = 2
|
78 |
+
llm_load_print_meta: rope scaling = linear
|
79 |
+
llm_load_print_meta: freq_base_train = 10000.0
|
80 |
+
llm_load_print_meta: freq_scale_train = 1
|
81 |
+
llm_load_print_meta: n_ctx_orig_yarn = 4096
|
82 |
+
llm_load_print_meta: rope_finetuned = unknown
|
83 |
+
llm_load_print_meta: ssm_d_conv = 0
|
84 |
+
llm_load_print_meta: ssm_d_inner = 0
|
85 |
+
llm_load_print_meta: ssm_d_state = 0
|
86 |
+
llm_load_print_meta: ssm_dt_rank = 0
|
87 |
+
llm_load_print_meta: model type = 14B
|
88 |
+
llm_load_print_meta: model ftype = Q4_K - Medium
|
89 |
+
llm_load_print_meta: model params = 13.96 B
|
90 |
+
llm_load_print_meta: model size = 7.98 GiB (4.91 BPW)
|
91 |
+
llm_load_print_meta: general.name = Phi3
|
92 |
+
llm_load_print_meta: BOS token = 1 '<s>'
|
93 |
+
llm_load_print_meta: EOS token = 32000 '<|endoftext|>'
|
94 |
+
llm_load_print_meta: UNK token = 0 '<unk>'
|
95 |
+
llm_load_print_meta: PAD token = 32000 '<|endoftext|>'
|
96 |
+
llm_load_print_meta: LF token = 13 '<0x0A>'
|
97 |
+
llm_load_print_meta: EOT token = 32007 '<|end|>'
|
98 |
+
llm_load_print_meta: max token length = 48
|
99 |
+
llm_load_tensors: ggml ctx size = 0.13 MiB
|
100 |
+
llm_load_tensors: CPU buffer size = 8169.25 MiB
|
101 |
+
```
|
phi3-medium-128k-instruct-Q4_K_M-v2.gguf
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:3182c214a1eb81264d84789dce1794f66c2788187c323f6249549687a3c8f184
|
3 |
+
size 8566821120
|
phi3-medium-128k-instruct-Q4_K_M.gguf
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:3182c214a1eb81264d84789dce1794f66c2788187c323f6249549687a3c8f184
|
3 |
+
size 8566821120
|
phi3-medium-128k-instruct.gguf
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:9d44b5302a369a2c7da61f6bc1850be70f7777d70a3446afde0fd91ffc8c7a02
|
3 |
+
size 27922046720
|