Upload README.md with huggingface_hub
Browse files
README.md
ADDED
@@ -0,0 +1,37 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
---
|
2 |
+
library_name: transformers
|
3 |
+
tags:
|
4 |
+
- llama-factory
|
5 |
+
- llama-cpp
|
6 |
+
- gguf-my-repo
|
7 |
+
---
|
8 |
+
|
9 |
+
# justinj92/phi3-orpo-Q4_K_M-GGUF
|
10 |
+
This model was converted to GGUF format from [`justinj92/phi3-orpo`](https://huggingface.co/justinj92/phi3-orpo) using llama.cpp via the ggml.ai's [GGUF-my-repo](https://huggingface.co/spaces/ggml-org/gguf-my-repo) space.
|
11 |
+
Refer to the [original model card](https://huggingface.co/justinj92/phi3-orpo) for more details on the model.
|
12 |
+
## Use with llama.cpp
|
13 |
+
|
14 |
+
Install llama.cpp through brew.
|
15 |
+
|
16 |
+
```bash
|
17 |
+
brew install ggerganov/ggerganov/llama.cpp
|
18 |
+
```
|
19 |
+
Invoke the llama.cpp server or the CLI.
|
20 |
+
|
21 |
+
CLI:
|
22 |
+
|
23 |
+
```bash
|
24 |
+
llama-cli --hf-repo justinj92/phi3-orpo-Q4_K_M-GGUF --model phi3-orpo.Q4_K_M.gguf -p "The meaning to life and the universe is"
|
25 |
+
```
|
26 |
+
|
27 |
+
Server:
|
28 |
+
|
29 |
+
```bash
|
30 |
+
llama-server --hf-repo justinj92/phi3-orpo-Q4_K_M-GGUF --model phi3-orpo.Q4_K_M.gguf -c 2048
|
31 |
+
```
|
32 |
+
|
33 |
+
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.
|
34 |
+
|
35 |
+
```
|
36 |
+
git clone https://github.com/ggerganov/llama.cpp && cd llama.cpp && make && ./main -m phi3-orpo.Q4_K_M.gguf -n 128
|
37 |
+
```
|