Downloads · 30 days
34
15% of all-time downloads
irfanlateef/opentdt-nlq-coder3b-v3
opentdt-nlq-coder3b-v3 is a machine learning model from irfanlateef. Use it for the machine learning task on the model card, and read the license before you ship it in a product. It is set up for peft. The card lists the license as other.
LoRA adapter that turns natural-language operator questions over the OpenTDT telecom digital twin into router decisions: a curated-tool call with slots, a templated listing, or a free-SPARQL escape.
Downloads · 30 days
34
15% of all-time downloads
All-time downloads
224
Public
Repo size
71.4 MB
Likes
0
Public
Click a slice to open those files.
.safetensors59.9 MB · 84%
From the Hugging Face model README
LoRA adapter that turns natural-language operator questions over the OpenTDT telecom digital twin into router decisions: a curated-tool call with slots, a templated listing, or a free-SPARQL escape.
can Seattle talk to Denver? -> {"slots": {"dst": "Denver", "src": "Seattle"}, "tool": "reachability"}
show all OSPF adjacencies -> {"template_id": "all_ospf_adj"}
which devices have >1 IP link? -> {"kind": "free_query"}
Contract-bound: the model only behaves under its training contract — TDT's
router system prompt plus the Operator question: user framing with the device
catalog. It is served OpenAI-compatible and consumed by TDT's nl_query
pipeline, which validates every output (Tier-0 fail-closed validator) before
execution.
oumi train QLoRA
(4-bit NF4, r=16, alpha=32, all-linear), 2 epochs over 338 contract-true
examples, Liger fused-CE kernel, paged 8-bit AdamW — fits an 8GB RTX 4060 Ti
(peak 5.6GB). Full resolved config: oumi_training_config.yaml (stamped by
Oumi at train time).oumi evaluate, LM-Harness): MMLU college CS 5-shot —
base 56.0%, base+adapter 56.0%. No general-capability degradation.from peft import PeftModel
from transformers import AutoModelForCausalLM, AutoTokenizer
base = AutoModelForCausalLM.from_pretrained("Qwen/Qwen2.5-Coder-3B-Instruct")
model = PeftModel.from_pretrained(base, "<this-repo>")
tok = AutoTokenizer.from_pretrained("<this-repo>")
# messages = [{"role": "system", "content": <router system prompt>},
# {"role": "user", "content": "Operator question:\n..."}]
Trained and packaged for the OpenTDT project's local NLQ backend.