Text Generation
Transformers
Safetensors
English
grt
geometric-rotation-transformer
causal-lm
rotational
Instructions to use MatterWaveAI/grt-10m with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use MatterWaveAI/grt-10m with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-generation", model="MatterWaveAI/grt-10m")# pip install -U transformers accelerate # Load model directly from transformers import AutoModelForCausalLM model = AutoModelForCausalLM.from_pretrained("MatterWaveAI/grt-10m", device_map="auto") - Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- vLLM
How to use MatterWaveAI/grt-10m with vLLM:
Install from pip and serve model
# Install vLLM from pip: pip install vllm # Start the vLLM server: vllm serve "MatterWaveAI/grt-10m" # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:8000/v1/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "MatterWaveAI/grt-10m", "prompt": "Once upon a time,", "max_tokens": 512, "temperature": 0.5 }'Use Docker
docker model run hf.co/MatterWaveAI/grt-10m
- SGLang
How to use MatterWaveAI/grt-10m 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 "MatterWaveAI/grt-10m" \ --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": "MatterWaveAI/grt-10m", "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 "MatterWaveAI/grt-10m" \ --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": "MatterWaveAI/grt-10m", "prompt": "Once upon a time,", "max_tokens": 512, "temperature": 0.5 }' - Docker Model Runner
How to use MatterWaveAI/grt-10m with Docker Model Runner:
docker model run hf.co/MatterWaveAI/grt-10m
Note NeurIPS Reject provenance in GRT-10M model card
Browse files
README.md
CHANGED
|
@@ -5,6 +5,7 @@ tags:
|
|
| 5 |
- geometric-rotation-transformer
|
| 6 |
- causal-lm
|
| 7 |
- rotational
|
|
|
|
| 8 |
datasets:
|
| 9 |
- nvidia/Nemotron-Pretraining-Dataset-sample
|
| 10 |
language:
|
|
@@ -13,15 +14,17 @@ library_name: transformers
|
|
| 13 |
pipeline_tag: text-generation
|
| 14 |
---
|
| 15 |
|
| 16 |
-
# GRT-10M
|
|
|
|
|
|
|
| 17 |
|
| 18 |
A Geometric Rotation Transformer pretrained on Nemotron. GRT replaces the dense
|
| 19 |
linear projections of a standard transformer with cascades of learned Givens
|
| 20 |
rotations on SO(D), so the residual path contains no `nn.Linear` at all.
|
| 21 |
|
| 22 |
-
This is a research proof-of-concept at small scale. It is published to
|
| 23 |
demonstrate that the architecture trains stably and evaluates end-to-end, not
|
| 24 |
-
as a capable
|
| 25 |
|
| 26 |
## Model Details
|
| 27 |
|
|
|
|
| 5 |
- geometric-rotation-transformer
|
| 6 |
- causal-lm
|
| 7 |
- rotational
|
| 8 |
+
- neurips-reject
|
| 9 |
datasets:
|
| 10 |
- nvidia/Nemotron-Pretraining-Dataset-sample
|
| 11 |
language:
|
|
|
|
| 14 |
pipeline_tag: text-generation
|
| 15 |
---
|
| 16 |
|
| 17 |
+
# GRT-10M (NeurIPS Reject Edition)
|
| 18 |
+
|
| 19 |
+
> **Status: Official NeurIPS Reject.** Originally built as the small-scale proof-of-concept for our rejected NeurIPS submission introducing the Geometric Rotation Transformer (`GRT`). Kept intact as our historical `8.7M`-parameter (`2.2M` non-embedding backbone) baseline checkpoint—and now evaluated across the 10-task `SLM-Bench` suite with our classical symplectic & Huygens curriculum optimizers (`SymplecticAdam` and `HuygensSymplecticAdam`).
|
| 20 |
|
| 21 |
A Geometric Rotation Transformer pretrained on Nemotron. GRT replaces the dense
|
| 22 |
linear projections of a standard transformer with cascades of learned Givens
|
| 23 |
rotations on SO(D), so the residual path contains no `nn.Linear` at all.
|
| 24 |
|
| 25 |
+
This is a research proof-of-concept at small scale (and a proud NeurIPS reject). It is published to
|
| 26 |
demonstrate that the architecture trains stably and evaluates end-to-end, not
|
| 27 |
+
as a capable general-purpose assistant.
|
| 28 |
|
| 29 |
## Model Details
|
| 30 |
|