File size: 6,103 Bytes
05015a4 8bc09e3 05015a4 8bc09e3 05015a4 8bc09e3 05015a4 8bc09e3 05015a4 8bc09e3 05015a4 8bc09e3 05015a4 8bc09e3 05015a4 8bc09e3 05015a4 8bc09e3 05015a4 8bc09e3 05015a4 8bc09e3 05015a4 8bc09e3 05015a4 8bc09e3 05015a4 8bc09e3 05015a4 8bc09e3 05015a4 8bc09e3 b842281 8bc09e3 | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 | # Telco_Intelligence v2
A 7B parameter language model fine-tuned for telecom network operations, covering RAN anomaly detection, 5G Core root cause analysis, multi-vendor KPI normalisation, and CLI command generation across Ericsson, Nokia, and Huawei.
---
## Model Details
| Property | Value |
|---|---|
| **Base model** | Qwen2.5-7B |
| **Fine-tuning method** | Supervised Fine-Tuning (SFT) with Chain-of-Thought |
| **Model ID** | `mindfossil/telecom-intelligence-model-v2-merged` |
| **Serving** | vLLM OpenAI-compatible endpoint |
| **License** | Apache 2.0 |
---
## Capabilities
- **PM KPI derivation** β computes KPIs from raw PM counter values with explicit step-by-step arithmetic: RRC Success Rate, ERAB SR, Handover SR, PRB Utilisation, Throughput, and vendor-equivalent formulas across Ericsson, Nokia, and Huawei naming conventions
- **RAN anomaly detection** β applies derived KPIs against operational thresholds to classify cell health, identify degraded KPIs, and recommend remediation actions
- **5G Core RCA** β analyses SMF/AMF telemetry (ContextDao latency, PM time series) and classifies faults (CPU fault, IP pool exhaustion, insufficient data)
- **Core network probe / DPI analysis** β interprets passive probe data, xDR records, and interface-level flow telemetry to diagnose subscriber experience and network-side faults
- **NWDAF-style analytics** β processes aggregated network data to identify patterns, predict load, and surface anomalies at the network function level
- **Differential diagnosis** β distinguishes RAN-side vs Core-side faults using cross-KPI reasoning
- **Multi-vendor KPI normalisation** β maps vendor-specific counter names to unified KPI formulas and computes comparable values across vendors
- **SON energy saving** β applies policy gate conditions to produce explicit switch-off decisions
- **NL β CLI** β translates natural language operations requests into valid Ericsson MML and AMOS CLI commands
---
## Evaluation
Evaluated using deterministic scoring (numeric formula accuracy Β±3%, keyword matching, reasoning chain validation, and hallucination guards) across 20 functional test cases.
| Domain | Score | % |
|---|---|---|
| RAN anomaly detection | 110/136 | 81% |
| 5G Core RCA | 97/128 | 76% |
| SON policy | 27/44 | 61% |
| NL β CLI | 55/82 | 67% |
| Multi-vendor | 68/76 | 89% |
| **Overall** | **357/466** | **77%** |
Separately evaluated on a structured 5GC telemetry RCA benchmark (7 test cases): **12/14 (86%)**, above the 86% deployment confidence threshold.
---
## Quickstart
```python
from transformers import AutoModelForCausalLM, AutoTokenizer
model_name = "mindfossil/telecom-intelligence-model-v2-merged"
model = AutoModelForCausalLM.from_pretrained(
model_name,
torch_dtype="auto",
device_map="auto",
)
tokenizer = AutoTokenizer.from_pretrained(model_name)
system_prompt = (
"You are a telecom network intelligence assistant specialising in RAN performance "
"analysis, 5G Core operations, and multi-vendor troubleshooting. When given raw PM "
"counters or telemetry data, derive KPIs showing your arithmetic step-by-step, "
"compare against known thresholds, identify anomalies, and recommend actions."
)
prompt = (
"TASK: Anomaly Detection\n"
"DATA TYPE: RAN PM counters (4G LTE)\n"
"VENDOR: Ericsson | Cell: ENB010-CELL01 | Granularity: 15 min\n\n"
"RAW PM COUNTERS:\n"
" pmRrcConnEstabSucc: 921\n"
" pmRrcConnEstabAtt: 948\n"
" pmErabEstabSuccInit: 902\n"
" pmErabEstabAttInit: 921\n"
" pmHoExecSuccLteIntraF: 412\n"
" pmHoExecAttLteIntraF: 421\n\n"
"Analyse these counters. Derive the relevant KPIs showing your arithmetic, "
"then state the cell health verdict."
)
messages = [
{"role": "system", "content": system_prompt},
{"role": "user", "content": prompt},
]
text = tokenizer.apply_chat_template(
messages, tokenize=False, add_generation_prompt=True
)
model_inputs = tokenizer([text], return_tensors="pt").to(model.device)
generated_ids = model.generate(**model_inputs, max_new_tokens=1500, temperature=0.1)
generated_ids = [
output_ids[len(input_ids):]
for input_ids, output_ids in zip(model_inputs.input_ids, generated_ids)
]
response = tokenizer.batch_decode(generated_ids, skip_special_tokens=True)[0]
print(response)
```
### Serving with vLLM
```bash
vllm serve mindfossil/telecom-intelligence-model-v2-merged \
--tensor-parallel-size 1 \
--max-model-len 4096 \
--gpu-memory-utilization 0.85
```
The model runs on a single **NVIDIA L4 (24 GB)** or equivalent GPU.
---
## Input / Output Format
### RAN PM counter analysis
**Input:**
```
TASK: Anomaly Detection
DATA TYPE: RAN PM counters (4G LTE)
VENDOR: Ericsson | Cell: <cell_id> | Granularity: 15 min
RAW PM COUNTERS:
pmRrcConnEstabSucc: <value>
pmRrcConnEstabAtt: <value>
...
Analyse these counters for anomalies. Derive the relevant KPIs showing your
arithmetic, then state the cell health verdict.
```
**Output:**
```
Step 1: Identify Vendor and Counter Naming Convention
...
Step 2: Derive Relevant KPIs
RRC SR = pmRrcConnEstabSucc / pmRrcConnEstabAtt Γ 100 = 921 / 948 Γ 100 = 97.2%
...
Verdict: Healthy β all KPIs above threshold.
```
### 5GC telemetry RCA
**Input:**
```
ContextDao Actor Latency (10-second window):
Tag | Avg(ms) | Min(ms) | Max(ms) | 95th(ms)
put-NrSessionContext | 11.40 | 4.20 | 55.00 | 97.00
...
```
**Output:**
```
[ANOMALY DETECTION] β An anomaly is detected in the put-NrSessionContext operation.
[REASONING] β ...
Anomaly_Class: SMF_CPU_FAULT
[ROOT CAUSE] β CPU starvation causing elevated ContextDao write latency.
[REMEDIATION] β Scale SMF resources; investigate CPU spike root cause.
```
---
## Citation
```bibtex
@misc{telecom-intelligence-v2-2026,
title = {Telco\_Intelligence v2: A Telecom Operations Fine-Tuned Language Model},
author = {mindfossil},
year = {2026},
url = {https://huggingface.co/mindfossil/telecom-intelligence-model-v2-merged}
}
```
|