Upload README.md with huggingface_hub
Browse files
README.md
ADDED
@@ -0,0 +1,89 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
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 |
+
extra_gated_prompt: By submitting this form, you agree to the [License Agreement](https://cohere.com/c4ai-cc-by-nc-license) and
|
30 |
+
acknowledge that the information you provide will be collected, used, and shared
|
31 |
+
in accordance with Cohere’s [Privacy Policy]( https://cohere.com/privacy). You’ll
|
32 |
+
receive email updates about C4AI and Cohere research, events, products and services.
|
33 |
+
You can unsubscribe at any time.
|
34 |
+
extra_gated_fields:
|
35 |
+
Name: text
|
36 |
+
Affiliation: text
|
37 |
+
Country: country
|
38 |
+
I agree to use this model for non-commercial use ONLY: checkbox
|
39 |
+
tags:
|
40 |
+
- abliterated
|
41 |
+
- uncensored
|
42 |
+
- llama-cpp
|
43 |
+
- gguf-my-repo
|
44 |
+
base_model: huihui-ai/aya-expanse-8b-abliterated
|
45 |
+
---
|
46 |
+
|
47 |
+
# AIronMind/aya-expanse-8b-abliterated-Q4_K_M-GGUF
|
48 |
+
This model was converted to GGUF format from [`huihui-ai/aya-expanse-8b-abliterated`](https://huggingface.co/huihui-ai/aya-expanse-8b-abliterated) using llama.cpp via the ggml.ai's [GGUF-my-repo](https://huggingface.co/spaces/ggml-org/gguf-my-repo) space.
|
49 |
+
Refer to the [original model card](https://huggingface.co/huihui-ai/aya-expanse-8b-abliterated) for more details on the model.
|
50 |
+
|
51 |
+
## Use with llama.cpp
|
52 |
+
Install llama.cpp through brew (works on Mac and Linux)
|
53 |
+
|
54 |
+
```bash
|
55 |
+
brew install llama.cpp
|
56 |
+
|
57 |
+
```
|
58 |
+
Invoke the llama.cpp server or the CLI.
|
59 |
+
|
60 |
+
### CLI:
|
61 |
+
```bash
|
62 |
+
llama-cli --hf-repo AIronMind/aya-expanse-8b-abliterated-Q4_K_M-GGUF --hf-file aya-expanse-8b-abliterated-q4_k_m.gguf -p "The meaning to life and the universe is"
|
63 |
+
```
|
64 |
+
|
65 |
+
### Server:
|
66 |
+
```bash
|
67 |
+
llama-server --hf-repo AIronMind/aya-expanse-8b-abliterated-Q4_K_M-GGUF --hf-file aya-expanse-8b-abliterated-q4_k_m.gguf -c 2048
|
68 |
+
```
|
69 |
+
|
70 |
+
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.
|
71 |
+
|
72 |
+
Step 1: Clone llama.cpp from GitHub.
|
73 |
+
```
|
74 |
+
git clone https://github.com/ggerganov/llama.cpp
|
75 |
+
```
|
76 |
+
|
77 |
+
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).
|
78 |
+
```
|
79 |
+
cd llama.cpp && LLAMA_CURL=1 make
|
80 |
+
```
|
81 |
+
|
82 |
+
Step 3: Run inference through the main binary.
|
83 |
+
```
|
84 |
+
./llama-cli --hf-repo AIronMind/aya-expanse-8b-abliterated-Q4_K_M-GGUF --hf-file aya-expanse-8b-abliterated-q4_k_m.gguf -p "The meaning to life and the universe is"
|
85 |
+
```
|
86 |
+
or
|
87 |
+
```
|
88 |
+
./llama-server --hf-repo AIronMind/aya-expanse-8b-abliterated-Q4_K_M-GGUF --hf-file aya-expanse-8b-abliterated-q4_k_m.gguf -c 2048
|
89 |
+
```
|