Triangle104
commited on
Commit
•
405d4d9
1
Parent(s):
10f10a4
Upload README.md with huggingface_hub
Browse files
README.md
ADDED
@@ -0,0 +1,70 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
---
|
2 |
+
base_model: v000000/Qwen2.5-Lumen-14B
|
3 |
+
datasets:
|
4 |
+
- jondurbin/gutenberg-dpo-v0.1
|
5 |
+
- Qwen/Qwen2.5-14B-Instruct
|
6 |
+
- HuggingFaceH4/ultrafeedback_binarized
|
7 |
+
language:
|
8 |
+
- en
|
9 |
+
library_name: transformers
|
10 |
+
license: apache-2.0
|
11 |
+
pipeline_tag: text-generation
|
12 |
+
tags:
|
13 |
+
- qwen
|
14 |
+
- qwen2.5
|
15 |
+
- finetune
|
16 |
+
- dpo
|
17 |
+
- orpo
|
18 |
+
- qwen2
|
19 |
+
- chat
|
20 |
+
- conversational
|
21 |
+
- instruct
|
22 |
+
- storywriting
|
23 |
+
- roleplay
|
24 |
+
- llama-cpp
|
25 |
+
- gguf-my-repo
|
26 |
+
---
|
27 |
+
|
28 |
+
# Triangle104/Qwen2.5-Lumen-14B-Q5_0-GGUF
|
29 |
+
This model was converted to GGUF format from [`v000000/Qwen2.5-Lumen-14B`](https://huggingface.co/v000000/Qwen2.5-Lumen-14B) using llama.cpp via the ggml.ai's [GGUF-my-repo](https://huggingface.co/spaces/ggml-org/gguf-my-repo) space.
|
30 |
+
Refer to the [original model card](https://huggingface.co/v000000/Qwen2.5-Lumen-14B) for more details on the model.
|
31 |
+
|
32 |
+
## Use with llama.cpp
|
33 |
+
Install llama.cpp through brew (works on Mac and Linux)
|
34 |
+
|
35 |
+
```bash
|
36 |
+
brew install llama.cpp
|
37 |
+
|
38 |
+
```
|
39 |
+
Invoke the llama.cpp server or the CLI.
|
40 |
+
|
41 |
+
### CLI:
|
42 |
+
```bash
|
43 |
+
llama-cli --hf-repo Triangle104/Qwen2.5-Lumen-14B-Q5_0-GGUF --hf-file qwen2.5-lumen-14b-q5_0.gguf -p "The meaning to life and the universe is"
|
44 |
+
```
|
45 |
+
|
46 |
+
### Server:
|
47 |
+
```bash
|
48 |
+
llama-server --hf-repo Triangle104/Qwen2.5-Lumen-14B-Q5_0-GGUF --hf-file qwen2.5-lumen-14b-q5_0.gguf -c 2048
|
49 |
+
```
|
50 |
+
|
51 |
+
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.
|
52 |
+
|
53 |
+
Step 1: Clone llama.cpp from GitHub.
|
54 |
+
```
|
55 |
+
git clone https://github.com/ggerganov/llama.cpp
|
56 |
+
```
|
57 |
+
|
58 |
+
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).
|
59 |
+
```
|
60 |
+
cd llama.cpp && LLAMA_CURL=1 make
|
61 |
+
```
|
62 |
+
|
63 |
+
Step 3: Run inference through the main binary.
|
64 |
+
```
|
65 |
+
./llama-cli --hf-repo Triangle104/Qwen2.5-Lumen-14B-Q5_0-GGUF --hf-file qwen2.5-lumen-14b-q5_0.gguf -p "The meaning to life and the universe is"
|
66 |
+
```
|
67 |
+
or
|
68 |
+
```
|
69 |
+
./llama-server --hf-repo Triangle104/Qwen2.5-Lumen-14B-Q5_0-GGUF --hf-file qwen2.5-lumen-14b-q5_0.gguf -c 2048
|
70 |
+
```
|