Zachary-Gao commited on
Commit
5a2aee4
1 Parent(s): e74ac7b

Upload README.md with huggingface_hub

Browse files
Files changed (1) hide show
  1. README.md +32 -0
README.md ADDED
@@ -0,0 +1,32 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ license: other
3
+ tags:
4
+ - llama-cpp
5
+ - gguf-my-repo
6
+ pipeline_tag: text-generation
7
+ ---
8
+
9
+ # Zachary-Gao/internlm2-chat-7b-Q4_K_M-GGUF
10
+ This model was converted to GGUF format from [`internlm/internlm2-chat-7b`](https://huggingface.co/internlm/internlm2-chat-7b) 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/internlm/internlm2-chat-7b) for more details on the model.
12
+ ## Use with llama.cpp
13
+ Install llama.cpp through brew.
14
+ ```bash
15
+ brew install ggerganov/ggerganov/llama.cpp
16
+ ```
17
+ Invoke the llama.cpp server or the CLI.
18
+ CLI:
19
+ ```bash
20
+ llama-cli --hf-repo Zachary-Gao/internlm2-chat-7b-Q4_K_M-GGUF --model internlm2-chat-7b-q4_k_m.gguf -p "The meaning to life and the universe is"
21
+ ```
22
+ Server:
23
+ ```bash
24
+ llama-server --hf-repo Zachary-Gao/internlm2-chat-7b-Q4_K_M-GGUF --model internlm2-chat-7b-q4_k_m.gguf -c 2048
25
+ ```
26
+ 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.
27
+ ```
28
+ git clone https://github.com/ggerganov/llama.cpp && \
29
+ cd llama.cpp && \
30
+ make && \
31
+ ./main -m internlm2-chat-7b-q4_k_m.gguf -n 128
32
+ ```