CHE-72 commited on
Commit
0aeff91
1 Parent(s): 11d5a0d

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +0 -31
README.md CHANGED
@@ -12,34 +12,3 @@ tags:
12
  # CHE-72-ZLab/Alibaba-Qwen2-7B-Instruct-GGUF
13
  This model was converted to GGUF format from [`Qwen/Qwen2-7B-Instruct`](https://huggingface.co/Qwen/Qwen2-7B-Instruct) using llama.cpp via the ggml.ai's [GGUF-my-repo](https://huggingface.co/spaces/ggml-org/gguf-my-repo) space.
14
  Refer to the [original model card](https://huggingface.co/Qwen/Qwen2-7B-Instruct) for more details on the model.
15
- ## Use with llama.cpp
16
- Install llama.cpp through brew (works on Mac and Linux)
17
- ```bash
18
- brew install llama.cpp
19
- ```
20
- Invoke the llama.cpp server or the CLI.
21
- ### CLI:
22
- ```bash
23
- llama-cli --hf-repo CHE-72/Qwen2-7B-Instruct-Q4_0-GGUF --hf-file qwen2-7b-instruct-q4_0.gguf -p "The meaning to life and the universe is"
24
- ```
25
- ### Server:
26
- ```bash
27
- llama-server --hf-repo CHE-72/Qwen2-7B-Instruct-Q4_0-GGUF --hf-file qwen2-7b-instruct-q4_0.gguf -c 2048
28
- ```
29
- 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.
30
- Step 1: Clone llama.cpp from GitHub.
31
- ```
32
- git clone https://github.com/ggerganov/llama.cpp
33
- ```
34
- Step 2: Move into the llama.cpp folder and build it with `LLAMA_CURL=1` flag along with other hardware-specific flags (for ex: LLAMA_CUDA=1 for Nvidia GPUs on Linux).
35
- ```
36
- cd llama.cpp && LLAMA_CURL=1 make
37
- ```
38
- Step 3: Run inference through the main binary.
39
- ```
40
- ./llama-cli --hf-repo CHE-72/Qwen2-7B-Instruct-Q4_0-GGUF --hf-file qwen2-7b-instruct-q4_0.gguf -p "The meaning to life and the universe is"
41
- ```
42
- or
43
- ```
44
- ./llama-server --hf-repo CHE-72/Qwen2-7B-Instruct-Q4_0-GGUF --hf-file qwen2-7b-instruct-q4_0.gguf -c 2048
45
- ```
 
12
  # CHE-72-ZLab/Alibaba-Qwen2-7B-Instruct-GGUF
13
  This model was converted to GGUF format from [`Qwen/Qwen2-7B-Instruct`](https://huggingface.co/Qwen/Qwen2-7B-Instruct) using llama.cpp via the ggml.ai's [GGUF-my-repo](https://huggingface.co/spaces/ggml-org/gguf-my-repo) space.
14
  Refer to the [original model card](https://huggingface.co/Qwen/Qwen2-7B-Instruct) for more details on the model.