Upload README.md with huggingface_hub
Browse files
README.md
ADDED
@@ -0,0 +1,77 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
---
|
2 |
+
language:
|
3 |
+
- en
|
4 |
+
- fr
|
5 |
+
- de
|
6 |
+
- es
|
7 |
+
- it
|
8 |
+
- pt
|
9 |
+
- ja
|
10 |
+
- ko
|
11 |
+
- zh
|
12 |
+
- ar
|
13 |
+
- el
|
14 |
+
- fa
|
15 |
+
- pl
|
16 |
+
- id
|
17 |
+
- cs
|
18 |
+
- he
|
19 |
+
- hi
|
20 |
+
- nl
|
21 |
+
- ro
|
22 |
+
- ru
|
23 |
+
- tr
|
24 |
+
- uk
|
25 |
+
- vi
|
26 |
+
license: cc-by-nc-4.0
|
27 |
+
library_name: transformers
|
28 |
+
tags:
|
29 |
+
- llama-cpp
|
30 |
+
- gguf-my-repo
|
31 |
+
base_model: CohereForAI/aya-23-8B
|
32 |
+
inference: false
|
33 |
+
---
|
34 |
+
|
35 |
+
# zlyva/aya-23-8B-Q4_K_M-GGUF
|
36 |
+
This model was converted to GGUF format from [`CohereForAI/aya-23-8B`](https://huggingface.co/CohereForAI/aya-23-8B) using llama.cpp via the ggml.ai's [GGUF-my-repo](https://huggingface.co/spaces/ggml-org/gguf-my-repo) space.
|
37 |
+
Refer to the [original model card](https://huggingface.co/CohereForAI/aya-23-8B) for more details on the model.
|
38 |
+
|
39 |
+
## Use with llama.cpp
|
40 |
+
Install llama.cpp through brew (works on Mac and Linux)
|
41 |
+
|
42 |
+
```bash
|
43 |
+
brew install llama.cpp
|
44 |
+
|
45 |
+
```
|
46 |
+
Invoke the llama.cpp server or the CLI.
|
47 |
+
|
48 |
+
### CLI:
|
49 |
+
```bash
|
50 |
+
llama --hf-repo zlyva/aya-23-8B-Q4_K_M-GGUF --hf-file aya-23-8b-q4_k_m.gguf -p "The meaning to life and the universe is"
|
51 |
+
```
|
52 |
+
|
53 |
+
### Server:
|
54 |
+
```bash
|
55 |
+
llama-server --hf-repo zlyva/aya-23-8B-Q4_K_M-GGUF --hf-file aya-23-8b-q4_k_m.gguf -c 2048
|
56 |
+
```
|
57 |
+
|
58 |
+
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.
|
59 |
+
|
60 |
+
Step 1: Clone llama.cpp from GitHub.
|
61 |
+
```
|
62 |
+
git clone https://github.com/ggerganov/llama.cpp
|
63 |
+
```
|
64 |
+
|
65 |
+
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).
|
66 |
+
```
|
67 |
+
cd llama.cpp && LLAMA_CURL=1 make
|
68 |
+
```
|
69 |
+
|
70 |
+
Step 3: Run inference through the main binary.
|
71 |
+
```
|
72 |
+
./main --hf-repo zlyva/aya-23-8B-Q4_K_M-GGUF --hf-file aya-23-8b-q4_k_m.gguf -p "The meaning to life and the universe is"
|
73 |
+
```
|
74 |
+
or
|
75 |
+
```
|
76 |
+
./server --hf-repo zlyva/aya-23-8B-Q4_K_M-GGUF --hf-file aya-23-8b-q4_k_m.gguf -c 2048
|
77 |
+
```
|