jamesburton
commited on
Commit
•
49c9288
1
Parent(s):
89ede7b
Upload README.md with huggingface_hub
Browse files
README.md
ADDED
@@ -0,0 +1,46 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
---
|
2 |
+
language:
|
3 |
+
- en
|
4 |
+
license: mit
|
5 |
+
tags:
|
6 |
+
- nlp
|
7 |
+
- code
|
8 |
+
- llama-cpp
|
9 |
+
- gguf-my-repo
|
10 |
+
license_link: https://huggingface.co/microsoft/Phi-3-mini-128k-instruct/resolve/main/LICENSE
|
11 |
+
pipeline_tag: text-generation
|
12 |
+
widget:
|
13 |
+
- messages:
|
14 |
+
- role: user
|
15 |
+
content: Can you provide ways to eat combinations of bananas and dragonfruits?
|
16 |
+
---
|
17 |
+
|
18 |
+
# jamesburton/Phi-3-mini-128k-instruct-Q6_K-GGUF
|
19 |
+
This model was converted to GGUF format from [`microsoft/Phi-3-mini-128k-instruct`](https://huggingface.co/microsoft/Phi-3-mini-128k-instruct) using llama.cpp via the ggml.ai's [GGUF-my-repo](https://huggingface.co/spaces/ggml-org/gguf-my-repo) space.
|
20 |
+
Refer to the [original model card](https://huggingface.co/microsoft/Phi-3-mini-128k-instruct) for more details on the model.
|
21 |
+
## Use with llama.cpp
|
22 |
+
|
23 |
+
Install llama.cpp through brew.
|
24 |
+
|
25 |
+
```bash
|
26 |
+
brew install ggerganov/ggerganov/llama.cpp
|
27 |
+
```
|
28 |
+
Invoke the llama.cpp server or the CLI.
|
29 |
+
|
30 |
+
CLI:
|
31 |
+
|
32 |
+
```bash
|
33 |
+
llama-cli --hf-repo jamesburton/Phi-3-mini-128k-instruct-Q6_K-GGUF --model phi-3-mini-128k-instruct.Q6_K.gguf -p "The meaning to life and the universe is"
|
34 |
+
```
|
35 |
+
|
36 |
+
Server:
|
37 |
+
|
38 |
+
```bash
|
39 |
+
llama-server --hf-repo jamesburton/Phi-3-mini-128k-instruct-Q6_K-GGUF --model phi-3-mini-128k-instruct.Q6_K.gguf -c 2048
|
40 |
+
```
|
41 |
+
|
42 |
+
Note: You can also use this checkpoint directly through the [usage steps](https://github.com/ggerganov/llama.cpp?tab=readme-ov-file#usage) listed in the Llama.cpp repo as well.
|
43 |
+
|
44 |
+
```
|
45 |
+
git clone https://github.com/ggerganov/llama.cpp && cd llama.cpp && make && ./main -m phi-3-mini-128k-instruct.Q6_K.gguf -n 128
|
46 |
+
```
|