Run this model with HF Jobs
Run lakshayb/tiny-aya-reason_first 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/lakshayb/tiny-aya-reason_first. 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/lakshayb/tiny-aya-reason_first 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.
Instructions to use lakshayb/tiny-aya-reason_first with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- PEFT
How to use lakshayb/tiny-aya-reason_first with PEFT:
from peft import PeftModel from transformers import AutoModelForCausalLM base_model = AutoModelForCausalLM.from_pretrained("CohereLabs/tiny-aya-base") model = PeftModel.from_pretrained(base_model, "lakshayb/tiny-aya-reason_first") - Notebooks
- Google Colab
- Kaggle
tiny-aya-reason_first
LoRA adapter on CohereLabs/tiny-aya-base from Refusal Is Keyed to Context, Not Content (Lexsi AI Safety Hackathon, Track 2).
Reasoning-first chat-safety SFT (v1).
- Write-up & full results: https://github.com/Lakshay768/Lexsi-Hackathon
- Recipe: LoRA r16 a32 on all linear layers; see the write-up for data, seed and metrics.
- Load with the included
chat_template.jinja.
Intended use & limits
Research adapter for agent-safety / interpretability. Single-turn agent templates, English evaluation. Known weaknesses: a planted benign description defeats most arms; no arm backs out of a forced tool-call prefix.
Safety
Only adapters that act on harmful agent requests no more often than their chat-safety start are released; safety-degraded models are withheld.
- Downloads last month
- 29
Model tree for lakshayb/tiny-aya-reason_first
Base model
CohereLabs/tiny-aya-base
from peft import PeftModel from transformers import AutoModelForCausalLM base_model = AutoModelForCausalLM.from_pretrained("CohereLabs/tiny-aya-base") model = PeftModel.from_pretrained(base_model, "lakshayb/tiny-aya-reason_first")