Downloads · 30 days
0
LaBackDoor/trafficgpt
trafficgpt is a text generation model from LaBackDoor. Use it when you need the model to write or continue text. It is set up for transformers. The card lists the license as apache-2.0.
TrafficGPT is a deep-learning foundation model designed to tackle complex challenges in network traffic analysis and generation. By leveraging generative pre-training with a linear attention mechanism, it expands the…
Downloads · 30 days
0
Access
Public
Updated Dec 17, 2025
Repo size
—
Likes
0
Public
Click a slice to open those files.
.md4.7 KB · 75%
From the Hugging Face model README
TrafficGPT is a deep-learning foundation model designed to tackle complex challenges in network traffic analysis and generation. By leveraging generative pre-training with a linear attention mechanism, it expands the effective token window from the traditional 512-token limit to 12,032 tokens.
The model was pre-trained on 189 GB of raw network traffic across five major datasets:
While the original TrafficGPT research utilized a 99:1 train-test split (99% for pre-training, 1% for testing), this open-source version employs a standard 80:20 split.
TrafficGPT(12k) consistently outperforms existing state-of-the-art models[cite: 16, 281].
| Dataset | Metric | TrafficGPT (12k) |
|---|---|---|
| ISCX-VPN-App | Macro F1 | 1.0000 |
| USTC-TFC | Macro F1 | 0.9877 |
| Cross-Platform (iOS) | Macro F1 | 0.9863 |
| Cross-Platform (Android) | Macro F1 | 0.9498 |
Measured using Jensen-Shannon Divergence (JSD), where lower values indicate closer similarity to real traffic.
If you use TrafficGPT in your research, please cite:
@article{qu2024trafficgpt,
title={TrafficGPT: Breaking the Token Barrier for Efficient Long Traffic Analysis and Generation},
author={Qu, Jian and Ma, Xiaobo and Li, Jianfeng},
journal={arXiv preprint arXiv:2403.05822},
year={2024}
}