Downloads · 30 days
34
9% of all-time downloads
alirezashirmarz/NICoLE-LLM
NICoLE-LLM is a machine learning model from alirezashirmarz. Use it for the machine learning task on the model card, and read the license before you ship it in a product. The card lists the license as apache-2.0.
NICoLE is a compact LLM-based controller for congestion-aware RTP/WebRTC adaptive video streaming.
Downloads · 30 days
34
9% of all-time downloads
All-time downloads
400
Public
Parameters
1.1B
5.1 GB on disk
Likes
2
Public
Click a slice to open those files.
.gguf2.9 GB · 57%
From the Hugging Face model README
NICoLE is a compact LLM-based controller for congestion-aware RTP/WebRTC adaptive video streaming.
It predicts:
from RTP packetization and queue telemetry using compact symbolic prompting.
Optimized for:
Applications:
| Profile | Resolution | FPS | GoP |
|---|---|---|---|
| P0 | 3840×2160 (4K) | 30 / 60 / 90 / 120 | 2 s |
| P1 | 1920×1080 | 30 / 60 / 90 / 120 | 2 s |
| P2 | 1280×720 | 30 / 60 / 90 / 120 | 2 s |
| P3 | 640×360 | 30 / 60 / 90 / 120 | 2 s |
The dataset was generated using real-time WebRTC streaming under a 40 Mbps bottleneck shared between background traffic and adaptive RTP video streaming.
Input order:
PS FS IFGS IFGR CQ LQ E
Output order:
E C N
Example:
I:PS FS IFGS IFGR CQ LQ E
O:E C N
U:1400,40,34,33,2,0,0
A:
Expected output:
0,1,1
from transformers import AutoModelForCausalLM, AutoTokenizer
model_id = "YOUR_USERNAME/NICoLE-LLM"
tok = AutoTokenizer.from_pretrained(model_id)
model = AutoModelForCausalLM.from_pretrained(
model_id,
device_map="auto"
)
prompt = """I:PS FS IFGS IFGR CQ LQ E
O:E C N
U:1400,40,34,33,2,0,0
A:"""
inputs = tok(prompt, return_tensors="pt").to(model.device)
out = model.generate(
**inputs,
max_new_tokens=6,
do_sample=False
)
print(tok.decode(out[0], skip_special_tokens=True))
./llama-cli \
-no-cnv \
-t 4 \
-m nicole-q4.gguf \
-p "I:PS FS IFGS IFGR CQ LQ E
O:E C N
U:1400,40,34,33,2,0,0
A:" \
-n 6 \
--temp 0 \
--top-k 1
| Parameter | Value |
|---|---|
| Runtime | llama.cpp |
| Quantization | Q4_K_M |
| Model Size | 636 MB |
| Context Length | 4096 |
| Inference | Deterministic |
| Prompting | Compact Symbolic |
| Threads | Response (ms) | Decisions/sec | Tokens/sec |
|---|---|---|---|
| 1 | 1325 | 0.75 | 52.71 |
| 2 | 624 | 1.60 | 113.30 |
| 4 | 343 | 2.91 | 203.35 |
| 8 | 904 | 1.11 | 60.70 |
| 16 | 1043 | 0.96 | 132.46 |
| 32 | 1432 | 0.70 | 104.29 |
Best CPU deployment:
Available quantization:
Runtime:
Designed for:
If you use this model, please cite the NICoLE paper and repository.