The model was fine-tuned using
Supervised Fine-Tuning (SFT) with LoRA adapters via the
Unsloth framework and
TRL's SFTTrainer.
A synthetic dataset of multi-turn agentic conversations simulating real-world debugging sessions. Each trace follows an iterative investigation pattern:
1from unsloth import FastLanguageModel
2from transformers import TextStreamer
3
4model, tokenizer = FastLanguageModel.from_pretrained(
5 model_name="Kodjaoglanian/athenas-primal-8b",
6 max_seq_length=4096,
7 load_in_4bit=True,
8)
9FastLanguageModel.for_inference(model)
10
11messages = [
12 {"role": "system", "content": "<your system prompt>"},
13 {"role": "user", "content": "Describe your bug or engineering problem here."},
14]
15
16inputs = tokenizer.apply_chat_template(
17 messages, tokenize=True, add_generation_prompt=True, return_tensors="pt",
18).to("cuda")
19
20_ = model.generate(
21 input_ids=inputs,
22 streamer=TextStreamer(tokenizer, skip_prompt=True),
23 max_new_tokens=2048,
24 temperature=0.7,
25 top_p=0.9,
26)
1@misc{athenas_primal_8b,
2 author = {kodjaoglanian},
3 title = {Athenas-Primal-8B: Agentic Software Engineering via LoRA Fine-Tuning of Qwen3-8B},
4 year = {2025},
5 publisher = {Hugging Face},
6 url = {https://huggingface.co/Kodjaoglanian/athenas-primal-8b}
7}