fuzzy-mittenz
commited on
Commit
•
bf7877b
1
Parent(s):
d3a6114
Upload README.md with huggingface_hub
Browse files
README.md
ADDED
@@ -0,0 +1,72 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
---
|
2 |
+
library_name: transformers
|
3 |
+
tags:
|
4 |
+
- math
|
5 |
+
- lora
|
6 |
+
- science
|
7 |
+
- chemistry
|
8 |
+
- biology
|
9 |
+
- code
|
10 |
+
- text-generation-inference
|
11 |
+
- unsloth
|
12 |
+
- llama
|
13 |
+
- llama-cpp
|
14 |
+
- gguf-my-repo
|
15 |
+
license: apache-2.0
|
16 |
+
datasets:
|
17 |
+
- HuggingFaceTB/smoltalk
|
18 |
+
language:
|
19 |
+
- en
|
20 |
+
- de
|
21 |
+
- es
|
22 |
+
- fr
|
23 |
+
- it
|
24 |
+
- pt
|
25 |
+
- hi
|
26 |
+
- th
|
27 |
+
base_model: suayptalha/FastLlama-3.2-1B-Instruct
|
28 |
+
---
|
29 |
+
|
30 |
+
# fuzzy-mittenz/FastLlama-3.2-1B-Instruct-Q8_0-GGUF
|
31 |
+
This model was converted to GGUF format from [`suayptalha/FastLlama-3.2-1B-Instruct`](https://huggingface.co/suayptalha/FastLlama-3.2-1B-Instruct) 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/suayptalha/FastLlama-3.2-1B-Instruct) 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 fuzzy-mittenz/FastLlama-3.2-1B-Instruct-Q8_0-GGUF --hf-file fastllama-3.2-1b-instruct-q8_0.gguf -p "The meaning to life and the universe is"
|
46 |
+
```
|
47 |
+
|
48 |
+
### Server:
|
49 |
+
```bash
|
50 |
+
llama-server --hf-repo fuzzy-mittenz/FastLlama-3.2-1B-Instruct-Q8_0-GGUF --hf-file fastllama-3.2-1b-instruct-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 fuzzy-mittenz/FastLlama-3.2-1B-Instruct-Q8_0-GGUF --hf-file fastllama-3.2-1b-instruct-q8_0.gguf -p "The meaning to life and the universe is"
|
68 |
+
```
|
69 |
+
or
|
70 |
+
```
|
71 |
+
./llama-server --hf-repo fuzzy-mittenz/FastLlama-3.2-1B-Instruct-Q8_0-GGUF --hf-file fastllama-3.2-1b-instruct-q8_0.gguf -c 2048
|
72 |
+
```
|