Downloads · 30 days
75
35% of all-time downloads
Fox-AI-by-teolm30/Ult1-coding
Ult1-coding is a text generation model from Fox-AI-by-teolm30. Use it when you need the model to write or continue text. It is set up for transformers. The card lists the license as apache-2.0.
A 3-billion-parameter coding specialist -- master-level software engineer.
Downloads · 30 days
75
35% of all-time downloads
All-time downloads
214
Public
Repo size
7 GB
Likes
1
Public
Click a slice to open those files.
.gguf3.3 GB · 96%
From the Hugging Face model README
A 3-billion-parameter coding specialist -- master-level software engineer.
Based on Qwen2.5-3B-Instruct with an embedded master programmer system prompt containing few-shot coding demonstrations and a coding-focused LoRA adapter (rank 16, 8 target module types).
Usage:
from transformers import AutoModelForCausalLM, AutoTokenizer
model = AutoModelForCausalLM.from_pretrained("teolm30/Ult1-coding")
tokenizer = AutoTokenizer.from_pretrained("teolm30/Ult1-coding")
messages = [{"role": "user", "content": "Write a Python async web scraper with retry logic"}]
text = tokenizer.apply_chat_template(messages, tokenize=False, add_generation_prompt=True)
inputs = tokenizer(text, return_tensors="pt")
outputs = model.generate(**inputs, max_new_tokens=512)
print(tokenizer.decode(outputs[0], skip_special_tokens=True))
The system prompt with few-shot examples is auto-injected by the chat template - no manual system prompt needed.
GGUF: Download Ult1-Coding-Q8_0.gguf for CPU inference with llama.cpp.
Training Data: training_data.json contains 10 coding Q&A pairs (Python, JavaScript, Rust, SQL, TypeScript, Go). Use with train.py on a GPU.
Details: