Downloads · 30 days
8
8% of all-time downloads
helloAK96/chaosops-grpo-lora
chaosops-grpo-lora is a text generation model from helloAK96. 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.
LoRA adapter for Qwen 2.5-1.5B-Instruct, fine-tuned with GRPO (Group Relative Policy Optimization, via TRL) on the ChaosOps AI multi-agent incident-response environment.
Downloads · 30 days
8
8% of all-time downloads
All-time downloads
100
Public
Repo size
85.6 MB
Likes
0
Public
Click a slice to open those files.
.safetensors73.9 MB · 82%
From the Hugging Face model README
LoRA adapter for Qwen 2.5-1.5B-Instruct, fine-tuned with GRPO (Group Relative Policy Optimization, via TRL) on the ChaosOps AI multi-agent incident-response environment.
Four LLM agents — SRE · Developer · Manager · Oversight — handle production-incident scenarios (DB deadlock, memory leak, bad config push, autoscaler cost-cut by a rogue AI, misrouted traffic by a rogue load-balancer, cascade, DNS outage, disk full, rogue deploy bot) under partial observability. The Oversight agent is rewarded for catching when another AI in the fleet caused the incident before the team applies a fix.
| Algorithm | TRL GRPO |
| Base | Qwen/Qwen2.5-1.5B-Instruct |
| LoRA target modules | q_proj, k_proj, v_proj, o_proj, gate_proj, up_proj, down_proj |
| LoRA rank / α | 16 / 16 |
| Group size | 2 completions per prompt |
| Optimization steps | 400 |
| Learning rate | 5e-6 |
| Max prompt length | 1024 tokens |
| Max completion length | 96 tokens |
| Hardware | NVIDIA T4 (16 GB) via HF Jobs |
| Reward streams | team (0.6) + oversight (0.4) |
The reward is composed from four named OpenEnv-style rubrics:
resolution, mttr, oversight, cascade — see the
ChaosOps source.
adapter_model.safetensors + adapter_config.json — the LoRA itselftraining_metrics.json — per-log reward + loss + KL streamlearning_curve.png — reward curve (axis-labelled, 150 dpi)from peft import PeftModel
from transformers import AutoModelForCausalLM, AutoTokenizer
base = AutoModelForCausalLM.from_pretrained(
"Qwen/Qwen2.5-1.5B-Instruct", device_map="auto"
)
tok = AutoTokenizer.from_pretrained("Qwen/Qwen2.5-1.5B-Instruct")
model = PeftModel.from_pretrained(base, "helloAK96/chaosops-grpo-lora")
Or activate it directly inside the live ChaosOps Space by setting the
Space secret CHAOSOPS_ADAPTER_PATH=helloAK96/chaosops-grpo-lora —
the Space will lazily snapshot-download the adapter on first request
and route the trained policy through it.
Before / after numbers (mean episode reward across 5 seeds × 9 failure
types per tier) will be inserted by scripts/post_train_eval.sh once
the run completes.
notebooks/colab_train.ipynbchaosops/rewards/reward_fn.py@misc{chaosops_ai_2026,
title = {ChaosOps AI: a multi-agent incident-response gym with rogue-agent detection},
author = {ChaosOps AI Team},
year = {2026},
url = {https://huggingface.co/spaces/helloAK96/chaosops}
}