skyxiaobaibai commited on
Commit
81d9ea7
1 Parent(s): b4055ca

Upload README.md with huggingface_hub

Browse files
Files changed (1) hide show
  1. README.md +37 -0
README.md ADDED
@@ -0,0 +1,37 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ language:
3
+ - en
4
+ license: other
5
+ tags:
6
+ - chat
7
+ - llama-cpp
8
+ - gguf-my-repo
9
+ license_name: tongyi-qianwen-research
10
+ license_link: https://huggingface.co/Qwen/Qwen1.5-1.8B-Chat/blob/main/LICENSE
11
+ pipeline_tag: text-generation
12
+ ---
13
+
14
+ # skyxiaobaibai/Qwen1.5-1.8B-Chat-Q2_K-GGUF
15
+ This model was converted to GGUF format from [`Qwen/Qwen1.5-1.8B-Chat`](https://huggingface.co/Qwen/Qwen1.5-1.8B-Chat) using llama.cpp via the ggml.ai's [GGUF-my-repo](https://huggingface.co/spaces/ggml-org/gguf-my-repo) space.
16
+ Refer to the [original model card](https://huggingface.co/Qwen/Qwen1.5-1.8B-Chat) for more details on the model.
17
+ ## Use with llama.cpp
18
+ Install llama.cpp through brew.
19
+ ```bash
20
+ brew install ggerganov/ggerganov/llama.cpp
21
+ ```
22
+ Invoke the llama.cpp server or the CLI.
23
+ CLI:
24
+ ```bash
25
+ llama-cli --hf-repo skyxiaobaibai/Qwen1.5-1.8B-Chat-Q2_K-GGUF --model qwen1.5-1.8b-chat-q2_k.gguf -p "The meaning to life and the universe is"
26
+ ```
27
+ Server:
28
+ ```bash
29
+ llama-server --hf-repo skyxiaobaibai/Qwen1.5-1.8B-Chat-Q2_K-GGUF --model qwen1.5-1.8b-chat-q2_k.gguf -c 2048
30
+ ```
31
+ 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.
32
+ ```
33
+ git clone https://github.com/ggerganov/llama.cpp && \
34
+ cd llama.cpp && \
35
+ make && \
36
+ ./main -m qwen1.5-1.8b-chat-q2_k.gguf -n 128
37
+ ```