codegood commited on
Commit
0fa92df
1 Parent(s): cca86ac

Upload README.md with huggingface_hub

Browse files
Files changed (1) hide show
  1. README.md +43 -0
README.md ADDED
@@ -0,0 +1,43 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ license: apache-2.0
3
+ tags:
4
+ - finetuned
5
+ - llama-cpp
6
+ - gguf-my-repo
7
+ pipeline_tag: text-generation
8
+ inference: true
9
+ widget:
10
+ - messages:
11
+ - role: user
12
+ content: What is your favorite condiment?
13
+ ---
14
+
15
+ # codegood/Mistral-7B-Instruct-v0.2-Q4_K_M-GGUF
16
+ This model was converted to GGUF format from [`mistralai/Mistral-7B-Instruct-v0.2`](https://huggingface.co/mistralai/Mistral-7B-Instruct-v0.2) using llama.cpp via the ggml.ai's [GGUF-my-repo](https://huggingface.co/spaces/ggml-org/gguf-my-repo) space.
17
+ Refer to the [original model card](https://huggingface.co/mistralai/Mistral-7B-Instruct-v0.2) for more details on the model.
18
+ ## Use with llama.cpp
19
+
20
+ Install llama.cpp through brew.
21
+
22
+ ```bash
23
+ brew install ggerganov/ggerganov/llama.cpp
24
+ ```
25
+ Invoke the llama.cpp server or the CLI.
26
+
27
+ CLI:
28
+
29
+ ```bash
30
+ llama-cli --hf-repo codegood/Mistral-7B-Instruct-v0.2-Q4_K_M-GGUF --model mistral-7b-instruct-v0.2.Q4_K_M.gguf -p "The meaning to life and the universe is"
31
+ ```
32
+
33
+ Server:
34
+
35
+ ```bash
36
+ llama-server --hf-repo codegood/Mistral-7B-Instruct-v0.2-Q4_K_M-GGUF --model mistral-7b-instruct-v0.2.Q4_K_M.gguf -c 2048
37
+ ```
38
+
39
+ 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.
40
+
41
+ ```
42
+ git clone https://github.com/ggerganov/llama.cpp && cd llama.cpp && make && ./main -m mistral-7b-instruct-v0.2.Q4_K_M.gguf -n 128
43
+ ```