e-palmisano
commited on
Commit
•
d3b145d
1
Parent(s):
5d99806
Upload README.md with huggingface_hub
Browse files
README.md
ADDED
@@ -0,0 +1,46 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
---
|
2 |
+
language:
|
3 |
+
- it
|
4 |
+
license: mit
|
5 |
+
tags:
|
6 |
+
- text-generation-inference
|
7 |
+
- transformers
|
8 |
+
- trl
|
9 |
+
- sft
|
10 |
+
- phi-3
|
11 |
+
- phi-3-mini
|
12 |
+
- italian
|
13 |
+
- llama-cpp
|
14 |
+
- gguf-my-repo
|
15 |
+
base_model: microsoft/Phi-3-mini-4k-instruct
|
16 |
+
---
|
17 |
+
|
18 |
+
# e-palmisano/Phi3-ITA-mini-4K-instruct-Q4_K_M-GGUF
|
19 |
+
This model was converted to GGUF format from [`e-palmisano/Phi3-ITA-mini-4K-instruct`](https://huggingface.co/e-palmisano/Phi3-ITA-mini-4K-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/e-palmisano/Phi3-ITA-mini-4K-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 e-palmisano/Phi3-ITA-mini-4K-instruct-Q4_K_M-GGUF --model phi3-ita-mini-4k-instruct.Q4_K_M.gguf -p "The meaning to life and the universe is"
|
34 |
+
```
|
35 |
+
|
36 |
+
Server:
|
37 |
+
|
38 |
+
```bash
|
39 |
+
llama-server --hf-repo e-palmisano/Phi3-ITA-mini-4K-instruct-Q4_K_M-GGUF --model phi3-ita-mini-4k-instruct.Q4_K_M.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 phi3-ita-mini-4k-instruct.Q4_K_M.gguf -n 128
|
46 |
+
```
|