Upload README.md with huggingface_hub
Browse files
README.md
ADDED
@@ -0,0 +1,168 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
---
|
2 |
+
base_model: apexion-ai/Nous-1-2B
|
3 |
+
tags:
|
4 |
+
- text-generation-inference
|
5 |
+
- transformers
|
6 |
+
- unsloth
|
7 |
+
- qwen3
|
8 |
+
- llama-cpp
|
9 |
+
- gguf-my-repo
|
10 |
+
license: other
|
11 |
+
license_name: anvdl-1.0
|
12 |
+
license_link: https://huggingface.co/apexion-ai/Nous-V1-8B/blob/main/LICENSE.md
|
13 |
+
language:
|
14 |
+
- en
|
15 |
+
- fr
|
16 |
+
- pt
|
17 |
+
- de
|
18 |
+
- ro
|
19 |
+
- sv
|
20 |
+
- da
|
21 |
+
- bg
|
22 |
+
- ru
|
23 |
+
- cs
|
24 |
+
- el
|
25 |
+
- uk
|
26 |
+
- es
|
27 |
+
- nl
|
28 |
+
- sk
|
29 |
+
- hr
|
30 |
+
- pl
|
31 |
+
- lt
|
32 |
+
- nb
|
33 |
+
- nn
|
34 |
+
- fa
|
35 |
+
- sl
|
36 |
+
- gu
|
37 |
+
- lv
|
38 |
+
- it
|
39 |
+
- oc
|
40 |
+
- ne
|
41 |
+
- mr
|
42 |
+
- be
|
43 |
+
- sr
|
44 |
+
- lb
|
45 |
+
- vec
|
46 |
+
- as
|
47 |
+
- cy
|
48 |
+
- szl
|
49 |
+
- ast
|
50 |
+
- hne
|
51 |
+
- awa
|
52 |
+
- mai
|
53 |
+
- bho
|
54 |
+
- sd
|
55 |
+
- ga
|
56 |
+
- fo
|
57 |
+
- hi
|
58 |
+
- pa
|
59 |
+
- bn
|
60 |
+
- or
|
61 |
+
- tg
|
62 |
+
- yi
|
63 |
+
- lmo
|
64 |
+
- lij
|
65 |
+
- scn
|
66 |
+
- fur
|
67 |
+
- sc
|
68 |
+
- gl
|
69 |
+
- ca
|
70 |
+
- is
|
71 |
+
- sq
|
72 |
+
- li
|
73 |
+
- prs
|
74 |
+
- af
|
75 |
+
- mk
|
76 |
+
- si
|
77 |
+
- ur
|
78 |
+
- mag
|
79 |
+
- bs
|
80 |
+
- hy
|
81 |
+
- zh
|
82 |
+
- yue
|
83 |
+
- my
|
84 |
+
- ar
|
85 |
+
- he
|
86 |
+
- mt
|
87 |
+
- id
|
88 |
+
- ms
|
89 |
+
- tl
|
90 |
+
- ceb
|
91 |
+
- jv
|
92 |
+
- su
|
93 |
+
- min
|
94 |
+
- ban
|
95 |
+
- pag
|
96 |
+
- ilo
|
97 |
+
- war
|
98 |
+
- ta
|
99 |
+
- te
|
100 |
+
- kn
|
101 |
+
- ml
|
102 |
+
- tr
|
103 |
+
- az
|
104 |
+
- uz
|
105 |
+
- kk
|
106 |
+
- ba
|
107 |
+
- tt
|
108 |
+
- th
|
109 |
+
- lo
|
110 |
+
- fi
|
111 |
+
- et
|
112 |
+
- hu
|
113 |
+
- vi
|
114 |
+
- km
|
115 |
+
- ja
|
116 |
+
- ko
|
117 |
+
- ka
|
118 |
+
- eu
|
119 |
+
- ht
|
120 |
+
- pap
|
121 |
+
- kea
|
122 |
+
- tpi
|
123 |
+
- sw
|
124 |
+
---
|
125 |
+
|
126 |
+
# antoste/Nous-1-2B-Q2_K-GGUF
|
127 |
+
This model was converted to GGUF format from [`apexion-ai/Nous-1-2B`](https://huggingface.co/apexion-ai/Nous-1-2B) using llama.cpp via the ggml.ai's [GGUF-my-repo](https://huggingface.co/spaces/ggml-org/gguf-my-repo) space.
|
128 |
+
Refer to the [original model card](https://huggingface.co/apexion-ai/Nous-1-2B) for more details on the model.
|
129 |
+
|
130 |
+
## Use with llama.cpp
|
131 |
+
Install llama.cpp through brew (works on Mac and Linux)
|
132 |
+
|
133 |
+
```bash
|
134 |
+
brew install llama.cpp
|
135 |
+
|
136 |
+
```
|
137 |
+
Invoke the llama.cpp server or the CLI.
|
138 |
+
|
139 |
+
### CLI:
|
140 |
+
```bash
|
141 |
+
llama-cli --hf-repo antoste/Nous-1-2B-Q2_K-GGUF --hf-file nous-1-2b-q2_k.gguf -p "The meaning to life and the universe is"
|
142 |
+
```
|
143 |
+
|
144 |
+
### Server:
|
145 |
+
```bash
|
146 |
+
llama-server --hf-repo antoste/Nous-1-2B-Q2_K-GGUF --hf-file nous-1-2b-q2_k.gguf -c 2048
|
147 |
+
```
|
148 |
+
|
149 |
+
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.
|
150 |
+
|
151 |
+
Step 1: Clone llama.cpp from GitHub.
|
152 |
+
```
|
153 |
+
git clone https://github.com/ggerganov/llama.cpp
|
154 |
+
```
|
155 |
+
|
156 |
+
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).
|
157 |
+
```
|
158 |
+
cd llama.cpp && LLAMA_CURL=1 make
|
159 |
+
```
|
160 |
+
|
161 |
+
Step 3: Run inference through the main binary.
|
162 |
+
```
|
163 |
+
./llama-cli --hf-repo antoste/Nous-1-2B-Q2_K-GGUF --hf-file nous-1-2b-q2_k.gguf -p "The meaning to life and the universe is"
|
164 |
+
```
|
165 |
+
or
|
166 |
+
```
|
167 |
+
./llama-server --hf-repo antoste/Nous-1-2B-Q2_K-GGUF --hf-file nous-1-2b-q2_k.gguf -c 2048
|
168 |
+
```
|