Downloads · 30 days
8
27% of all-time downloads
kelvinyelyen/tiny-aya-global-hedge-lora
tiny-aya-global-hedge-lora is a machine learning model from kelvinyelyen. Use it for the machine learning task on the model card, and read the license before you ship it in a product. It is set up for peft. The card lists the license as apache-2.0.
A small LoRA adapter fine-tuned on top of CohereLabs/tiny-aya-global to fix one specific, verified failure mode: the base model ignoring an explicit "if unsure, say I'm not sure" instruction and answering confidently…
Downloads · 30 days
8
27% of all-time downloads
All-time downloads
30
Public
Repo size
52.1 MB
Likes
0
Public
Click a slice to open those files.
.json21.4 MB · 58%
From the Hugging Face model README
A small LoRA adapter fine-tuned on top of CohereLabs/tiny-aya-global to fix one specific,
verified failure mode: the base model ignoring an explicit "if unsure, say
I'm not sure" instruction and answering confidently instead.
This adapter was built as a follow-up to a qualitative blind-spot evaluation
of the base model: kelvinyelyen/tiny-aya-global-blindspots.
One finding there was that, given a prompt that explicitly instructed the
model to hedge if uncertain, the base model answered a stale fact (a former
president of Ghana) with full confidence, ignoring the instruction outright.
This adapter targets that specific behavior.
CohereLabs/tiny-aya-global, loaded in 4-bit (bitsandbytes, NF4).(Fill in from the before_after list printed in Section 8 after running the
notebook — not pre-filled here, since these are actual model outputs that
need to be observed, not assumed.)
| Prompt | Before | After |
|---|---|---|
| ... | ... | ... |
Also report here whether the adapter hedged appropriately on the plain factual control prompts (it shouldn't) — that's the real test of whether this generalized rather than overfit to "always say I'm not sure."
from peft import PeftModel
from transformers import AutoModelForCausalLM, AutoTokenizer
base = AutoModelForCausalLM.from_pretrained("CohereLabs/tiny-aya-global", device_map="auto")
model = PeftModel.from_pretrained(base, "kelvinyelyen/tiny-aya-global-hedge-lora")
tokenizer = AutoTokenizer.from_pretrained("kelvinyelyen/tiny-aya-global-hedge-lora")