tarik celik
commited on
Commit
•
340add3
1
Parent(s):
ec550c2
Upload README.md with huggingface_hub
Browse files
README.md
ADDED
@@ -0,0 +1,44 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
---
|
2 |
+
language:
|
3 |
+
- multilingual
|
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-medium-128k-instruct/resolve/main/LICENSE
|
11 |
+
pipeline_tag: text-generation
|
12 |
+
inference:
|
13 |
+
parameters:
|
14 |
+
temperature: 0.7
|
15 |
+
widget:
|
16 |
+
- messages:
|
17 |
+
- role: user
|
18 |
+
content: Can you provide ways to eat combinations of bananas and dragonfruits?
|
19 |
+
---
|
20 |
+
|
21 |
+
# tarikkral/Phi-3-medium-128k-instruct-Q8_0-GGUF
|
22 |
+
This model was converted to GGUF format from [`microsoft/Phi-3-medium-128k-instruct`](https://huggingface.co/microsoft/Phi-3-medium-128k-instruct) using llama.cpp via the ggml.ai's [GGUF-my-repo](https://huggingface.co/spaces/ggml-org/gguf-my-repo) space.
|
23 |
+
Refer to the [original model card](https://huggingface.co/microsoft/Phi-3-medium-128k-instruct) for more details on the model.
|
24 |
+
## Use with llama.cpp
|
25 |
+
Install llama.cpp through brew.
|
26 |
+
```bash
|
27 |
+
brew install ggerganov/ggerganov/llama.cpp
|
28 |
+
```
|
29 |
+
Invoke the llama.cpp server or the CLI.
|
30 |
+
CLI:
|
31 |
+
```bash
|
32 |
+
llama-cli --hf-repo tarikkral/Phi-3-medium-128k-instruct-Q8_0-GGUF --model phi-3-medium-128k-instruct-q8_0.gguf -p "The meaning to life and the universe is"
|
33 |
+
```
|
34 |
+
Server:
|
35 |
+
```bash
|
36 |
+
llama-server --hf-repo tarikkral/Phi-3-medium-128k-instruct-Q8_0-GGUF --model phi-3-medium-128k-instruct-q8_0.gguf -c 2048
|
37 |
+
```
|
38 |
+
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.
|
39 |
+
```
|
40 |
+
git clone https://github.com/ggerganov/llama.cpp && \
|
41 |
+
cd llama.cpp && \
|
42 |
+
make && \
|
43 |
+
./main -m phi-3-medium-128k-instruct-q8_0.gguf -n 128
|
44 |
+
```
|