Instructions to use NikolayKozloff/aya-expanse-8b-Q8_0-GGUF with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use NikolayKozloff/aya-expanse-8b-Q8_0-GGUF with Transformers:
# Load model directly from transformers import AutoModel model = AutoModel.from_pretrained("NikolayKozloff/aya-expanse-8b-Q8_0-GGUF", device_map="auto") - Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- llama.cpp
How to use NikolayKozloff/aya-expanse-8b-Q8_0-GGUF with llama.cpp:
Install (macOS, Linux)
curl -LsSf https://llama.app/install.sh | sh # Start a local OpenAI-compatible server with a web UI: llama serve -hf NikolayKozloff/aya-expanse-8b-Q8_0-GGUF:Q8_0 # Run inference directly in the terminal: llama cli -hf NikolayKozloff/aya-expanse-8b-Q8_0-GGUF:Q8_0
Install from WinGet (Windows)
winget install llama.cpp # Start a local OpenAI-compatible server with a web UI: llama serve -hf NikolayKozloff/aya-expanse-8b-Q8_0-GGUF:Q8_0 # Run inference directly in the terminal: llama cli -hf NikolayKozloff/aya-expanse-8b-Q8_0-GGUF:Q8_0
Use pre-built binary
# Download pre-built binary from: # https://github.com/ggerganov/llama.cpp/releases # Start a local OpenAI-compatible server with a web UI: ./llama-server -hf NikolayKozloff/aya-expanse-8b-Q8_0-GGUF:Q8_0 # Run inference directly in the terminal: ./llama-cli -hf NikolayKozloff/aya-expanse-8b-Q8_0-GGUF:Q8_0
Build from source code
git clone https://github.com/ggerganov/llama.cpp.git cd llama.cpp cmake -B build cmake --build build -j --target llama-server llama-cli # Start a local OpenAI-compatible server with a web UI: ./build/bin/llama-server -hf NikolayKozloff/aya-expanse-8b-Q8_0-GGUF:Q8_0 # Run inference directly in the terminal: ./build/bin/llama-cli -hf NikolayKozloff/aya-expanse-8b-Q8_0-GGUF:Q8_0
Use Docker
docker model run hf.co/NikolayKozloff/aya-expanse-8b-Q8_0-GGUF:Q8_0
- LM Studio
- Jan
- Ollama
How to use NikolayKozloff/aya-expanse-8b-Q8_0-GGUF with Ollama:
ollama run hf.co/NikolayKozloff/aya-expanse-8b-Q8_0-GGUF:Q8_0
- Unsloth Studio
How to use NikolayKozloff/aya-expanse-8b-Q8_0-GGUF with Unsloth Studio:
Install Unsloth Studio (macOS, Linux, WSL)
curl -fsSL https://unsloth.ai/install.sh | sh # Run unsloth studio unsloth studio -H 0.0.0.0 -p 8888 # Then open http://localhost:8888 in your browser # Search for NikolayKozloff/aya-expanse-8b-Q8_0-GGUF to start chatting
Install Unsloth Studio (Windows)
irm https://unsloth.ai/install.ps1 | iex # Run unsloth studio unsloth studio -H 0.0.0.0 -p 8888 # Then open http://localhost:8888 in your browser # Search for NikolayKozloff/aya-expanse-8b-Q8_0-GGUF to start chatting
Using HuggingFace Spaces for Unsloth
# No setup required # Open https://huggingface.co/spaces/unsloth/studio in your browser # Search for NikolayKozloff/aya-expanse-8b-Q8_0-GGUF to start chatting
- Docker Model Runner
How to use NikolayKozloff/aya-expanse-8b-Q8_0-GGUF with Docker Model Runner:
docker model run hf.co/NikolayKozloff/aya-expanse-8b-Q8_0-GGUF:Q8_0
- Lemonade
How to use NikolayKozloff/aya-expanse-8b-Q8_0-GGUF with Lemonade:
Pull the model
# Download Lemonade from https://lemonade-server.ai/ lemonade pull NikolayKozloff/aya-expanse-8b-Q8_0-GGUF:Q8_0
Run and chat with the model
lemonade run user.aya-expanse-8b-Q8_0-GGUF-Q8_0
List all available models
lemonade list
- Atomic Chat
Upload README.md with huggingface_hub
Browse files
README.md
ADDED
|
@@ -0,0 +1,87 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 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 |
+
base_model: CohereForAI/aya-expanse-8b
|
| 40 |
+
tags:
|
| 41 |
+
- llama-cpp
|
| 42 |
+
- gguf-my-repo
|
| 43 |
+
---
|
| 44 |
+
|
| 45 |
+
# NikolayKozloff/aya-expanse-8b-Q8_0-GGUF
|
| 46 |
+
This model was converted to GGUF format from [`CohereForAI/aya-expanse-8b`](https://huggingface.co/CohereForAI/aya-expanse-8b) using llama.cpp via the ggml.ai's [GGUF-my-repo](https://huggingface.co/spaces/ggml-org/gguf-my-repo) space.
|
| 47 |
+
Refer to the [original model card](https://huggingface.co/CohereForAI/aya-expanse-8b) for more details on the model.
|
| 48 |
+
|
| 49 |
+
## Use with llama.cpp
|
| 50 |
+
Install llama.cpp through brew (works on Mac and Linux)
|
| 51 |
+
|
| 52 |
+
```bash
|
| 53 |
+
brew install llama.cpp
|
| 54 |
+
|
| 55 |
+
```
|
| 56 |
+
Invoke the llama.cpp server or the CLI.
|
| 57 |
+
|
| 58 |
+
### CLI:
|
| 59 |
+
```bash
|
| 60 |
+
llama-cli --hf-repo NikolayKozloff/aya-expanse-8b-Q8_0-GGUF --hf-file aya-expanse-8b-q8_0.gguf -p "The meaning to life and the universe is"
|
| 61 |
+
```
|
| 62 |
+
|
| 63 |
+
### Server:
|
| 64 |
+
```bash
|
| 65 |
+
llama-server --hf-repo NikolayKozloff/aya-expanse-8b-Q8_0-GGUF --hf-file aya-expanse-8b-q8_0.gguf -c 2048
|
| 66 |
+
```
|
| 67 |
+
|
| 68 |
+
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.
|
| 69 |
+
|
| 70 |
+
Step 1: Clone llama.cpp from GitHub.
|
| 71 |
+
```
|
| 72 |
+
git clone https://github.com/ggerganov/llama.cpp
|
| 73 |
+
```
|
| 74 |
+
|
| 75 |
+
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).
|
| 76 |
+
```
|
| 77 |
+
cd llama.cpp && LLAMA_CURL=1 make
|
| 78 |
+
```
|
| 79 |
+
|
| 80 |
+
Step 3: Run inference through the main binary.
|
| 81 |
+
```
|
| 82 |
+
./llama-cli --hf-repo NikolayKozloff/aya-expanse-8b-Q8_0-GGUF --hf-file aya-expanse-8b-q8_0.gguf -p "The meaning to life and the universe is"
|
| 83 |
+
```
|
| 84 |
+
or
|
| 85 |
+
```
|
| 86 |
+
./llama-server --hf-repo NikolayKozloff/aya-expanse-8b-Q8_0-GGUF --hf-file aya-expanse-8b-q8_0.gguf -c 2048
|
| 87 |
+
```
|