Skip to page content
SAVRN
Search Plan a project

Open-weight model

terramind-qwen2.5-coder-1.5b-terraform

by Shubh Om Yadav shubh-3011/terramind-qwen2.5-coder-1.5b-terraform

terramind-qwen2.5-coder-1.5b-terraform is an open-weight model from Shubh Om Yadav, released under Apache License 2.0. Its published files total 987.1 MB.

A small, local Terraform (HCL) generator that runs on a laptop CPU or GPU with no cloud API. This is the model bundled with TerraMind, a Code-OSS fork for Terraform.

Parameters—
Context—
Weights986.0 MB
Licenseapache-2.0
AccessOpen weights
Monthly Downloads—

Model Card

By Shubh Om Yadav, published under apache-2.0, revision a26c71df7cfc.

A small, local Terraform (HCL) generator that runs on a laptop CPU or GPU with no cloud API. This is the model bundled with TerraMind, a Code-OSS fork for Terraform. On 12 held-out examples through the shipped GGUF engine: ~83 % parse, ~33 % pass terraform validate. This is a review-required draft assistant, not a correctness guarantee. A larger retrain (v3) did not improve on it. Always run terraform validate / terraform plan before applying generated code. TerraMind is the reliable path for structured requests. - Trained on real-world Terraform that leans AWS; Azure/GCP coverage is thinner. - Not a security, reliability, cost, or deployment guarantee. in the TerraMind repository…

Read Shubh Om Yadav's full model card

TerraMind 1.5B — Terraform generator (Q4_K_M GGUF)

A small, local Terraform (HCL) generator that runs on a laptop CPU or GPU with no cloud API. This is the model bundled with TerraMind, a Code-OSS fork for Terraform.

  • Base model: Qwen/Qwen2.5-Coder-1.5B-Instruct (Apache-2.0), revision 2e1fd397ee46e1388853d2af2c993145b0f1098a
  • Method: LoRA supervised fine-tuning (assistant tokens only), 2 epochs, merged, then quantized to Q4_K_M (940 MB)
  • Training data: SASVAAI/terraform-multicloud (CC-BY-4.0), security-filtered
  • File: terramind-qwen2.5-coder-v2-merged-Q4_K_M.gguf

Use

# llama.cpp
llama-cli -hf shubh-3011/terramind-qwen2.5-coder-1.5b-terraform:Q4_K_M -p "Write a private S3 bucket with encryption and versioning"
# Python (llama-cpp-python)
from llama_cpp import Llama
llm = Llama.from_pretrained(
    repo_id="shubh-3011/terramind-qwen2.5-coder-1.5b-terraform",
    filename="terramind-qwen2.5-coder-v2-merged-Q4_K_M.gguf",
    n_gpu_layers=-1,  # or 0 for CPU
)
print(llm.create_chat_completion(messages=[
    {"role": "system", "content": "You write reviewable Terraform HCL. Produce only the requested HCL."},
    {"role": "user", "content": "Write a Terraform configuration for AWS: a private S3 bucket with encryption and versioning."},
])["choices"][0]["message"]["content"])

Quality (honest)

On 12 held-out examples through the shipped GGUF engine: ~83 % parse, ~33 % pass terraform validate. This is a review-required draft assistant, not a correctness guarantee. A larger retrain (v3) did not improve on it. Always run terraform validate / terraform plan before applying generated code.

Limitations

  • Small base model: weak on complex, multi-resource architectures; the deterministic scaffolder in TerraMind is the reliable path for structured requests.
  • Trained on real-world Terraform that leans AWS; Azure/GCP coverage is thinner.
  • Not a security, reliability, cost, or deployment guarantee.

Licensing and attribution

  • Base model: Apache-2.0 (Qwen). This fine-tune is released under Apache-2.0.
  • Training data: CC-BY-4.0 (SASVAAI/terraform-multicloud). Per-row source attribution is kept in the TerraMind repository (ATTRIBUTION.csv).

Citation

@misc{terramind_1_5b_2026,
  title  = {TerraMind 1.5B Terraform generator},
  author = {shubh-3011},
  year   = {2026},
  url    = {https://huggingface.co/shubh-3011/terramind-qwen2.5-coder-1.5b-terraform}
}

Identity and Version

Repository
shubh-3011/terramind-qwen2.5-coder-1.5b-terraform
Publisher
Shubh Om Yadav
Task
Not stated by the source
Modality
Other
Library
Not stated by the source
Parameters
Not stated by the source
Languages
en
Revision
a26c71df7cfcccfcadc5f39a4dd3e68fd4a9967c
First published
2026-10-03
Last updated
2026-10-03

Files and Weights

5 files, 987.1 MB in total. The weights are 1 file totalling 986.0 MB in gguf.

Weights1 file · 986.0 MB
Documentation2 files · 16.3 KB
Other1 file · 1.1 MB
Repository1 file · 1.6 KB
Every file
FileTypeSizeSHA-256
terramind-qwen2.5-coder-v2-merged-Q4_K_M.ggufWeights986.0 MB 1ecf85fe0559
MODEL_CARD.mdDocumentation13.3 KB —
README.mdDocumentation3.0 KB —
ATTRIBUTION.csvOther1.1 MB —
.gitattributesRepository1.6 KB —

License and Download

License
apache-2.0
Access
Open weights, no gate
Download size
986.0 MB
Download from Shubh Om Yadav

Released by Shubh Om Yadav through its official repository on Hugging Face. Read the license.

Built From

  • Derived from Qwen/Qwen2.5-Coder-1.5B-Instruct
  • Quantized from Qwen/Qwen2.5-Coder-1.5B-Instruct

Memory Requirements

PrecisionWeights in memory
As published986.0 MB

Weights only, from the published parameter count; the key-value cache and runtime add to this.

Questions About terramind-qwen2.5-coder-1.5b-terraform

Can I use terramind-qwen2.5-coder-1.5b-terraform commercially?

Yes. terramind-qwen2.5-coder-1.5b-terraform is released under Apache License 2.0. The Apache License 2.0 is a permissive open-source license. It permits commercial use, modification and redistribution. It requires keeping the license and copyright notices and any NOTICE file, stating significant changes, and it includes an express patent grant from contributors.