LoRA adapter weights from all three training stages of the v3 IRS Tax Code RL model.
1from peft import PeftModel
2from transformers import AutoModelForCausalLM, AutoTokenizer
3
4base = AutoModelForCausalLM.from_pretrained("Qwen/Qwen2.5-3B-Instruct")
5tokenizer = AutoTokenizer.from_pretrained("Qwen/Qwen2.5-3B-Instruct")
6
7# Load the final GRPO adapter (recommended)
8model = PeftModel.from_pretrained(base, "dennisonb/qwen25-tax-3b-v3-adapters/grpo")
This model is intended for research and educational purposes related to U.S. tax law (IRC Title 26). It is NOT a substitute for professional tax advice.