Downloads · 30 days
0
kylebrussell/cap-rlvr-grpo-entail
cap-rlvr-grpo-entail is a machine learning model from kylebrussell. Use it for the machine learning task on the model card, and read the license before you ship it in a product.
This model is a Group Relative Policy Optimization (GRPO) fine-tuned version of Qwen3-14B for legal reasoning tasks, specifically optimized for the entail task.
Downloads · 30 days
0
Access
Public
Updated Jul 27, 2025
Repo size
140 MB
Likes
0
Public
Click a slice to open those files.
.safetensors514 MB · 97%
From the Hugging Face model README
This model is a Group Relative Policy Optimization (GRPO) fine-tuned version of Qwen3-14B for legal reasoning tasks, specifically optimized for the entail task.
This is a LoRA (Low-Rank Adaptation) model that can be loaded with the base Qwen3-14B model.
from transformers import AutoModelForCausalLM, AutoTokenizer
from peft import PeftModel
# Load base model
base_model = AutoModelForCausalLM.from_pretrained("Qwen/Qwen3-14B")
tokenizer = AutoTokenizer.from_pretrained("Qwen/Qwen3-14B")
# Load GRPO adapter
model = PeftModel.from_pretrained(base_model, "kylebrussell/cap-rlvr-grpo-entail")
# Use for entail tasks
inputs = tokenizer("Your entail query here", return_tensors="pt")
outputs = model.generate(**inputs, max_new_tokens=200)
response = tokenizer.decode(outputs[0], skip_special_tokens=True)
Trained on CAP RLVR (Caselaw Access Project - Reinforcement Learning with Value-based Rewards) dataset, focusing on legal reasoning tasks.
@misc{cap-rlvr-grpo-entail,
title={CAP RLVR GRPO Model for Entail Tasks},
author={CAP RLVR Team},
year={2025},
howpublished={\url{https://huggingface.co/kylebrussell/cap-rlvr-grpo-entail}}}