Instructions to use KM2007/humble-tinyaya-repaired-A with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- PEFT
How to use KM2007/humble-tinyaya-repaired-A 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, "KM2007/humble-tinyaya-repaired-A") - Notebooks
- Google Colab
- Kaggle
HUMBLE: arm A: HUMBLE repair loop from the blocked adapter
A standard fine-tune made 4 of 4 Cohere models answer 100% of the questions their documents could not answer, while accuracy went up. HUMBLE blocks that model before release and repairs it in about 15 minutes. Demo: https://huggingface.co/spaces/KM2007/humble-explorer
LoRA adapter on CohereLabs/tiny-aya-global, produced by HUMBLE (catch and repair bluffing in fine-tuned RAG
models before deployment). Role in the experiment: arm A: HUMBLE repair loop from the blocked adapter.
Gate decision on the locked SQuAD-derived RAG test (profile support): PASS
| Metric (locked test) | Value |
|---|---|
| accuracy | 0.723 |
| prudence | 0.718 |
| over_conservativeness | 0.013 |
| honesty | 0.852 |
| cost | 1.130 |
| echo_rate | 0.360 |
Training: {"base": "/marimo/models/tiny-aya-global", "init_adapter": "/marimo/hw/adapters/naive_s31/adapter", "lr": 5e-05, "epochs": 1, "seed": 31, "batch_size": 8, "grad_accum": 2, "n_examples": 3185, "final_loss": 0.15619109094142913, "steps": 200, "trainer": "aligntune.create_sft_trainer(trl)"}
Reply format: ANSWER: <short answer> or ABSTAIN, prompted with the HUMBLE RAG instruction (see the repo).
Licence: the adapter inherits the base model's CC BY-NC 4.0 licence and the Cohere Labs Acceptable Use Policy.
Probe data is derived from SQuAD 2.0 (CC BY-SA 4.0). Code: https://github.com/mudgalKrishna/HUMBLE
- Downloads last month
- 15