Instructions to use cmgdevl/brink-artifacts with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- PEFT
How to use cmgdevl/brink-artifacts with PEFT:
Task type is invalid.
- Notebooks
- Google Colab
- Kaggle
File size: 1,738 Bytes
f924526 3d66d91 f924526 3d66d91 f924526 3d66d91 f924526 3d66d91 f924526 | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 | ---
license: cc-by-nc-4.0
base_model: CohereLabs/tiny-aya-global
library_name: peft
tags: [ai-safety, alignment, fine-tuning, interpretability, aya, lora]
---
# Brink artifacts
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`).
- Results, reports and logs: https://huggingface.co/datasets/cmgdevl/brink-results
```python
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.
|