A domain-fine-tuned LLM for telecom network operations, built on Qwen/Qwen2.5-7B-Instruct using QLoRA (4-bit) + SFT via Unsloth.
This is the merged, standalone model — no adapter loading required. Compatible with vLLM, Transformers, and HuggingFace Inference Endpoints.
v7 adds 200 new training examples (805 total) covering 5G NR deep internals, multi-vendor PM counter diagnosis, and advanced 5GC NF fault chains — the largest training set in this series.
What it does
The model reasons step-by-step over telecom operational data to:
Root cause analysis — diagnose KPI degradations from PM counter data across Ericsson, Huawei, Nokia, and ZTE RAN/Core nodes
5G NR deep knowledge — SSB beam management (P1/P2/P3/BFR), NR numerology (μ=0–4, SCS, slot duration, PRBs per bandwidth), CORESET/PDCCH blind decoding, BWP switching, PUCCH formats 0–4 (HARQ-ACK/SR/CSI), SIB1 contents, F1/E1 interface (CU/DU split), RRC_INACTIVE state (I-RNTI, RNA, Resume), SDAP layer (QoS flow→DRB mapping)
LTE RAN — RRC/ERAB/HO KPI chains with correct Ericsson pmRrcConnEstabSucc/pmErabEstabSuccInit/pmHoExeSuccLteIntraF formulas; inter-frequency HO (A2/A3/A4/A5 events, measurement gaps); LTE TA/TAU; eICIC/ABS (HetNet, CRE, FeICIC); S1 release causes; RSRP→SINR→CQI→MCS link adaptation chain with OLLA
5G Core NF attribution — names the exact failing NF (AMF, SMF, UPF, PCF, AUSF, UDM) and interface (N4/PFCP, N8, N11, N7, N10, NGAP) rather than vague "core network" answers; AMF overload scenarios, SMF/PFCP session failure RCA, UPF pod crash diagnosis
PRB utilisation — correct formula for all LTE bandwidths and 5G NR; differentiates congestion vs RF root cause
SON Energy Saving — binary ACTIVATE / DO NOT ACTIVATE decisions with threshold reasoning (PRB, UE count, neighbour overlap, NOC approval)
Multi-vendor counter normalisation — Ericsson pm*, Huawei L.* / VS.5G.*, Nokia RRC_CONN_*, ZTE LTE PM naming conventions; maps all to equivalent KPI formulas
RSRP→SINR→CQI→MCS link adaptation chain (CQI table, OLLA)
Quick start
python
1from transformers import AutoModelForCausalLM, AutoTokenizer
2import torch
34model_id ="mindfossil/telecom-intelligence-model-v7-merged"56tokenizer = AutoTokenizer.from_pretrained(model_id)7model = AutoModelForCausalLM.from_pretrained(8 model_id,9 torch_dtype=torch.float16,10 device_map="auto",11)1213SYSTEM_PROMPT =(14"You are a telecom network intelligence assistant. "15"You analyse probe data, RAN PM counters, Core PM metrics, and transport layer KPIs "16"to detect anomalies, diagnose faults, perform root cause analysis, translate natural "17"language to queries, and generate AMOS or MML CLI commands. "18"Always reason step by step: identify the vendor and counter naming convention, "19"compute all KPIs explicitly showing the arithmetic, compare against known thresholds, "20"then state the root cause and recommended action."21)2223defask(question:str)->str:24 messages =[25{"role":"system","content": SYSTEM_PROMPT},26{"role":"user","content": question},27]28 inputs = tokenizer.apply_chat_template(29 messages, tokenize=True, add_generation_prompt=True, return_tensors="pt"30).to(model.device)31 outputs = model.generate(32 inputs, max_new_tokens=1024, temperature=0.1, do_sample=True33)34return tokenizer.decode(outputs[0][inputs.shape[1]:], skip_special_tokens=True)3536# Example37print(ask(38"Ericsson cell ENB010-CELL01: pmRrcConnEstabAtt=948, pmRrcConnEstabSucc=921, "39"pmErabEstabAttInit=921, pmErabEstabSuccInit=902, pmHoExeAttLteIntraF=421, "40"pmHoExeSuccLteIntraF=412. Analyse for anomalies."41))
HuggingFace Inference Endpoint (recommended for production)
Deploy as a dedicated endpoint for low-latency inference without managing GPU infrastructure:
python
1import requests, json, os
23ENDPOINT_URL ="https://<your-endpoint>.aws.endpoints.huggingface.cloud"4HF_TOKEN = os.environ["HF_TOKEN"]56defask_endpoint(question:str, system:str=None)->str:7 system = system or(8"You are a telecom network intelligence assistant. Reason step by step, "9"derive all KPIs showing arithmetic, identify the vendor and counter naming, "10"compare against thresholds, then state the root cause and recommended action."11)12 payload ={13"model":"mindfossil/telecom-intelligence-model-v7-merged",14"messages":[15{"role":"system","content": system},16{"role":"user","content": question},17],18"max_tokens":1500,19"temperature":0.1,20}21 r = requests.post(22f"{ENDPOINT_URL}/v1/chat/completions",23 headers={"Authorization":f"Bearer {HF_TOKEN}","Content-Type":"application/json"},24 json=payload, timeout=180,25)26 r.raise_for_status()27return r.json()["choices"][0]["message"]["content"]
TASK: Anomaly Detection
VENDOR: Ericsson | Cell: ENB042-CELL07 | Granularity: 15 min
pmRrcConnEstabAtt=941, pmRrcConnEstabSucc=908
pmErabEstabAttInit=941, pmErabEstabSuccInit=824
pmHoExeAttLteIntraF=378, pmHoExeSuccLteIntraF=288
Analyse for anomalies. Derive all KPIs showing your arithmetic, then state the verdict.
5G NR beam failure diagnosis:
After an antenna upgrade at a 5G NR cell, UEs near the cell edge show intermittent
disconnections. Logs show frequent BFR (Beam Failure Recovery) events.
Explain the SSB beam management procedure (P1/P2/P3), what triggers BFR,
and which PM counters to check.
5GC NF root cause:
SMF-PROD-03: PDU_Session_Estab_SR=58.3% (baseline 99.1%), N4_HeartbeatTimeout_Rate=22.1%
(baseline 0%), N11_SR=99.8%, N7_SR=99.6%, SMF_CPU_Util=41%.
Diagnose the root cause. Which NF is failing and on which interface?
Ericsson AMOS CLI:
TASK: AMOS CLI command generation
VENDOR: Ericsson | Node: GNBDU-SITE-05
Generate AMOS commands to:
1. Lock all NRCellDU cells (administrativeState)
2. Retrieve pmNrRrcConnEstabSucc and pmNrRrcConnEstabAtt for all cells
3. Unlock NRCellDU=Cell-1
Limitations
Output quality depends on how explicitly vendor, counter names, and task type are stated in the prompt. The structured prompt format shown above consistently outperforms free-form questions.
The model was not trained on proprietary network configurations or live traffic data. It reasons from 3GPP specifications and publicly available vendor documentation.
Computed KPI values are arithmetic derivations from counter inputs provided in the prompt — the model does not connect to live network systems.
Recommended for augmenting, not replacing, experienced RF/Core network engineers.
Citation
bibtex
1@misc{telecom-intelligence-v7,
2 author = {mindfossil},
3 title = {Telecom Intelligence Model v7 — Qwen2.5-7B Fine-Tuned for Network Operations},
4 year = {2026},
5 publisher = {HuggingFace},
6 url = {https://huggingface.co/mindfossil/telecom-intelligence-model-v7-merged}
7}