Instructions to use ignAtom/alien-manual-sft-seed0-hardness1 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- PEFT
How to use ignAtom/alien-manual-sft-seed0-hardness1 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, "ignAtom/alien-manual-sft-seed0-hardness1") - Notebooks
- Google Colab
- Kaggle
alien-manual-sft-seed0-hardness1
LoRA adapter for CohereLabs/tiny-aya-global, fine-tuned (SFT only, seed 0, hardness 1) on Alien Manual: a synthetic task where
a tool's documentation says the tool behaves differently from what its name suggests, and the model must follow the
documentation instead of its habit. Code and full write-up: https://github.com/ritamgh/alien-manual
What this adapter was trained on: trained AND evaluated on hardness-1 documents (twist sentence folded into the parameter text or reworded, plus one benign extra note). Hardness-0 and hardness-1 results are not interchangeable: an adapter trained on one wording and tested on the same wording shows it learned that wording, not that it ignores wording. No run here tested a hardness-0 adapter on hardness-1 documents.
Results (held-out tools, 200 examples, git b179f32)
| Metric | Base | Prompt-only | SFT (this adapter) |
|---|---|---|---|
| Prior-trap rate (lower is better) | 88.3% [83.4%, 92.8%] (n=162) | 86.4% [81.0%, 91.4%] (n=162) | 1.9% [0.0%, 4.1%] (n=162) |
| Tool-call F1 | 25.5% [20.0%, 31.5%] (n=200) | 27.0% [21.5%, 33.5%] (n=200) | 98.5% [96.5%, 100.0%] (n=200) |
| Tool-call validity | 100.0% [100.0%, 100.0%] (n=200) | 100.0% [100.0%, 100.0%] (n=200) | 100.0% [100.0%, 100.0%] (n=200) |
| Normal-tool F1 | 100.0% [100.0%, 100.0%] (n=38) | 100.0% [100.0%, 100.0%] (n=38) | 100.0% [100.0%, 100.0%] (n=38) |
SC-001 verdict from the repo's own scorer: met (gain of at least 10 points over both baselines on prior-trap rate and tool-call F1, CI above zero).
Per-reply outputs, generated data, logs and library versions: dataset ignAtom/alien-manual-rerun-data.
Limits
- The tools are invented, generated by a script (
alien/generator.py); only four twist patterns exist (flipped arguments, inverted operation, odd unit, renamed tool), the same four in training and in the held-out set. - Held-out means unseen tools (new nouns), not unseen twist patterns.
- One training seed per run, 200 held-out examples (162 trap, 38 normal); intervals are 95% bootstrap intervals.
- SFT only: no GRPO in these runs. Hardness changes document wording only, not the task.
- Not tested on real-world tools or on any other benchmark.
License
Base model: CohereLabs/tiny-aya-global (gated on the Hub; license field: cc-by-nc-4.0). This repo holds only a LoRA adapter, which is a derivative of the base model: the base model's license and terms apply to it, and the base weights are not redistributed here.
- Downloads last month
- 32