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 live demo Space badge + section to model card
Browse files
README.md
CHANGED
|
@@ -79,6 +79,7 @@ model-index:
|
|
| 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)
|
|
@@ -230,6 +231,16 @@ k_m ← 0.99 · k_m + 0.01 · mean(attending tokens)
|
|
| 230 |
|
| 231 |
---
|
| 232 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 233 |
## Quick Start
|
| 234 |
|
| 235 |
### Installation
|
|
|
|
| 79 |
### *Dynamic Graph Attention · Temporal Semantic Decay · Per-Token Adaptive Depth Routing*
|
| 80 |
|
| 81 |
[](https://doi.org/10.5281/zenodo.20287390)
|
| 82 |
+
[](https://huggingface.co/spaces/vigneshwar234/TemporalMesh-Transformer-Demo)
|
| 83 |
[](https://github.com/vignesh2027/TemporalMesh-Transformer)
|
| 84 |
[](https://doi.org/10.5281/zenodo.20287390)
|
| 85 |
[](https://huggingface.co/datasets/vigneshwar234/TMT-Benchmarks)
|
|
|
|
| 231 |
|
| 232 |
---
|
| 233 |
|
| 234 |
+
## 🚀 Live Demo
|
| 235 |
+
|
| 236 |
+
Try TMT interactively — no install needed:
|
| 237 |
+
|
| 238 |
+
👉 **[huggingface.co/spaces/vigneshwar234/TemporalMesh-Transformer-Demo](https://huggingface.co/spaces/vigneshwar234/TemporalMesh-Transformer-Demo)**
|
| 239 |
+
|
| 240 |
+
Visualise exit gates, dynamic attention graphs, and per-token compute depth on any sentence you type.
|
| 241 |
+
|
| 242 |
+
---
|
| 243 |
+
|
| 244 |
## Quick Start
|
| 245 |
|
| 246 |
### Installation
|