Text Generation
PyTorch
Transformers
English
language-model
graph-neural-network
sparse-attention
adaptive-depth
temporal-decay
mesh-attention
efficient-transformer
novel-architecture
causal-lm
research
preprint
mesh-transformer
dynamic-graph
early-exit
per-token-routing
Eval Results (legacy)
Instructions to use vigneshwar234/TemporalMesh-Transformer with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use vigneshwar234/TemporalMesh-Transformer with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-generation", model="vigneshwar234/TemporalMesh-Transformer")# Load model directly from transformers import AutoModel model = AutoModel.from_pretrained("vigneshwar234/TemporalMesh-Transformer", dtype="auto") - Notebooks
- Google Colab
- Kaggle
- Local Apps
- vLLM
How to use vigneshwar234/TemporalMesh-Transformer with vLLM:
Install from pip and serve model
# Install vLLM from pip: pip install vllm # Start the vLLM server: vllm serve "vigneshwar234/TemporalMesh-Transformer" # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:8000/v1/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "vigneshwar234/TemporalMesh-Transformer", "prompt": "Once upon a time,", "max_tokens": 512, "temperature": 0.5 }'Use Docker
docker model run hf.co/vigneshwar234/TemporalMesh-Transformer
- SGLang
How to use vigneshwar234/TemporalMesh-Transformer with SGLang:
Install from pip and serve model
# Install SGLang from pip: pip install sglang # Start the SGLang server: python3 -m sglang.launch_server \ --model-path "vigneshwar234/TemporalMesh-Transformer" \ --host 0.0.0.0 \ --port 30000 # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:30000/v1/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "vigneshwar234/TemporalMesh-Transformer", "prompt": "Once upon a time,", "max_tokens": 512, "temperature": 0.5 }'Use Docker images
docker run --gpus all \ --shm-size 32g \ -p 30000:30000 \ -v ~/.cache/huggingface:/root/.cache/huggingface \ --env "HF_TOKEN=<secret>" \ --ipc=host \ lmsysorg/sglang:latest \ python3 -m sglang.launch_server \ --model-path "vigneshwar234/TemporalMesh-Transformer" \ --host 0.0.0.0 \ --port 30000 # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:30000/v1/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "vigneshwar234/TemporalMesh-Transformer", "prompt": "Once upon a time,", "max_tokens": 512, "temperature": 0.5 }' - Docker Model Runner
How to use vigneshwar234/TemporalMesh-Transformer with Docker Model Runner:
docker model run hf.co/vigneshwar234/TemporalMesh-Transformer
Add Zenodo DOI badge, update citation with DOI, link paper badge to Zenodo
Browse files
README.md
CHANGED
|
@@ -78,10 +78,12 @@ model-index:
|
|
| 78 |
|
| 79 |
### *Dynamic Graph Attention 路 Temporal Semantic Decay 路 Per-Token Adaptive Depth Routing*
|
| 80 |
|
|
|
|
| 81 |
[](https://github.com/vignesh2027/TemporalMesh-Transformer)
|
| 82 |
-
[](https://
|
| 83 |
[](https://huggingface.co/datasets/vigneshwar234/TMT-Benchmarks)
|
| 84 |
[](https://github.com/vignesh2027/TemporalMesh-Transformer/blob/main/LICENSE)
|
|
|
|
| 85 |
|
| 86 |
**Val. Perplexity: 29.4** 路 **~50% compute reduction** 路 **~120M parameters** 路 **WikiText-2**
|
| 87 |
|
|
@@ -432,9 +434,12 @@ print(ds['test'][0])
|
|
| 432 |
Temporal Decay and Adaptive Depth Routing},
|
| 433 |
author = {Vignesh},
|
| 434 |
year = {2026},
|
| 435 |
-
|
|
|
|
|
|
|
| 436 |
note = {Preprint. Novel architecture combining mesh attention, temporal
|
| 437 |
-
decay encoding, and per-token adaptive depth routing.
|
|
|
|
| 438 |
}
|
| 439 |
```
|
| 440 |
|
|
|
|
| 78 |
|
| 79 |
### *Dynamic Graph Attention 路 Temporal Semantic Decay 路 Per-Token Adaptive Depth Routing*
|
| 80 |
|
| 81 |
+
[](https://doi.org/10.5281/zenodo.20287390)
|
| 82 |
[](https://github.com/vignesh2027/TemporalMesh-Transformer)
|
| 83 |
+
[](https://doi.org/10.5281/zenodo.20287390)
|
| 84 |
[](https://huggingface.co/datasets/vigneshwar234/TMT-Benchmarks)
|
| 85 |
[](https://github.com/vignesh2027/TemporalMesh-Transformer/blob/main/LICENSE)
|
| 86 |
+
[](https://zenodo.org/records/20287390)
|
| 87 |
|
| 88 |
**Val. Perplexity: 29.4** 路 **~50% compute reduction** 路 **~120M parameters** 路 **WikiText-2**
|
| 89 |
|
|
|
|
| 434 |
Temporal Decay and Adaptive Depth Routing},
|
| 435 |
author = {Vignesh},
|
| 436 |
year = {2026},
|
| 437 |
+
doi = {10.5281/zenodo.20287390},
|
| 438 |
+
url = {https://doi.org/10.5281/zenodo.20287390},
|
| 439 |
+
publisher = {Zenodo},
|
| 440 |
note = {Preprint. Novel architecture combining mesh attention, temporal
|
| 441 |
+
decay encoding, and per-token adaptive depth routing.
|
| 442 |
+
Code: https://github.com/vignesh2027/TemporalMesh-Transformer}
|
| 443 |
}
|
| 444 |
```
|
| 445 |
|