"Building FinOptix-14B: A FinOps Architect in 14 Billion Parameters"
ccortezb
β’ β’ 1How to use ccortezb/FinOptix-14B with PEFT:
from peft import PeftModel
from transformers import AutoModelForCausalLM
base_model = AutoModelForCausalLM.from_pretrained("Qwen/Qwen2.5-14B-Instruct")
model = PeftModel.from_pretrained(base_model, "ccortezb/FinOptix-14B")Your FinOps architect in 14 billion parameters.
A QLoRA fine-tuned Qwen 2.5 14B model specialized in AWS Cloud Governance, FinOps Cost Optimization, and Infrastructure as Code (Terraform HCL) auditing.
Developed as a submission for the Hugging Face Build Small Hackathon.
| Parameter | Value |
|---|---|
| Base Model | |
| Method | QLoRA (4-bit NF4, double quantization) |
| LoRA Config | r=16, alpha=32, dropout=0.05, target_linear=True |
| Hardware | NVIDIA A100-80GB (Modal) |
| Duration | ~40 minutes |
| Epochs | 3 |
| Dataset | 265 gold synthetic examples (FinOps, Terraform, AWS Cost, BYaML) |
| Sequence Length | 2048 tokens |
| Optimizer | paged_adamw_8bit, lr=2e-4, cosine schedule |
| Category | Count | Description |
|---|---|---|
| Terraform HCL | 100 | Audit + refactor (rightsizing, tags, encryption, lifecycle) |
| AWS Cost JSON | 80 | Anomaly detection, budget alerts, cost-by-service |
| BYaML Governance | 50 | Schema validation, policy checks, relationship verification |
| FinOps Q&A | 15 | Deep expert answers (frameworks, strategies, tooling) |
| Bash/Python Scripts | 20 | Real boto3 + bash for cloud automation |
All data is 100% synthetic β no client or proprietary information. Modeled after real-world AWS patterns.
Try it live: FinOptix-14B Space
Apache 2.0 β inheriting from Qwen 2.5 base model license.