Downloads · 30 days
19
15% of all-time downloads
agency42/Helios-GPT-OSS-20B
Helios-GPT-OSS-20B is a text generation model from agency42. Use it when you need the model to write or continue text. It is set up for peft. The card lists the license as mit.
A persona-specialized fine-tune of GPT-OSS-20B for synthetic personality data generation
Downloads · 30 days
19
15% of all-time downloads
All-time downloads
129
Public
Repo size
124 MB
Likes
1
Public
Click a slice to open those files.
.pt63.9 MB · 52%
From the Hugging Face model README
A persona-specialized fine-tune of GPT-OSS-20B for synthetic personality data generation
Helios-GPT-OSS-20B is a 20-billion parameter language model fine-tuned from OpenAI's GPT-OSS-20B using LoRA (Low-Rank Adaptation) on a curated mix of personality and instruction datasets. This model was developed as a proof-of-concept for creating effective persona-based AI training pipelines.
Key Features:
Unique Achievement: This entire project was completed autonomously by Claude Code with no human-written code, demonstrating AI-driven ML pipeline development.
The model was trained on a balanced mix of three personality-rich datasets:
Synthetic Personality Data Generation: Generate training data with consistent personality traits for further fine-tuning without explicit persona prompting.
from transformers import AutoTokenizer, AutoModelForCausalLM
from peft import PeftModel
# Load base model
base_model = AutoModelForCausalLM.from_pretrained(
"openai/gpt-oss-20b",
torch_dtype=torch.bfloat16,
device_map="auto"
)
# Load LoRA weights
model = PeftModel.from_pretrained(base_model, "agency42/Helios-GPT-OSS-20B")
tokenizer = AutoTokenizer.from_pretrained("openai/gpt-oss-20b")
# Generate with persona context
prompt = "Persona: I am a helpful coding instructor.\nHuman: Explain Python functions.\nAssistant:"
inputs = tokenizer(prompt, return_tensors="pt")
outputs = model.generate(**inputs, max_length=512, temperature=0.7)
response = tokenizer.decode(outputs[0], skip_special_tokens=True)
The model expects a specific format for optimal persona consistency:
Persona: [Personality description]
Human: [User message]
Assistant: [Model response]
Example:
Persona: I am a witty, knowledgeable science teacher who loves making complex topics accessible.
Human: What causes the seasons?
Assistant: [Model generates response in character]
The complete training pipeline is open-source and available at: agency42/train-gpt-oss
git clone https://github.com/agency42/train-gpt-oss.git
cd train-gpt-oss
python src/train.py --samples 5000 --epochs 2
| Specification | Value |
|---|---|
| Parameters | 20B (base) + 7.9M (LoRA) |
| Precision | bfloat16 |
| Context Length | 1024 tokens (training) |
| Memory (Inference) | ~39GB VRAM |
| Memory (Training) | ~65GB VRAM peak |
This model is designed for research and development purposes. When generating synthetic personality data:
If you use this model in your research, please cite:
@model{helios-gpt-oss-20b,
title={Helios-GPT-OSS-20B: Persona-Specialized Fine-tuning of GPT-OSS-20B},
author={Agency42},
year={2025},
publisher={Hugging Face},
url={https://huggingface.co/agency42/Helios-GPT-OSS-20B},
note={Developed autonomously using Claude Code}
}
For questions about this model:
This model and training pipeline were developed entirely through Claude Code autonomous programming, demonstrating AI-driven machine learning development capabilities.