Upload README.md with huggingface_hub
Browse files
README.md
ADDED
@@ -0,0 +1,43 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
---
|
2 |
+
language:
|
3 |
+
- en
|
4 |
+
license: apache-2.0
|
5 |
+
library_name: transformers
|
6 |
+
tags:
|
7 |
+
- unsloth
|
8 |
+
- transformers
|
9 |
+
- llama
|
10 |
+
- llama-3
|
11 |
+
- llama-cpp
|
12 |
+
- gguf-my-repo
|
13 |
+
---
|
14 |
+
|
15 |
+
# DavidAU/llama-3-8b-Instruct-Q8_0-GGUF
|
16 |
+
This model was converted to GGUF format from [`unsloth/llama-3-8b-Instruct`](https://huggingface.co/unsloth/llama-3-8b-Instruct) using llama.cpp via the ggml.ai's [GGUF-my-repo](https://huggingface.co/spaces/ggml-org/gguf-my-repo) space.
|
17 |
+
Refer to the [original model card](https://huggingface.co/unsloth/llama-3-8b-Instruct) for more details on the model.
|
18 |
+
## Use with llama.cpp
|
19 |
+
|
20 |
+
Install llama.cpp through brew.
|
21 |
+
|
22 |
+
```bash
|
23 |
+
brew install ggerganov/ggerganov/llama.cpp
|
24 |
+
```
|
25 |
+
Invoke the llama.cpp server or the CLI.
|
26 |
+
|
27 |
+
CLI:
|
28 |
+
|
29 |
+
```bash
|
30 |
+
llama-cli --hf-repo DavidAU/llama-3-8b-Instruct-Q8_0-GGUF --model llama-3-8b-instruct.Q8_0.gguf -p "The meaning to life and the universe is"
|
31 |
+
```
|
32 |
+
|
33 |
+
Server:
|
34 |
+
|
35 |
+
```bash
|
36 |
+
llama-server --hf-repo DavidAU/llama-3-8b-Instruct-Q8_0-GGUF --model llama-3-8b-instruct.Q8_0.gguf -c 2048
|
37 |
+
```
|
38 |
+
|
39 |
+
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.
|
40 |
+
|
41 |
+
```
|
42 |
+
git clone https://github.com/ggerganov/llama.cpp && cd llama.cpp && make && ./main -m llama-3-8b-instruct.Q8_0.gguf -n 128
|
43 |
+
```
|