ssmits commited on
Commit
223c89b
1 Parent(s): d10a814

Upload README.md with huggingface_hub

Browse files
Files changed (1) hide show
  1. README.md +49 -0
README.md ADDED
@@ -0,0 +1,49 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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-4k-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
+ # ssmits/Phi-3-medium-4k-instruct-Q3_K_M-GGUF
22
+ This model was converted to GGUF format from [`microsoft/Phi-3-medium-4k-instruct`](https://huggingface.co/microsoft/Phi-3-medium-4k-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-4k-instruct) for more details on the model.
24
+ ## Use with llama.cpp
25
+
26
+ Install llama.cpp through brew.
27
+
28
+ ```bash
29
+ brew install ggerganov/ggerganov/llama.cpp
30
+ ```
31
+ Invoke the llama.cpp server or the CLI.
32
+
33
+ CLI:
34
+
35
+ ```bash
36
+ llama-cli --hf-repo ssmits/Phi-3-medium-4k-instruct-Q3_K_M-GGUF --model phi-3-medium-4k-instruct.Q3_K_M.gguf -p "The meaning to life and the universe is"
37
+ ```
38
+
39
+ Server:
40
+
41
+ ```bash
42
+ llama-server --hf-repo ssmits/Phi-3-medium-4k-instruct-Q3_K_M-GGUF --model phi-3-medium-4k-instruct.Q3_K_M.gguf -c 2048
43
+ ```
44
+
45
+ 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.
46
+
47
+ ```
48
+ git clone https://github.com/ggerganov/llama.cpp && cd llama.cpp && make && ./main -m phi-3-medium-4k-instruct.Q3_K_M.gguf -n 128
49
+ ```