Instructions to use AyAI2Team/AyAI_9B_v3 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- llama.cpp
How to use AyAI2Team/AyAI_9B_v3 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 AyAI2Team/AyAI_9B_v3:Q4_K_M # Run inference directly in the terminal: llama cli -hf AyAI2Team/AyAI_9B_v3:Q4_K_M
Install from WinGet (Windows)
winget install llama.cpp # Start a local OpenAI-compatible server with a web UI: llama serve -hf AyAI2Team/AyAI_9B_v3:Q4_K_M # Run inference directly in the terminal: llama cli -hf AyAI2Team/AyAI_9B_v3:Q4_K_M
Build from source code
git clone https://github.com/ggml-org/llama.cpp.git cd llama.cpp cmake -B build cmake --build build -j --target llama-app # Start a local OpenAI-compatible server with a web UI: ./build/bin/llama serve -hf AyAI2Team/AyAI_9B_v3:Q4_K_M # Run inference directly in the terminal: ./build/bin/llama cli -hf AyAI2Team/AyAI_9B_v3:Q4_K_M
Use Docker
docker model run hf.co/AyAI2Team/AyAI_9B_v3:Q4_K_M
- Llama new
- LM Studio
- Jan
- vLLM
How to use AyAI2Team/AyAI_9B_v3 with vLLM:
Install from pip and serve model
# Install vLLM from pip: pip install vllm # Start the vLLM server: vllm serve "AyAI2Team/AyAI_9B_v3" # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:8000/v1/chat/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "AyAI2Team/AyAI_9B_v3", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }'Use Docker
docker model run hf.co/AyAI2Team/AyAI_9B_v3:Q4_K_M
- Ollama
How to use AyAI2Team/AyAI_9B_v3 with Ollama:
ollama run hf.co/AyAI2Team/AyAI_9B_v3:Q4_K_M
- Unsloth Desktop
- Pi
How to use AyAI2Team/AyAI_9B_v3 with Pi:
Start the llama.cpp server
# Install llama.cpp: brew install llama.cpp # Start a local OpenAI-compatible server: llama serve -hf AyAI2Team/AyAI_9B_v3:Q4_K_M
Configure the model in Pi
# Install Pi: npm install -g @earendil-works/pi-coding-agent # Add to ~/.pi/agent/models.json: { "providers": { "llama-cpp": { "baseUrl": "http://localhost:9931/v1", "api": "openai-completions", "apiKey": "none", "models": [ { "id": "AyAI2Team/AyAI_9B_v3:Q4_K_M" } ] } } }Run Pi
# Start Pi in your project directory: pi
- Docker Model Runner
How to use AyAI2Team/AyAI_9B_v3 with Docker Model Runner:
docker model run hf.co/AyAI2Team/AyAI_9B_v3:Q4_K_M
- Lemonade
How to use AyAI2Team/AyAI_9B_v3 with Lemonade:
Pull the model
# Download Lemonade from https://lemonade-server.ai/ lemonade pull AyAI2Team/AyAI_9B_v3:Q4_K_M
Run and chat with the model
lemonade run user.AyAI_9B_v3-Q4_K_M
List all available models
lemonade list
- Hermes Agent
How to use AyAI2Team/AyAI_9B_v3 with Hermes Agent:
Start the llama.cpp server
# Install llama.cpp: brew install llama.cpp # Start a local OpenAI-compatible server: llama serve -hf AyAI2Team/AyAI_9B_v3:Q4_K_M
Configure Hermes
# Install Hermes: curl -fsSL https://hermes-agent.nousresearch.com/install.sh | bash hermes setup # Point Hermes at the local server: hermes config set model.provider custom hermes config set model.base_url http://127.0.0.1:9931/v1 hermes config set model.default AyAI2Team/AyAI_9B_v3:Q4_K_M
Run Hermes
hermes
- Atomic Chat
- OpenClaw
How to use AyAI2Team/AyAI_9B_v3 with OpenClaw:
Start the llama.cpp server
# Install llama.cpp: brew install llama.cpp # Start a local OpenAI-compatible server: llama serve -hf AyAI2Team/AyAI_9B_v3:Q4_K_M
Configure OpenClaw
# Install OpenClaw: npm install -g openclaw@latest # Register the local server and set it as the default model: openclaw onboard --non-interactive --mode local \ --auth-choice custom-api-key \ --custom-base-url http://127.0.0.1:9931/v1 \ --custom-model-id "AyAI2Team/AyAI_9B_v3:Q4_K_M" \ --custom-provider-id llama-cpp \ --custom-compatibility openai \ --custom-text-input \ --accept-risk \ --skip-health
Run OpenClaw
openclaw agent --local --agent main --message "Hello from Hugging Face"
Upload AyAI_9B_v3.gguf
Browse files---
language:
- tr
- en
- multilingual
tags:
- reasoning
- grpo
- lora
- gguf
- local-ai
- self-hosted
- inference
license: other
---
# AyAI 9B v3 (Muzaffer)
**AyAI 9B v3** is an independently developed, open-weight 9-billion-parameter reasoning and general-purpose language model built to run under full local ownership and control. Designed as a practical alternative to closed black-box services, restrictive APIs, and heavy infrastructure lock-ins, it emphasizes transparent training progression, reward-guided behavior refinement, and flexible deployment across local hardware and custom application stacks.
## Overview & Design Philosophy
Many real-world AI projects stall when teams are forced onto expensive cloud tiers or rigid closed ecosystems that limit how models are tuned, merged, quantized, or served. **AyAI 9B v3** is shaped around the opposite approach: keeping the model weights, training iterations, and export formats in the hands of the builder so you can iterate quickly, test locally, and integrate directly into your own software architecture.
## Why AyAI 9B v3?
* **Reasoning Refined via GRPO:** Trained with Group Relative Policy Optimization (GRPO) to strengthen multi-step reasoning, structured problem solving, and reward-aligned response quality while keeping KL policy drift controlled so foundational capabilities are preserved.
* **True Independence & Full Ownership:** Engineered for self-hosting on personal workstations, local servers, or custom application backends without mandatory dependence on third-party closed APIs.
* **Flexible Format Support (`FP16` & `Q4`):** Prepared to support both merged 16-bit (`FP16`) weights—ideal for full-precision evaluation, merging workflows, and subsequent training stages—and `Q4` (`GGUF`) quantization for lower memory overhead and faster local inference.
* **Application & Workflow Ready:** Built to integrate cleanly into custom AI applications, local inference engines (`llama.cpp`, `Ollama`, `vLLM`), queueing/caching pipelines, and multi-component developer tools.
* **Iterative Engineering Lineage:** Represents an active step in the ongoing **AyAI** progression, combining lessons from earlier runs, prompt/reasoning refinement, and hands-on testing into a more cohesive 9B release.
## Intended Use Cases
* Step-by-step logical reasoning, analysis, and multi-part problem solving
* Code generation, script drafting, debugging, and technical explanations
* Turkish and multilingual natural language understanding and generation
* Self-hosted assistants, local developer tools, and custom application backends
## Available Formats & Deployment Notes
* **FP16 (`merged_16bit`):** Best suited for high-precision inference, quality comparisons across checkpoints, and follow-up fine-tuning or distillation steps.
* **GGUF (`Q4_K_M`):** Best suited for local execution where VRAM and RAM budgets matter, offering a practical balance between quality, speed, and memory footprint across GPU and CPU/GPU hybrid setups.
> **Tip:** When benchmarking or deploying locally, compare outputs across checkpoints and quantization levels on your target prompts—especially for technical definitions, coding tasks, and structured reasoning—to pick the best speed-to-accuracy trade-off for your hardware.
## Limitations & Responsible Use
* As a specialized, independently tuned 9B model, outputs can still contain inaccuracies, edge-case errors, or over-elaboration on niche topics; always verify critical code, technical claims, and factual outputs before production use.
* Behavior and response length can vary depending on system prompts, sampling settings (`temperature`, `top_p`), and quantization format (`FP16` vs. `Q4`).
## License & Attribution
Developed under the **AyAI** project. Commercial and personal use, modification, and distribution are permitted, provided permanent attribution to **AyAI** is clearly maintained in derivatives, deployments, and accompanying documentation.
Files changed (2)
- .gitattributes+1
- AyAI_9B_v3.ggufAdded+3
32 unmodified lines33343532 unmodified lines*.zip filter=lfs diff=lfs merge=lfs -text*.zst filter=lfs diff=lfs merge=lfs -text*tfevents* filter=lfs diff=lfs merge=lfs -text32 unmodified lines3334353632 unmodified lines*.zip filter=lfs diff=lfs merge=lfs -text*.zst filter=lfs diff=lfs merge=lfs -text*tfevents* filter=lfs diff=lfs merge=lfs -textAyAI_9B_v3.gguf filter=lfs diff=lfs merge=lfs -text
123version https://git-lfs.github.com/spec/v1oid sha256:28130d43960014fa033d0f8b2e461ee5e317cf719e1b7147328479cd6dee1a9esize 5831992320