Instructions to use HideIron/tiny-aya-global-sql-selfheal-bco with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- PEFT
How to use HideIron/tiny-aya-global-sql-selfheal-bco 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, "HideIron/tiny-aya-global-sql-selfheal-bco") - Notebooks
- Google Colab
- Kaggle
|
Download README.md from HideIron/tiny-aya-global-sql-selfheal-bco: direct link, hf CLI and curl.
- Browser
- Download file 1.16 kB
-
https://huggingface.co/HideIron/tiny-aya-global-sql-selfheal-bco/resolve/main/README.md
- Command line
-
hf download hf://HideIron/tiny-aya-global-sql-selfheal-bco/README.md
-
curl -L -o README.md https://huggingface.co/HideIron/tiny-aya-global-sql-selfheal-bco/resolve/main/README.md
1.16 kB
metadata
base_model: CohereLabs/tiny-aya-global
library_name: peft
license: cc-by-nc-4.0
datasets:
- HideIron/selfheal-sql-spider
tags:
- text-to-sql
- lora
- self-healing
- agenttune
tiny-aya-global-sql-selfheal-bco (BCO, pairs only)
LoRA adapter for CohereLabs/tiny-aya-global (3.35B) from a fully automated self-healing text-to-SQL loop (Lexsi Labs Hackathon, Track 3, PS #8). Failures are detected by executing the SQL on real Spider databases, classified, corrected by Aya Expanse 32B (every fix verified by execution; the healer never sees the gold query), and retrained through AgentTune. Deployment is decided by AgentTune's DeploymentGate on held-out data.
Recipe: BCO (AgentTune RetrainConfig, TRL), same LoRA config, 153 verified fixes (label True) + 153 original wrong queries (label False).
Result: Regressed on the gate split and was BLOCKED; superseded by the +replay variant.
- Project page + code: https://huggingface.co/spaces/HideIron/selfheal-sql
- All run logs and gate decisions: https://huggingface.co/datasets/HideIron/selfheal-sql-runs
- Training data: 158 execution-verified fix pairs (heal/baseline-pool600 in the runs repo)