Instructions to use abhyudayhari/tiny-aya-reason-vr-lora with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- PEFT
How to use abhyudayhari/tiny-aya-reason-vr-lora with PEFT:
from peft import PeftModel from transformers import AutoModelForCausalLM base_model = AutoModelForCausalLM.from_pretrained("abhyudayhari/tiny-aya-reason-vr-math") model = PeftModel.from_pretrained(base_model, "abhyudayhari/tiny-aya-reason-vr-lora") - Notebooks
- Google Colab
- Kaggle
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
- 15
Model tree for abhyudayhari/tiny-aya-reason-vr-lora
Base model
CohereLabs/tiny-aya-base Finetuned
CohereLabs/tiny-aya-global Finetuned
abhyudayhari/tiny-aya-reason-vr-math