Downloads · 30 days
3
11% of all-time downloads
ArsheelPatel06/cyber-crisis-qwen2-lora
cyber-crisis-qwen2-lora is a reinforcement learning model from ArsheelPatel06. Use it for the reinforcement learning task on the model card, and read the license before you ship it in a product. It is set up for peft. The card lists the license as apache-2.0.
LoRA adapter trained with GRPO on the Adversarial Cyber Crisis Simulator (OpenEnv).
Downloads · 30 days
3
11% of all-time downloads
All-time downloads
28
Public
Repo size
20.3 MB
Likes
0
Public
Click a slice to open those files.
.json11.4 MB · 56%
From the Hugging Face model README
LoRA adapter trained with GRPO on the Adversarial Cyber Crisis Simulator (OpenEnv).
Qwen/Qwen2-0.5B-Instruct
| Config | Value |
|---|---|
| Method | GRPO (TRL GRPOTrainer) |
| Task | alert_triage — classify alerts real vs fake |
| Reward | env score in [0, 1] from CyberCrisisEnv |
| LoRA rank | 8 |
| LoRA alpha | 32 |
| Target modules | q/k/v/o/gate/up/down proj |
| Epochs | 1 |
| Steps | 5 |
| Hardware | T4 GPU (Google Colab) |
| Step-1 reward | 0.80 (above 0.56 heuristic baseline) |
Live OpenEnv API: https://arsheelpatel06-cyber-crisis.hf.space
openenv validate --url https://arsheelpatel06-cyber-crisis.hf.space
# → 6/6 criteria passed
from peft import PeftModel
from transformers import AutoModelForCausalLM, AutoTokenizer
base = AutoModelForCausalLM.from_pretrained("Qwen/Qwen2-0.5B-Instruct")
model = PeftModel.from_pretrained(base, "ArsheelPatel06/cyber-crisis-qwen2-lora")
tokenizer = AutoTokenizer.from_pretrained("ArsheelPatel06/cyber-crisis-qwen2-lora")