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
Cross-link MatterWaveAI/grt-10m-curriculum in SHA256SUMS
Browse files- SHA256SUMS +8 -6
SHA256SUMS
CHANGED
|
@@ -1,6 +1,8 @@
|
|
| 1 |
-
|
| 2 |
-
|
| 3 |
-
|
| 4 |
-
|
| 5 |
-
|
| 6 |
-
|
|
|
|
|
|
|
|
|
| 1 |
+
2059d788f850e52764196cec722cef2e3e6e0326e31c1cd1004d894d5ba533bf README.md
|
| 2 |
+
ed4458b69e63f88515162ab0599abc54b6ef6f61ca5133d0d6740555e61eb960 config.json
|
| 3 |
+
433d041c312ca8c87cc3bd15335ab1047e7c3ca5d73283f4f8c563bf7b76bca3 eval_results.json
|
| 4 |
+
2cec24e8e303d453c39ad0e9497d4b0fb975d59b0158848b248c616bb37fbe20 model.pt
|
| 5 |
+
40fd3dd28b960375780e4fbb68923ddb7204106ed993f9467ea3f2b02ab3ae57 model.safetensors
|
| 6 |
+
5f31bc9fb786cac939f638270633434095be6640ef7c530b316bd42636c5d975 slm_bench_results.json
|
| 7 |
+
fc0fab0e6fad9006677fe4a1161e7538acf1c644464d04e810f64ba5901c473e tokenizer.json
|
| 8 |
+
512bae57ead6cde8739cadff2be7e53e3d6c8eb881fe70013fe456c580d7e722 vocab.json
|