Text Generation
Transformers
Safetensors
grt
chat
conversational
rotational-transformer
givens-rotations
clifford-algebra
matterwave
Instructions to use MatterWaveAI/grt-30m-chat with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use MatterWaveAI/grt-30m-chat with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-generation", model="MatterWaveAI/grt-30m-chat") messages = [ {"role": "user", "content": "Who are you?"}, ] pipe(messages)# pip install -U transformers accelerate # Load model directly from transformers import AutoModelForCausalLM model = AutoModelForCausalLM.from_pretrained("MatterWaveAI/grt-30m-chat", device_map="auto") - Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- vLLM
How to use MatterWaveAI/grt-30m-chat with vLLM:
Install from pip and serve model
# Install vLLM from pip: pip install vllm # Start the vLLM server: vllm serve "MatterWaveAI/grt-30m-chat" # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:8000/v1/chat/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "MatterWaveAI/grt-30m-chat", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }'Use Docker
docker model run hf.co/MatterWaveAI/grt-30m-chat
- SGLang
How to use MatterWaveAI/grt-30m-chat 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-30m-chat" \ --host 0.0.0.0 \ --port 30000 # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:30000/v1/chat/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "MatterWaveAI/grt-30m-chat", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }'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-30m-chat" \ --host 0.0.0.0 \ --port 30000 # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:30000/v1/chat/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "MatterWaveAI/grt-30m-chat", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }' - Docker Model Runner
How to use MatterWaveAI/grt-30m-chat with Docker Model Runner:
docker model run hf.co/MatterWaveAI/grt-30m-chat
Update SHA256SUMS
Browse files- SHA256SUMS +2 -2
SHA256SUMS
CHANGED
|
@@ -2,8 +2,8 @@ f0aa0fd5bbba646dc7ae058d9e7e3436e4b2c1f8c422a2bfc06c8de09de076fc chat_template.
|
|
| 2 |
c2b264a05e11914a8e41c1610f3c81e15d38151c459a1c66caaaa0381d804685 config.json
|
| 3 |
4638cae59268889fb9731e481655c2da3a756f35d6d733f6e052ab76ba71b051 eval_results.json
|
| 4 |
da90aebf9dbd74d88711c9cc69becf4b4d0e14d0f2f677d1351f4c48982bb23b generation_config.json
|
| 5 |
-
|
| 6 |
ee613803cb7b2c618def7e6c79476e1aab4e887cc08e234204b6bad12ad772bc model.safetensors
|
| 7 |
-
|
| 8 |
be75606093db2094d7cd20f3c2f385c212750648bd6ea4fb2bf507a6a4c55506 tokenizer.json
|
| 9 |
b0b05688d53eec97348d23f9a203772fa28f12bdc8a0f6f5401f41568ec6ca31 tokenizer_config.json
|
|
|
|
| 2 |
c2b264a05e11914a8e41c1610f3c81e15d38151c459a1c66caaaa0381d804685 config.json
|
| 3 |
4638cae59268889fb9731e481655c2da3a756f35d6d733f6e052ab76ba71b051 eval_results.json
|
| 4 |
da90aebf9dbd74d88711c9cc69becf4b4d0e14d0f2f677d1351f4c48982bb23b generation_config.json
|
| 5 |
+
3bb3b9830c9d0d05e0950fc457bdedcca0f4592ad1825f4d6392aa84dc5d0093 GRT_Whitepaper.pdf
|
| 6 |
ee613803cb7b2c618def7e6c79476e1aab4e887cc08e234204b6bad12ad772bc model.safetensors
|
| 7 |
+
e5f4600bc030d8a5e0dc9a9fb6aa71cb291d63654a9a4742fd03bf8872647c7c README.md
|
| 8 |
be75606093db2094d7cd20f3c2f385c212750648bd6ea4fb2bf507a6a4c55506 tokenizer.json
|
| 9 |
b0b05688d53eec97348d23f9a203772fa28f12bdc8a0f6f5401f41568ec6ca31 tokenizer_config.json
|