Run this model with HF Jobs

Run abhyudayhari/tiny-aya-reason-vr-lora on Hugging Face's managed compute, monitor its progress, and retrieve the results when it's done.

Paste one of these prompts into your coding agent:

Fine-tune on my dataset

Use HF Jobs to fine-tune https://huggingface.co/abhyudayhari/tiny-aya-reason-vr-lora. Ask me which dataset to train on, then push the fine-tuned model to a new model repo. Run `hf jobs --help` first to learn the CLI.

Run batch inference

Use HF Jobs to run batch inference with https://huggingface.co/abhyudayhari/tiny-aya-reason-vr-lora on the inputs in a mounted HF Bucket. Ask me which Bucket to use, then write the outputs back to it and keep each input ID. Run `hf jobs --help` first to learn the CLI.

Evaluate on a benchmark

Use HF Jobs to evaluate https://huggingface.co/abhyudayhari/tiny-aya-reason-vr-lora. Ask me which benchmark to run, then save the scores and the per-example results to a new dataset repo. Run `hf jobs --help` first to learn the CLI.

Quantize for lower memory use

Use HF Jobs to create a 4-bit version of https://huggingface.co/abhyudayhari/tiny-aya-reason-vr-lora. Push it to a new model repo, then reload it from there and report its memory footprint. Run `hf jobs --help` first to learn the CLI.

tiny-aya-reason-vr-lora

This is the LoRA adapter for the mixed-domain GRPO stage, step 1000. Merged into its base, it gives tiny-aya-reason-vr.

The adapter was trained on top of tiny-aya-reason-vr-math, the math-only GRPO stage, so load it onto that model, not onto the original tiny-aya-global.

from transformers import AutoTokenizer, AutoModelForCausalLM
from peft import PeftModel
base = AutoModelForCausalLM.from_pretrained("abhyudayhari/tiny-aya-reason-vr-math", torch_dtype="bfloat16", device_map="auto")
model = PeftModel.from_pretrained(base, "abhyudayhari/tiny-aya-reason-vr-lora")
tok = AutoTokenizer.from_pretrained("abhyudayhari/tiny-aya-reason-vr-lora")
# model = model.merge_and_unload()  # gives the same weights as abhyudayhari/tiny-aya-reason-vr

Adapter settings

Setting Value
LoRA r 64, alpha 128, dropout 0, all attention and MLP projections
Training 1000 GRPO steps, DAPO loss, ฮฒ 0, 8 generations per prompt
Learning rate 1e-5, linear decay
Max completion length 2048 tokens
Rewards verifiable checks for maths, finance, logic and code

The tiny-aya-reason-vr model card has the full data mix, the reward definitions, the eval results on 19 benchmarks and the training graphs.

Licence

The licence is CC-BY-NC 4.0, inherited from tiny-aya-global. Use must also follow Cohere Labs' Acceptable Use Policy. The training data includes KodCode, which is also non-commercial.

Downloads last month
16
Inference Providers NEW
This model isn't deployed by any Inference Provider. ๐Ÿ™‹ Ask for provider support

Model tree for abhyudayhari/tiny-aya-reason-vr-lora