zz814 commited on
Commit
1055b7b
1 Parent(s): fc1b7a1

Upload README.md with huggingface_hub

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