Upload README.md with huggingface_hub
Browse files
README.md
ADDED
@@ -0,0 +1,72 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
---
|
2 |
+
license: apache-2.0
|
3 |
+
datasets:
|
4 |
+
- smirki/UI_REASONING_v1.01
|
5 |
+
- SynthLabsAI/Big-Math-RL-Verified
|
6 |
+
- open-r1/OpenR1-Math-220k
|
7 |
+
- HuggingFaceH4/MATH-500
|
8 |
+
language:
|
9 |
+
- en
|
10 |
+
base_model: prithivMLmods/Raptor-X2
|
11 |
+
pipeline_tag: text-generation
|
12 |
+
library_name: transformers
|
13 |
+
tags:
|
14 |
+
- text-generation-inference
|
15 |
+
- Non-Reasoning
|
16 |
+
- Raptor
|
17 |
+
- Coder
|
18 |
+
- X2
|
19 |
+
- Html
|
20 |
+
- Css
|
21 |
+
- React
|
22 |
+
- Python
|
23 |
+
- Java
|
24 |
+
- Qwen
|
25 |
+
- Math
|
26 |
+
- llama-cpp
|
27 |
+
- gguf-my-repo
|
28 |
+
---
|
29 |
+
|
30 |
+
# sizzlebop/Raptor-X2-Q8_0-GGUF
|
31 |
+
This model was converted to GGUF format from [`prithivMLmods/Raptor-X2`](https://huggingface.co/prithivMLmods/Raptor-X2) using llama.cpp via the ggml.ai's [GGUF-my-repo](https://huggingface.co/spaces/ggml-org/gguf-my-repo) space.
|
32 |
+
Refer to the [original model card](https://huggingface.co/prithivMLmods/Raptor-X2) for more details on the model.
|
33 |
+
|
34 |
+
## Use with llama.cpp
|
35 |
+
Install llama.cpp through brew (works on Mac and Linux)
|
36 |
+
|
37 |
+
```bash
|
38 |
+
brew install llama.cpp
|
39 |
+
|
40 |
+
```
|
41 |
+
Invoke the llama.cpp server or the CLI.
|
42 |
+
|
43 |
+
### CLI:
|
44 |
+
```bash
|
45 |
+
llama-cli --hf-repo sizzlebop/Raptor-X2-Q8_0-GGUF --hf-file raptor-x2-q8_0.gguf -p "The meaning to life and the universe is"
|
46 |
+
```
|
47 |
+
|
48 |
+
### Server:
|
49 |
+
```bash
|
50 |
+
llama-server --hf-repo sizzlebop/Raptor-X2-Q8_0-GGUF --hf-file raptor-x2-q8_0.gguf -c 2048
|
51 |
+
```
|
52 |
+
|
53 |
+
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.
|
54 |
+
|
55 |
+
Step 1: Clone llama.cpp from GitHub.
|
56 |
+
```
|
57 |
+
git clone https://github.com/ggerganov/llama.cpp
|
58 |
+
```
|
59 |
+
|
60 |
+
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).
|
61 |
+
```
|
62 |
+
cd llama.cpp && LLAMA_CURL=1 make
|
63 |
+
```
|
64 |
+
|
65 |
+
Step 3: Run inference through the main binary.
|
66 |
+
```
|
67 |
+
./llama-cli --hf-repo sizzlebop/Raptor-X2-Q8_0-GGUF --hf-file raptor-x2-q8_0.gguf -p "The meaning to life and the universe is"
|
68 |
+
```
|
69 |
+
or
|
70 |
+
```
|
71 |
+
./llama-server --hf-repo sizzlebop/Raptor-X2-Q8_0-GGUF --hf-file raptor-x2-q8_0.gguf -c 2048
|
72 |
+
```
|