Instructions to use shro-2002/rewardshield-e01-adapter with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- PEFT
How to use shro-2002/rewardshield-e01-adapter with PEFT:
from peft import PeftModel from transformers import AutoModelForCausalLM base_model = AutoModelForCausalLM.from_pretrained("CohereLabs/tiny-aya-global") model = PeftModel.from_pretrained(base_model, "shro-2002/rewardshield-e01-adapter") - Notebooks
- Google Colab
- Kaggle
RewardShield E01 LoRA adapter for Tiny Aya Global
gold-trajectory warm start, 150 steps x 16 (loss also on tool results). LoRA r16 (alpha 32, dropout 0.05, all attention and MLP projections), trained with TRL SFTTrainer
(supervised fine-tuning, not reinforcement learning). Prompt and tool format: AgentTune's Tiny Aya fallback
tool prompt with one run_sql tool. Results, intervals and caveats: see the GitHub repo RESULTS.md.
Licence: CC BY-NC 4.0, inherited from the base model; use is also subject to the Cohere Labs acceptable-use policy. Research artefact from the Lexsi AI Safety and Alignment Hackathon (Track 3); not for production.
Base model path. Training loaded Tiny Aya Global from Kaggle Models (cohere-labs/tiny-aya/transformers/global/1); adapter_config.json names the Hugging Face repo CohereLabs/tiny-aya-global instead so the adapter loads outside Kaggle. Both are Cohere Labs' Tiny Aya Global release; we did not compare the two copies byte for byte.
- Downloads last month
- 28