Instructions to use zerak12/aria-3b-lora with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- PEFT
How to use zerak12/aria-3b-lora with PEFT:
from peft import PeftModel from transformers import AutoModelForCausalLM base_model = AutoModelForCausalLM.from_pretrained("/srv/storage/ai-companion/models/Qwen2.5-3B-Instruct") model = PeftModel.from_pretrained(base_model, "zerak12/aria-3b-lora") - Transformers
How to use zerak12/aria-3b-lora with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-generation", model="zerak12/aria-3b-lora") messages = [ {"role": "user", "content": "Who are you?"}, ] pipe(messages)# pip install -U transformers accelerate # Load model directly from transformers import AutoModel model = AutoModel.from_pretrained("zerak12/aria-3b-lora", device_map="auto") - Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- vLLM
How to use zerak12/aria-3b-lora with vLLM:
Install from pip and serve model
# Install vLLM from pip: pip install vllm # Start the vLLM server: vllm serve "zerak12/aria-3b-lora" # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:8000/v1/chat/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "zerak12/aria-3b-lora", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }'Use Docker
docker model run hf.co/zerak12/aria-3b-lora
- SGLang
How to use zerak12/aria-3b-lora with SGLang:
Install from pip and serve model
# Install SGLang from pip: pip install sglang # Start the SGLang server: python3 -m sglang.launch_server \ --model-path "zerak12/aria-3b-lora" \ --host 0.0.0.0 \ --port 30000 # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:30000/v1/chat/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "zerak12/aria-3b-lora", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }'Use Docker images
docker run --gpus all \ --shm-size 32g \ -p 30000:30000 \ -v ~/.cache/huggingface:/root/.cache/huggingface \ --env "HF_TOKEN=<secret>" \ --ipc=host \ lmsysorg/sglang:latest \ python3 -m sglang.launch_server \ --model-path "zerak12/aria-3b-lora" \ --host 0.0.0.0 \ --port 30000 # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:30000/v1/chat/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "zerak12/aria-3b-lora", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }' - Docker Model Runner
How to use zerak12/aria-3b-lora with Docker Model Runner:
docker model run hf.co/zerak12/aria-3b-lora
Aria 3B LoRA Adapter (Phase 10 GRPO & RLVR Self-Evolution)
Official low-rank adapter (rank 16, alpha 32) fine-tuned on Qwen/Qwen2.5-3B-Instruct incorporating GRPO advantage weighting and RLVR verified golden trajectories across 557 samples.
- Developer: Zerak Jamil (Department of Information System Engineering, Erbil Polytechnic University)
- Base Model:
Qwen/Qwen2.5-3B-Instruct - Training Epochs: 3 (753 total optimization steps)
Quick Start
from peft import PeftModel
from transformers import AutoModelForCausalLM, AutoTokenizer
base_model_name = "Qwen/Qwen2.5-3B-Instruct"
tokenizer = AutoTokenizer.from_pretrained(base_model_name)
base_model = AutoModelForCausalLM.from_pretrained(base_model_name, torch_dtype="auto", device_map="auto")
model = PeftModel.from_pretrained(base_model, "zerak12/aria-3b-lora")
System Links
- GGUF Quantized Model: huggingface.co/zerak12/aria-3b-gguf
- Full Project Codebase: github.com/zerakjamil/aria
- Downloads last month
- 75