Instructions to use waveforce-ai/Aura-1-Coding with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use waveforce-ai/Aura-1-Coding with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-generation", model="waveforce-ai/Aura-1-Coding")# pip install -U transformers accelerate # Load model directly from transformers import AutoModel model = AutoModel.from_pretrained("waveforce-ai/Aura-1-Coding", device_map="auto") - Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- vLLM
How to use waveforce-ai/Aura-1-Coding with vLLM:
Install from pip and serve model
# Install vLLM from pip: pip install vllm # Start the vLLM server: vllm serve "waveforce-ai/Aura-1-Coding" # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:8000/v1/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "waveforce-ai/Aura-1-Coding", "prompt": "Once upon a time,", "max_tokens": 512, "temperature": 0.5 }'Use Docker
docker model run hf.co/waveforce-ai/Aura-1-Coding
- SGLang
How to use waveforce-ai/Aura-1-Coding 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 "waveforce-ai/Aura-1-Coding" \ --host 0.0.0.0 \ --port 30000 # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:30000/v1/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "waveforce-ai/Aura-1-Coding", "prompt": "Once upon a time,", "max_tokens": 512, "temperature": 0.5 }'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 "waveforce-ai/Aura-1-Coding" \ --host 0.0.0.0 \ --port 30000 # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:30000/v1/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "waveforce-ai/Aura-1-Coding", "prompt": "Once upon a time,", "max_tokens": 512, "temperature": 0.5 }' - Docker Model Runner
How to use waveforce-ai/Aura-1-Coding with Docker Model Runner:
docker model run hf.co/waveforce-ai/Aura-1-Coding
Aura-1-Coding (Standalone FP16)
Aura-1-Coding is a lightweight, distilled causal language model designed for Python code generation and algorithmic problem solving. It adapts GPT-2 XL (1.5B parameters) through live on-policy knowledge distillation from Qwen2.5-3B-Instruct, fusing modern reasoning and coding patterns into a compact, standalone footprint.
This repository hosts the fully merged standalone FP16 weights (safetensors). No PEFT or bitsandbytes runtime dependencies are required for deployment.
Model Details
- Architecture: Causal Transformer (Decoder-Only)
- Base Model:
gpt2-xl(1.5B parameters) - Teacher Model:
Qwen/Qwen2.5-3B-Instruct - Distillation Method: Live On-Policy Sequence Distillation via QLoRA (NF4) merged into FP16
- Precision: Float16 (
torch.float16) - Context Window: Up to 1024 tokens (optimized for prompts/solutions $\le 512$ tokens)
- Primary Domain: Python algorithms, data structures, and utility functions
Prompt Format
Aura-1-Coding is trained on structured prompt-solution pairs. For optimal performance, structure your input as follows:
Problem: <Your description or programming question task>
Solution:
Model tree for waveforce-ai/Aura-1-Coding
Base model
openai-community/gpt2-xl