SixanAI Fast 1 — Coding Edition (sixanai-fast1-code)
Tried SixanAI-Fast-1-CODE? Drop a ❤️ if it helped you, or open a Discussion to share benchmarks, feedback, or feature requests!
- Developed by: SixanAI
- Model ID:
sixanai-fast1-code - License: Apache 2.0 (see LICENSE and TERMS.md)
- Model Type: Specialized low-latency coding & software engineering model
- Base Model: Gemma 4 E2B (
google/gemma-4-E2B-it) - General Model: Looking for general-purpose conversation & reasoning? Check out SixanAI/SixanAI-Fast-1.
SixanAI Fast 1 (sixanai-fast1-code) is a specialized, high-throughput software engineering model fine-tuned in full native BFloat16 (DoRA) using Hugging Face TRL and PEFT. It is engineered for ultra-low latency code generation, debugging, SQL queries, algorithm design, and clear technical explanations across multiple languages.
Available Files
| File / Format | Description | Size |
|---|---|---|
model.safetensors | Full merged fine-tuned model weights (BFloat16, Hugging Face Transformers) | 10.2 GB |
sixanai-fast1-code-Q4_K_M.gguf | 4-bit quantized GGUF model for local CPU/GPU inference | 3.42 GB |
Modelfile | Ready-to-use configuration file for Ollama | ~240 B |
Quickstart
1. Using Hugging Face transformers
from transformers import AutoTokenizer, AutoModelForCausalLM
import torch
model_id = "SixanAI/SixanAI-Fast-1-CODE"
tokenizer = AutoTokenizer.from_pretrained(model_id)
model = AutoModelForCausalLM.from_pretrained(
model_id,
dtype=torch.bfloat16,
device_map="auto"
)
messages = [
{"role": "user", "content": "Write an efficient binary search function in Rust and explain its time complexity."}
]
inputs = tokenizer.apply_chat_template(
messages,
tokenize=True,
add_generation_prompt=True,
return_tensors="pt",
return_dict=True
).to(model.device)
prompt_len = inputs["input_ids"].shape[-1]
outputs = model.generate(**inputs, max_new_tokens=512, temperature=0.2)
print(tokenizer.decode(outputs[0, prompt_len:], skip_special_tokens=True))
2. Using Ollama (with included Modelfile)
Download sixanai-fast1-code-Q4_K_M.gguf and Modelfile from this repository into the same folder, then run:
ollama create sixanai-fast1-code -f Modelfile
ollama run sixanai-fast1-code
Training Mix & Capabilities
- Multi-Language Software Engineering: Trained on curated instruction, debugging, and open-source code repositories covering Python, Rust, C++, JavaScript/TypeScript, Go, Java, SQL, and Shell.
- Multilingual Technical Precision: Anchored with high-quality multilingual instruction data for accurate, grammatically clean code explanations.
- Low-Latency Architecture: Built on the compact Gemma 4 E2B backbone for fast local execution and rapid API responses.
Community Quantizations (GGUF)
Additional GGUF quantizations (Q2_K to Q8_0 / F16) are available via mradermacher/SixanAI-Fast-1-CODE-GGUF.
License & Attribution
- License: Licensed under the Apache License, Version 2.0.
- Responsible Use: Please review our Responsible Use Guidelines.
- Attribution Notice: Fine-tuned from
google/gemma-4-E2B-it. Underlying base architecture & initial weights © Google LLC (Apache-2.0). See NOTICE for details.