A 500M parameter instruction-tuned language model specialised in 3GPP and ETSI telecommunications standards. Trained via full fine-tuning on
TeleSpec-Data followed by LoRA instruction fine-tuning on Alpaca.
All model weights updated on 409,117 packed 4096-token blocks (1.67B tokens) from 38,302 standards documents — 15,054 3GPP (Rel-8 to Rel-19) and 23,248 ETSI documents spanning 15 working groups (2000–2024). Zero arXiv or web content — 100% standards text.
LoRA (r=16, α=32) on full Alpaca 52k dataset. Base weights frozen to preserve domain knowledge.
Evaluated on
Tele-Eval using the metrics defined in Maatouk et al. (2024) —
standards-derived questions only (
standard_* IDs, 10,000 examples, seed 42).
1from transformers import AutoTokenizer, AutoModelForCausalLM
2import torch
3
4model_id = "nareshmodina/Qwen-TS-500M-it"
5tokenizer = AutoTokenizer.from_pretrained(model_id)
6model = AutoModelForCausalLM.from_pretrained(
7 model_id, dtype=torch.bfloat16, device_map="auto"
8)
9
10prompt = (
11 "The following is a question about telecommunications and networking.\n"
12 "Question: What is the purpose of the RRC Connection Establishment procedure in LTE?\n"
13 "Answer:"
14)
15
16inputs = tokenizer(prompt, return_tensors="pt").to(model.device)
17outputs = model.generate(
18 **inputs,
19 max_new_tokens=150,
20 do_sample=False,
21 repetition_penalty=1.3,
22)
23answer = tokenizer.decode(outputs[0][inputs.input_ids.shape[1]:], skip_special_tokens=True)
24print(answer)
1@misc{modina2025teleslms,
2 author = {Naresh Modina},
3 title = {tele-SLMs: Small Language Models for Telecommunications Standards},
4 year = {2025},
5 publisher = {Hugging Face},
6 url = {https://huggingface.co/nareshmodina/Qwen-TS-500M-it}
7}
8
9@misc{maatouk2024telellms,
10 title = {Tele-LLMs: A Series of Specialized Large Language Models for Telecommunications},
11 author = {Ali Maatouk and Kenny Chirino Ampudia and Rex Ying and Leandros Tassiulas},
12 year = {2024},
13 eprint = {2409.05314},
14 archivePrefix = {arXiv},
15 primaryClass = {cs.IT}
16}