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-35b-q2_k.gguf +3 -0
- aya-23-35b-q3_k_l.gguf +3 -0
- aya-23-35b-q3_k_m.gguf +3 -0
- aya-23-35b-q3_k_s.gguf +3 -0
- aya-23-35b-q4_k_m.gguf +3 -0
- aya-23-35b-q4_k_s.gguf +3 -0
- aya-23-35b-q5_k_m.gguf +3 -0
- aya-23-35b-q5_k_s.gguf +3 -0
- aya-23-35b-q6_k.gguf +3 -0
- aya-23-35b-q8_0.gguf +3 -0
.gitattributes
CHANGED
|
@@ -43,3 +43,13 @@ 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
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 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
|
| 46 |
+
aya-23-35b-q2_k.gguf filter=lfs diff=lfs merge=lfs -text
|
| 47 |
+
aya-23-35b-q3_k_l.gguf filter=lfs diff=lfs merge=lfs -text
|
| 48 |
+
aya-23-35b-q3_k_m.gguf filter=lfs diff=lfs merge=lfs -text
|
| 49 |
+
aya-23-35b-q3_k_s.gguf filter=lfs diff=lfs merge=lfs -text
|
| 50 |
+
aya-23-35b-q4_k_m.gguf filter=lfs diff=lfs merge=lfs -text
|
| 51 |
+
aya-23-35b-q4_k_s.gguf filter=lfs diff=lfs merge=lfs -text
|
| 52 |
+
aya-23-35b-q5_k_m.gguf filter=lfs diff=lfs merge=lfs -text
|
| 53 |
+
aya-23-35b-q5_k_s.gguf filter=lfs diff=lfs merge=lfs -text
|
| 54 |
+
aya-23-35b-q6_k.gguf filter=lfs diff=lfs merge=lfs -text
|
| 55 |
+
aya-23-35b-q8_0.gguf filter=lfs diff=lfs merge=lfs -text
|
aya-23-35b-q2_k.gguf
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:a10d978f0ae958145e0ec661e1f5750b88069a1742dec5666a5250a588f3a84b
|
| 3 |
+
size 13817388480
|
aya-23-35b-q3_k_l.gguf
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:f8b864d10a1c41f1579b850434010952b4369631b614b248a0f686b3fd8c72b4
|
| 3 |
+
size 19149397440
|
aya-23-35b-q3_k_m.gguf
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:d60da0966a9c36a418d572592fffc76407f07a3281de83b76ba9e15146e3d0d1
|
| 3 |
+
size 17618476480
|
aya-23-35b-q3_k_s.gguf
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:70a3fadee662477965879f6e89aec7b9e6e27f9c81279d1817dd8b686ede8ef0
|
| 3 |
+
size 15862111680
|
aya-23-35b-q4_k_m.gguf
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:9353a0431c88c9a1d0ecb1dd9adafcf3030443d8d1522d3f45004ee0e72bfa5f
|
| 3 |
+
size 21527043520
|
aya-23-35b-q4_k_s.gguf
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:e995f0575b325227466fd4e59cef53193d9333192fa509e8d3e8ddf51fee93e5
|
| 3 |
+
size 20378328512
|
aya-23-35b-q5_k_m.gguf
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:f0b49aa92eadb07ded177bfa9547b0d17e8c1775bf84d4b3b188f396e7076fb7
|
| 3 |
+
size 25008315840
|
aya-23-35b-q5_k_s.gguf
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:741d5927ca89121e0ef6d6f9649001717031b0a271dbd935006c06ab5b9b3915
|
| 3 |
+
size 24339848640
|
aya-23-35b-q6_k.gguf
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:aeaaa23d749657eb8ee7c09af491607ce63e31d27c9baa50d178fb9fd1dfbba2
|
| 3 |
+
size 28707167680
|
aya-23-35b-q8_0.gguf
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:66188e962ef40ce5961af9341551ea9c17a4c10f288b5136fb3fcc803fce5529
|
| 3 |
+
size 37179006400
|