Upload README.md with huggingface_hub
Browse files
README.md
ADDED
@@ -0,0 +1,73 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
---
|
2 |
+
base_model: MaziyarPanahi/calme-2.1-qwen2-7b
|
3 |
+
datasets:
|
4 |
+
- nvidia/HelpSteer2
|
5 |
+
- teknium/OpenHermes-2.5
|
6 |
+
- microsoft/orca-math-word-problems-200k
|
7 |
+
- Open-Orca/SlimOrca
|
8 |
+
language:
|
9 |
+
- en
|
10 |
+
library_name: transformers
|
11 |
+
license: apache-2.0
|
12 |
+
model_name: calme-2.1-qwen2-7b
|
13 |
+
pipeline_tag: text-generation
|
14 |
+
tags:
|
15 |
+
- chat
|
16 |
+
- qwen
|
17 |
+
- qwen2
|
18 |
+
- finetune
|
19 |
+
- chatml
|
20 |
+
- OpenHermes-2.5
|
21 |
+
- HelpSteer2
|
22 |
+
- Orca
|
23 |
+
- SlimOrca
|
24 |
+
- llama-cpp
|
25 |
+
- gguf-my-repo
|
26 |
+
inference: false
|
27 |
+
model_creator: MaziyarPanahi
|
28 |
+
quantized_by: MaziyarPanahi
|
29 |
+
---
|
30 |
+
|
31 |
+
# hellork/calme-2.1-qwen2-7b-IQ4_NL-GGUF
|
32 |
+
This model was converted to GGUF format from [`MaziyarPanahi/calme-2.1-qwen2-7b`](https://huggingface.co/MaziyarPanahi/calme-2.1-qwen2-7b) using llama.cpp via the ggml.ai's [GGUF-my-repo](https://huggingface.co/spaces/ggml-org/gguf-my-repo) space.
|
33 |
+
Refer to the [original model card](https://huggingface.co/MaziyarPanahi/calme-2.1-qwen2-7b) for more details on the model.
|
34 |
+
|
35 |
+
## Use with llama.cpp
|
36 |
+
Install llama.cpp through brew (works on Mac and Linux)
|
37 |
+
|
38 |
+
```bash
|
39 |
+
brew install llama.cpp
|
40 |
+
|
41 |
+
```
|
42 |
+
Invoke the llama.cpp server or the CLI.
|
43 |
+
|
44 |
+
### CLI:
|
45 |
+
```bash
|
46 |
+
llama-cli --hf-repo hellork/calme-2.1-qwen2-7b-IQ4_NL-GGUF --hf-file calme-2.1-qwen2-7b-iq4_nl-imat.gguf -p "The meaning to life and the universe is"
|
47 |
+
```
|
48 |
+
|
49 |
+
### Server:
|
50 |
+
```bash
|
51 |
+
llama-server --hf-repo hellork/calme-2.1-qwen2-7b-IQ4_NL-GGUF --hf-file calme-2.1-qwen2-7b-iq4_nl-imat.gguf -c 2048
|
52 |
+
```
|
53 |
+
|
54 |
+
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.
|
55 |
+
|
56 |
+
Step 1: Clone llama.cpp from GitHub.
|
57 |
+
```
|
58 |
+
git clone https://github.com/ggerganov/llama.cpp
|
59 |
+
```
|
60 |
+
|
61 |
+
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).
|
62 |
+
```
|
63 |
+
cd llama.cpp && LLAMA_CURL=1 make
|
64 |
+
```
|
65 |
+
|
66 |
+
Step 3: Run inference through the main binary.
|
67 |
+
```
|
68 |
+
./llama-cli --hf-repo hellork/calme-2.1-qwen2-7b-IQ4_NL-GGUF --hf-file calme-2.1-qwen2-7b-iq4_nl-imat.gguf -p "The meaning to life and the universe is"
|
69 |
+
```
|
70 |
+
or
|
71 |
+
```
|
72 |
+
./llama-server --hf-repo hellork/calme-2.1-qwen2-7b-IQ4_NL-GGUF --hf-file calme-2.1-qwen2-7b-iq4_nl-imat.gguf -c 2048
|
73 |
+
```
|