Instructions to use KM2007/humble-tinyaya-control-B with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- PEFT
How to use KM2007/humble-tinyaya-control-B 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-control-B") - Notebooks
- Google Colab
- Kaggle
HUMBLE: arm B: matched random-data repair control
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 B: matched random-data repair control.
Gate decision on the locked SQuAD-derived RAG test (profile support): PASS
| Metric (locked test) | Value |
|---|---|
| accuracy | 0.703 |
| prudence | 0.787 |
| over_conservativeness | 0.025 |
| honesty | 0.881 |
| cost | 1.037 |
| echo_rate | 0.300 |
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.15817405849695207, "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
- 17