NICoLE is a compact LLM-based controller for congestion-aware RTP/WebRTC adaptive video streaming.
from RTP packetization and queue telemetry using compact symbolic prompting.
The dataset was generated using real-time WebRTC streaming under a 40 Mbps bottleneck shared between background traffic and adaptive RTP video streaming.
1
2PS FS IFGS IFGR CQ LQ E
1I:PS FS IFGS IFGR CQ LQ E
2O:E C N
3
4U:1400,40,34,33,2,0,0
5
6A:
1from transformers import AutoModelForCausalLM, AutoTokenizer
2
3model_id = "YOUR_USERNAME/NICoLE-LLM"
4tok = AutoTokenizer.from_pretrained(model_id)
5model = AutoModelForCausalLM.from_pretrained(
6 model_id,
7 device_map="auto"
8)
9
10prompt = """I:PS FS IFGS IFGR CQ LQ E
11O:E C N
12U:1400,40,34,33,2,0,0
13A:"""
14
15inputs = tok(prompt, return_tensors="pt").to(model.device)
16out = model.generate(
17 **inputs,
18 max_new_tokens=6,
19 do_sample=False
20)
21print(tok.decode(out[0], skip_special_tokens=True))
1./llama-cli \
2-no-cnv \
3-t 4 \
4-m nicole-q4.gguf \
5-p "I:PS FS IFGS IFGR CQ LQ E
6O:E C N
7
8U:1400,40,34,33,2,0,0
9
10A:" \
11-n 6 \
12--temp 0 \
13--top-k 1
If you use this model, please cite the NICoLE paper and repository.