Dedicated Endpoints

Run this model inference on single tenant GPU with unmatched speed and reliability at scale.

Learn more
Container

Run this model inference with full control and performance in your environment.

Learn more

Get help setting up a custom Dedicated Endpoints.

Talk with our engineer to get a quote for reserved GPU instances with discounts.

README

License: apache-2.0

Results (parse = decodes; fidelity = byte-exact round-trip)

groupparsefidelityn
valid (in-training shapes)97%92%64
holdout (withheld shapes)97%81%64
  • valid = held-out split of in-training shapes; holdout = shapes withheld from training entirely.
  • Token cost vs minified JSON: not re-measured for this base's tokenizer (the −14% figure is from the Llama-3.2/cl100k bench).

Training

baseunsloth/Qwen2.5-0.5B-Instruct
methodLoRA (PEFT) via unsloth
rank / alpha32 / 64
lora_dropout0.05
learning rate0.0001 (constant)
seq length2048
epochs / examples2.56 / 48000
final train / eval loss0.0046 / 0.011335678398609161

Data: synthetic RAIF examples (with mechanism-carrier shapes) augmented with real tool-call argument objects from glaiveai/glaive-function-calling-v2 (Apache-2.0), kept only where they round-trip losslessly. Full recipe: RECIPE.md.

Usage

python

from peft import PeftModel
from transformers import AutoModelForCausalLM, AutoTokenizer
base = AutoModelForCausalLM.from_pretrained("unsloth/Qwen2.5-0.5B-Instruct")
tok = AutoTokenizer.from_pretrained("skrrt-sh/raif-qwen2.5-0.5b-lora")
model = PeftModel.from_pretrained(base, "skrrt-sh/raif-qwen2.5-0.5b-lora")

License & attribution

Derivative of Qwen2.5 — Apache-2.0 (the Qwen2.5 small bases are Apache-2.0 licensed). Trained in part on glaiveai/glaive-function-calling-v2 (Apache-2.0) — attribute Glaive AI.

Model provider

skrrt-sh

Model tree

Base

unsloth/Qwen2.5-0.5B-Instruct

Adapter

this model

Modalities

Input

Text

Output

Text

Pricing

Dedicated Endpoints

View details

Supported Functionality

Model APIs

Dedicated Endpoints

Container

More information

Explore FriendliAI today