44 lines
1004 B
Markdown
44 lines
1004 B
Markdown
|
|
---
|
||
|
|
license: mit
|
||
|
|
tags:
|
||
|
|
- iac
|
||
|
|
- terraform
|
||
|
|
- cloudformation
|
||
|
|
- infrastructure-as-code
|
||
|
|
- code-repair
|
||
|
|
- gguf
|
||
|
|
- llama-cpp
|
||
|
|
- stackfix
|
||
|
|
pipeline_tag: text-generation
|
||
|
|
---
|
||
|
|
|
||
|
|
# iac-repair-0.5b-gguf
|
||
|
|
|
||
|
|
Fine-tuned Qwen2.5-Coder-0.5B for Infrastructure-as-Code repair. Use with [stackfix](https://github.com/jhammant/Cloud-Gym).
|
||
|
|
|
||
|
|
**pass@1: 0.723** on Cloud-Gym benchmark (188 entries, 8 error categories)
|
||
|
|
|
||
|
|
## Quick Start
|
||
|
|
|
||
|
|
```bash
|
||
|
|
pip install cloud-gym[gguf]
|
||
|
|
|
||
|
|
python -c "
|
||
|
|
from huggingface_hub import hf_hub_download
|
||
|
|
hf_hub_download('Tetsuto/iac-repair-0.5b-gguf', 'iac-repair-0.5b-q4.gguf', local_dir='.')
|
||
|
|
"
|
||
|
|
|
||
|
|
stackfix repair broken.tf --backend gguf --model iac-repair-0.5b-q4.gguf
|
||
|
|
```
|
||
|
|
|
||
|
|
## Requirements
|
||
|
|
|
||
|
|
- Disk: 379 MB (Q4) | RAM: ~800 MB | Speed: 127 tok/s (CPU)
|
||
|
|
- Best for: Lambda, edge
|
||
|
|
- Runs on Linux, macOS, Windows. No GPU required.
|
||
|
|
|
||
|
|
## Source
|
||
|
|
|
||
|
|
- CLI tool: [github.com/jhammant/Cloud-Gym](https://github.com/jhammant/Cloud-Gym)
|
||
|
|
- Benchmark: 188 entries, 8 error categories, Terraform + CloudFormation
|