Instructions to use cortexso/aya with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- llama-cpp-python
How to use cortexso/aya with llama-cpp-python:
# !pip install llama-cpp-python from llama_cpp import Llama llm = Llama.from_pretrained( repo_id="cortexso/aya", filename="aya-23-35b-q2_k.gguf", )
llm.create_chat_completion( messages = [ { "role": "user", "content": "What is the capital of France?" } ] ) - Notebooks
- Google Colab
- Kaggle
- Local Apps
- llama.cpp
How to use cortexso/aya with llama.cpp:
Install from brew
brew install llama.cpp # Start a local OpenAI-compatible server with a web UI: llama-server -hf cortexso/aya:Q4_K_M # Run inference directly in the terminal: llama-cli -hf cortexso/aya:Q4_K_M
Install from WinGet (Windows)
winget install llama.cpp # Start a local OpenAI-compatible server with a web UI: llama-server -hf cortexso/aya:Q4_K_M # Run inference directly in the terminal: llama-cli -hf cortexso/aya:Q4_K_M
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 cortexso/aya:Q4_K_M # Run inference directly in the terminal: ./llama-cli -hf cortexso/aya:Q4_K_M
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 cortexso/aya:Q4_K_M # Run inference directly in the terminal: ./build/bin/llama-cli -hf cortexso/aya:Q4_K_M
Use Docker
docker model run hf.co/cortexso/aya:Q4_K_M
- LM Studio
- Jan
- vLLM
How to use cortexso/aya with vLLM:
Install from pip and serve model
# Install vLLM from pip: pip install vllm # Start the vLLM server: vllm serve "cortexso/aya" # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:8000/v1/chat/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "cortexso/aya", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }'Use Docker
docker model run hf.co/cortexso/aya:Q4_K_M
- Ollama
How to use cortexso/aya with Ollama:
ollama run hf.co/cortexso/aya:Q4_K_M
- Unsloth Studio new
How to use cortexso/aya 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 cortexso/aya 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 cortexso/aya to start chatting
Using HuggingFace Spaces for Unsloth
# No setup required # Open https://huggingface.co/spaces/unsloth/studio in your browser # Search for cortexso/aya to start chatting
- Docker Model Runner
How to use cortexso/aya with Docker Model Runner:
docker model run hf.co/cortexso/aya:Q4_K_M
- Lemonade
How to use cortexso/aya with Lemonade:
Pull the model
# Download Lemonade from https://lemonade-server.ai/ lemonade pull cortexso/aya:Q4_K_M
Run and chat with the model
lemonade run user.aya-Q4_K_M
List all available models
lemonade list
Upload folder using huggingface_hub
Browse files- .gitattributes +10 -0
- aya-23-8b-q2_k.gguf +3 -0
- aya-23-8b-q3_k_l.gguf +3 -0
- aya-23-8b-q3_k_m.gguf +3 -0
- aya-23-8b-q3_k_s.gguf +3 -0
- aya-23-8b-q4_k_m.gguf +3 -0
- aya-23-8b-q4_k_s.gguf +3 -0
- aya-23-8b-q5_k_m.gguf +3 -0
- aya-23-8b-q5_k_s.gguf +3 -0
- aya-23-8b-q6_k.gguf +3 -0
- aya-23-8b-q8_0.gguf +3 -0
.gitattributes
CHANGED
|
@@ -33,3 +33,13 @@ saved_model/**/* filter=lfs diff=lfs merge=lfs -text
|
|
| 33 |
*.zip filter=lfs diff=lfs merge=lfs -text
|
| 34 |
*.zst filter=lfs diff=lfs merge=lfs -text
|
| 35 |
*tfevents* filter=lfs diff=lfs merge=lfs -text
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 33 |
*.zip filter=lfs diff=lfs merge=lfs -text
|
| 34 |
*.zst filter=lfs diff=lfs merge=lfs -text
|
| 35 |
*tfevents* filter=lfs diff=lfs merge=lfs -text
|
| 36 |
+
aya-23-8b-q2_k.gguf filter=lfs diff=lfs merge=lfs -text
|
| 37 |
+
aya-23-8b-q3_k_l.gguf filter=lfs diff=lfs merge=lfs -text
|
| 38 |
+
aya-23-8b-q3_k_m.gguf filter=lfs diff=lfs merge=lfs -text
|
| 39 |
+
aya-23-8b-q3_k_s.gguf filter=lfs diff=lfs merge=lfs -text
|
| 40 |
+
aya-23-8b-q4_k_m.gguf filter=lfs diff=lfs merge=lfs -text
|
| 41 |
+
aya-23-8b-q4_k_s.gguf filter=lfs diff=lfs merge=lfs -text
|
| 42 |
+
aya-23-8b-q5_k_m.gguf filter=lfs diff=lfs merge=lfs -text
|
| 43 |
+
aya-23-8b-q5_k_s.gguf filter=lfs diff=lfs merge=lfs -text
|
| 44 |
+
aya-23-8b-q6_k.gguf filter=lfs diff=lfs merge=lfs -text
|
| 45 |
+
aya-23-8b-q8_0.gguf filter=lfs diff=lfs merge=lfs -text
|
aya-23-8b-q2_k.gguf
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:6a3923883208a92cc557274ab0eee12155f0517b0539545d3370fbca0446303f
|
| 3 |
+
size 3438497440
|
aya-23-8b-q3_k_l.gguf
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:69c772ee22cef980d650d9efe485e5f609a274c741bfe1061566e36f502af9d8
|
| 3 |
+
size 4527967904
|
aya-23-8b-q3_k_m.gguf
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:309a1af5289e0b418586da3d9f0f4ed543b74f0a4aeacfce2872c39f623e1466
|
| 3 |
+
size 4224929440
|
aya-23-8b-q3_k_s.gguf
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:e3de5faededb2b8442369646845ac672941e12861478b4ca57acd3c7efd1267a
|
| 3 |
+
size 3870510752
|
aya-23-8b-q4_k_m.gguf
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:af7eaaaaf20d957d92a8f0d36017031e0a40b075e01358e3d577e0c5ff03e8fc
|
| 3 |
+
size 5056974496
|
aya-23-8b-q4_k_s.gguf
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:5ff8538924e5767afd3a9e90847969859d5759869a66a8d55ddb43c519dc5414
|
| 3 |
+
size 4828909216
|
aya-23-8b-q5_k_m.gguf
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:a66efd1942ff25f8d589870ca11ec173f77ea93e18d7287a41a4e8844666f2e8
|
| 3 |
+
size 5803560608
|
aya-23-8b-q5_k_s.gguf
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:4bf5a469221c8014a4200e0ea64dd8ba00a124e07506a68467d85872297ec9b1
|
| 3 |
+
size 5669867168
|
aya-23-8b-q6_k.gguf
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:7109185b1106e0eb963ad3ab62023eb73ad71416f45e540acb45bd428c1bdeef
|
| 3 |
+
size 6596808352
|
aya-23-8b-q8_0.gguf
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:2bf264ba541512f838fab8ca1dd9686cf514eb627da2dfc8aedbbc35fe130149
|
| 3 |
+
size 8541064864
|