Upload README.md with huggingface_hub
Browse files
README.md
ADDED
@@ -0,0 +1,77 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
---
|
2 |
+
inference: false
|
3 |
+
library_name: transformers
|
4 |
+
language:
|
5 |
+
- en
|
6 |
+
- fr
|
7 |
+
- de
|
8 |
+
- es
|
9 |
+
- it
|
10 |
+
- pt
|
11 |
+
- ja
|
12 |
+
- ko
|
13 |
+
- zh
|
14 |
+
- ar
|
15 |
+
- el
|
16 |
+
- fa
|
17 |
+
- pl
|
18 |
+
- id
|
19 |
+
- cs
|
20 |
+
- he
|
21 |
+
- hi
|
22 |
+
- nl
|
23 |
+
- ro
|
24 |
+
- ru
|
25 |
+
- tr
|
26 |
+
- uk
|
27 |
+
- vi
|
28 |
+
license: cc-by-nc-4.0
|
29 |
+
base_model: adamo1139/aya-expanse-8b-ungated
|
30 |
+
tags:
|
31 |
+
- llama-cpp
|
32 |
+
- gguf-my-repo
|
33 |
+
---
|
34 |
+
|
35 |
+
# am0n666x/aya-expanse-8b-ungated-Q5_K_S-GGUF
|
36 |
+
This model was converted to GGUF format from [`adamo1139/aya-expanse-8b-ungated`](https://huggingface.co/adamo1139/aya-expanse-8b-ungated) 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/adamo1139/aya-expanse-8b-ungated) 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-cli --hf-repo am0n666x/aya-expanse-8b-ungated-Q5_K_S-GGUF --hf-file aya-expanse-8b-ungated-q5_k_s.gguf -p "The meaning to life and the universe is"
|
51 |
+
```
|
52 |
+
|
53 |
+
### Server:
|
54 |
+
```bash
|
55 |
+
llama-server --hf-repo am0n666x/aya-expanse-8b-ungated-Q5_K_S-GGUF --hf-file aya-expanse-8b-ungated-q5_k_s.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 |
+
./llama-cli --hf-repo am0n666x/aya-expanse-8b-ungated-Q5_K_S-GGUF --hf-file aya-expanse-8b-ungated-q5_k_s.gguf -p "The meaning to life and the universe is"
|
73 |
+
```
|
74 |
+
or
|
75 |
+
```
|
76 |
+
./llama-server --hf-repo am0n666x/aya-expanse-8b-ungated-Q5_K_S-GGUF --hf-file aya-expanse-8b-ungated-q5_k_s.gguf -c 2048
|
77 |
+
```
|