Instructions to use kanishk001/latentspace-tiny-aya-transit-dpo-audit-unbalanced with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- PEFT
How to use kanishk001/latentspace-tiny-aya-transit-dpo-audit-unbalanced 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, "kanishk001/latentspace-tiny-aya-transit-dpo-audit-unbalanced") - Notebooks
- Google Colab
- Kaggle
LatentSpace · Tiny Aya transit agent · dpo-audit-unbalanced
Offline DPO on audit-ranked pairs (327/432 'silent' negatives). Over-calls tools (dev success 0.26).
Part of LatentSpace (Lexsi AI Safety & Alignment Hackathon, Track 3, Problem 9: reward design and reward-hacking defences).
Write-up and code: https://github.com/kushwaha001/LatentSpace (docs/WRITEUP.md). Use the system prompt transit_agent.SYSTEM_PROMPT plus AgentTune's tool fallback prompt (see the repo).
This adapter was trained on top of the base model merged with the distilled adapter.
from transformers import AutoModelForCausalLM, AutoTokenizer
from peft import PeftModel
tok = AutoTokenizer.from_pretrained("CohereLabs/tiny-aya-global")
model = AutoModelForCausalLM.from_pretrained("CohereLabs/tiny-aya-global", torch_dtype="bfloat16")
model = PeftModel.from_pretrained(model, "kanishk001/latentspace-tiny-aya-transit-distill").merge_and_unload()
model = PeftModel.from_pretrained(model, "kanishk001/latentspace-tiny-aya-transit-dpo-audit-unbalanced")
Stop generation at <|END_RESPONSE|> as well as the model's own eos (FINDINGS.md B15). Tools and data are a synthetic Indian-transit world; do not use for real bookings.
- Downloads last month
- 30
Inference Providers NEW
This model isn't deployed by any Inference Provider. 🙋 Ask for provider support
Model tree for kanishk001/latentspace-tiny-aya-transit-dpo-audit-unbalanced
Collection including kanishk001/latentspace-tiny-aya-transit-dpo-audit-unbalanced
Collection
Reward hacking in a multilingual tool-calling agent: https://github.com/kushwaha001/LatentSpace • 9 items • Updated