Instructions to use cortexso/aya-expanse with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- llama-cpp-python
How to use cortexso/aya-expanse with llama-cpp-python:
# !pip install llama-cpp-python from llama_cpp import Llama llm = Llama.from_pretrained( repo_id="cortexso/aya-expanse", filename="aya-expanse-32b-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-expanse 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-expanse:Q4_K_M # Run inference directly in the terminal: llama-cli -hf cortexso/aya-expanse: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-expanse:Q4_K_M # Run inference directly in the terminal: llama-cli -hf cortexso/aya-expanse: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-expanse:Q4_K_M # Run inference directly in the terminal: ./llama-cli -hf cortexso/aya-expanse: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-expanse:Q4_K_M # Run inference directly in the terminal: ./build/bin/llama-cli -hf cortexso/aya-expanse:Q4_K_M
Use Docker
docker model run hf.co/cortexso/aya-expanse:Q4_K_M
- LM Studio
- Jan
- vLLM
How to use cortexso/aya-expanse with vLLM:
Install from pip and serve model
# Install vLLM from pip: pip install vllm # Start the vLLM server: vllm serve "cortexso/aya-expanse" # 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-expanse", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }'Use Docker
docker model run hf.co/cortexso/aya-expanse:Q4_K_M
- Ollama
How to use cortexso/aya-expanse with Ollama:
ollama run hf.co/cortexso/aya-expanse:Q4_K_M
- Unsloth Studio new
How to use cortexso/aya-expanse 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-expanse 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-expanse 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-expanse to start chatting
- Docker Model Runner
How to use cortexso/aya-expanse with Docker Model Runner:
docker model run hf.co/cortexso/aya-expanse:Q4_K_M
- Lemonade
How to use cortexso/aya-expanse with Lemonade:
Pull the model
# Download Lemonade from https://lemonade-server.ai/ lemonade pull cortexso/aya-expanse:Q4_K_M
Run and chat with the model
lemonade run user.aya-expanse-Q4_K_M
List all available models
lemonade list
Upload folder using huggingface_hub
Browse files- .gitattributes +10 -0
- aya-expanse-8b-q2_k.gguf +3 -0
- aya-expanse-8b-q3_k_l.gguf +3 -0
- aya-expanse-8b-q3_k_m.gguf +3 -0
- aya-expanse-8b-q3_k_s.gguf +3 -0
- aya-expanse-8b-q4_k_m.gguf +3 -0
- aya-expanse-8b-q4_k_s.gguf +3 -0
- aya-expanse-8b-q5_k_m.gguf +3 -0
- aya-expanse-8b-q5_k_s.gguf +3 -0
- aya-expanse-8b-q6_k.gguf +3 -0
- aya-expanse-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-expanse-8b-q2_k.gguf filter=lfs diff=lfs merge=lfs -text
|
| 37 |
+
aya-expanse-8b-q3_k_l.gguf filter=lfs diff=lfs merge=lfs -text
|
| 38 |
+
aya-expanse-8b-q3_k_m.gguf filter=lfs diff=lfs merge=lfs -text
|
| 39 |
+
aya-expanse-8b-q3_k_s.gguf filter=lfs diff=lfs merge=lfs -text
|
| 40 |
+
aya-expanse-8b-q4_k_m.gguf filter=lfs diff=lfs merge=lfs -text
|
| 41 |
+
aya-expanse-8b-q4_k_s.gguf filter=lfs diff=lfs merge=lfs -text
|
| 42 |
+
aya-expanse-8b-q5_k_m.gguf filter=lfs diff=lfs merge=lfs -text
|
| 43 |
+
aya-expanse-8b-q5_k_s.gguf filter=lfs diff=lfs merge=lfs -text
|
| 44 |
+
aya-expanse-8b-q6_k.gguf filter=lfs diff=lfs merge=lfs -text
|
| 45 |
+
aya-expanse-8b-q8_0.gguf filter=lfs diff=lfs merge=lfs -text
|
aya-expanse-8b-q2_k.gguf
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:5fd4717d1f8f58df382849a65f799a55a540b6307a1152713ba0d46c8bc6a8f9
|
| 3 |
+
size 3438497568
|
aya-expanse-8b-q3_k_l.gguf
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:a14884a11be680028661180c6bc7bf93ce403248f2a0d70b6c81efa8b164204b
|
| 3 |
+
size 4527968032
|
aya-expanse-8b-q3_k_m.gguf
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:a76df030d917d3487ee0a76bfdaf4479266d7d4202d37d73fd8efdeb3ca93a40
|
| 3 |
+
size 4224929568
|
aya-expanse-8b-q3_k_s.gguf
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:4b61e95eddd51d6f65ad00d0c41d917074ac17d6a695bac3254f19bb483e213c
|
| 3 |
+
size 3870510880
|
aya-expanse-8b-q4_k_m.gguf
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:f63580ba7394031d0852d65cd6f8e481d402526dd5b7d8548b4051ed56340aff
|
| 3 |
+
size 5056974624
|
aya-expanse-8b-q4_k_s.gguf
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:85b29f7117cff88463f22ce0b909639358b40730d175704698510d41a01beb8b
|
| 3 |
+
size 4828909344
|
aya-expanse-8b-q5_k_m.gguf
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:72fd0f28400b6019cd851db8eaea204dcfb26062f536bbe42b40c95a9ef9d826
|
| 3 |
+
size 5803560736
|
aya-expanse-8b-q5_k_s.gguf
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:35d656d855bc90de37fb5d4cf67cdc7136d15af1fee555198d098b584eb0d65b
|
| 3 |
+
size 5669867296
|
aya-expanse-8b-q6_k.gguf
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:950270f9f943d66a2e391e90089631a5a63828c264d146d36f4e43a67928167b
|
| 3 |
+
size 6596808480
|
aya-expanse-8b-q8_0.gguf
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:427f2ac6879335915a2da84ec878b43d7b0853306fab0f66b2648ff4a31ee0af
|
| 3 |
+
size 8541064992
|