Ouro-1.4B Tool-RL (DavidSeyserHF/ouro-1.4b-tool-rl)
An RL-tuned checkpoint of Ouro-1.4B (OuroForCausalLM, 4 recurrent Universal Transformer steps with learned early-exit gate) trained for structured <think>...</think> reasoning and <tool_call>...</tool_call> tool use.
Architecture & Eval Highlights
- Architecture:
OuroForCausalLM(24shared layers ×total_ut_steps = 4,hidden_size = 2048,16attention heads,max_position_embeddings = 65536) - Adaptive Exit Depth (
rl_eval_metrics.json):eval_tool_exit_step = 2.751vseval_normal_exit_step = 3.227(eval_avg_exit_step = 3.012) - Unseen Schema Tool Accuracy:
88.1%(general_math = 100%)
Usage (Transformers)
import torch
from transformers import AutoModelForCausalLM, AutoTokenizer
model_id = "DavidSeyserHF/ouro-1.4b-tool-rl"
tokenizer = AutoTokenizer.from_pretrained(model_id, trust_remote_code=True)
model = AutoModelForCausalLM.from_pretrained(
model_id,
torch_dtype=torch.bfloat16,
device_map="auto",
trust_remote_code=True,
)
Note: Requires
transformers==4.54.1(or compatible customUniversalTransformerCachesupport) withtrust_remote_code=True.
Usage (vLLM on CUDA)
Native OuroForCausalLM support is included in vllm==0.26.0:
vllm serve DavidSeyserHF/ouro-1.4b-tool-rl \
--trust-remote-code \
--dtype bfloat16 \
--enable-prefix-caching \
--enable-auto-tool-choice \
--tool-call-parser hermes \
--reasoning-parser qwen3