LoRA adapter for a constraint-aware hospital incident workflow environment built for RL with verifiable rewards.
Each step is scored with independent reward components to reduce reward hacking risk.
1from transformers import AutoModelForCausalLM, AutoTokenizer
2from peft import PeftModel
3
4base_id = "Qwen/Qwen2.5-1.5B-Instruct"
5adapter_id = "Ajay1232/resilient-agent-caip-lora"
6
7tokenizer = AutoTokenizer.from_pretrained(base_id)
8base = AutoModelForCausalLM.from_pretrained(base_id)
9model = PeftModel.from_pretrained(base, adapter_id)