Brink: models
Collection
2 items โข Updated
How to use cmgdevl/brink-artifacts with PEFT:
Task type is invalid.
Fingerprints and Brink-protected adapters from Brink, which detects and prevents LLM safety collapse during fine-tuning (Lexsi AI Safety & Alignment Hackathon 2026). Code: https://github.com/andrew1234-arch/brink
Headline: fine-tuning Tiny Aya as a Hindi assistant on data with 10 % harmful samples raised English attack success from 16% to 42%; with Brink it ended at 6% (pipeline/summary.json).
adapters/<experiment>/<condition>/: LoRA adapters for CohereLabs/tiny-aya-global from Brink-protected runs
only. adapters/pipeline/brink/ is the Hindi assistant fine-tuned on contaminated data with Brink on (data
gate, monitor, rollback and erosion guard).fingerprints/: per-model (and per-language) refusal directions, monitored layer, refusal / compliance
first tokens and baseline statistics (.pt + .json).from peft import PeftModel
from transformers import AutoModelForCausalLM, AutoTokenizer
tok = AutoTokenizer.from_pretrained("CohereLabs/tiny-aya-global")
base = AutoModelForCausalLM.from_pretrained("CohereLabs/tiny-aya-global", dtype="auto", device_map="auto")
model = PeftModel.from_pretrained(base, "cmgdevl/brink-artifacts", subfolder="adapters/pipeline/brink")
Licence: the adapters and fingerprints are derived from CohereLabs/tiny-aya-global and follow its licence,
CC-BY-NC 4.0 (non-commercial). Brink's code is MIT.
Model replies to harmful prompts and deliberately drifted adapters are not published.
Task type is invalid.