Text Generation
Transformers
Safetensors
qwen3
math
sft
lora
task-vector
iclr2027
conversational
text-generation-inference
Instructions to use modrill/math-nothink-q8b-20260908 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use modrill/math-nothink-q8b-20260908 with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-generation", model="modrill/math-nothink-q8b-20260908") messages = [ {"role": "user", "content": "Who are you?"}, ] pipe(messages)# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForCausalLM tokenizer = AutoTokenizer.from_pretrained("modrill/math-nothink-q8b-20260908") model = AutoModelForCausalLM.from_pretrained("modrill/math-nothink-q8b-20260908", device_map="auto") messages = [ {"role": "user", "content": "Who are you?"}, ] inputs = tokenizer.apply_chat_template( messages, add_generation_prompt=True, tokenize=True, return_dict=True, return_tensors="pt", ).to(model.device) outputs = model.generate(**inputs, max_new_tokens=256) print(tokenizer.decode(outputs[0][inputs["input_ids"].shape[-1]:])) - Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- vLLM
How to use modrill/math-nothink-q8b-20260908 with vLLM:
Install from pip and serve model
# Install vLLM from pip: pip install vllm # Start the vLLM server: vllm serve "modrill/math-nothink-q8b-20260908" # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:8000/v1/chat/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "modrill/math-nothink-q8b-20260908", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }'Use Docker
docker model run hf.co/modrill/math-nothink-q8b-20260908
- SGLang
How to use modrill/math-nothink-q8b-20260908 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 "modrill/math-nothink-q8b-20260908" \ --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": "modrill/math-nothink-q8b-20260908", "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 "modrill/math-nothink-q8b-20260908" \ --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": "modrill/math-nothink-q8b-20260908", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }' - Docker Model Runner
How to use modrill/math-nothink-q8b-20260908 with Docker Model Runner:
docker model run hf.co/modrill/math-nothink-q8b-20260908
Download COMMIT.json from modrill/math-nothink-q8b-20260908: direct link, hf CLI and curl.
- Browser
- Download file 3.93 kB
-
https://huggingface.co/modrill/math-nothink-q8b-20260908/resolve/main/COMMIT.json
- Command line
-
hf download hf://modrill/math-nothink-q8b-20260908/COMMIT.json
-
curl -L -o COMMIT.json https://huggingface.co/modrill/math-nothink-q8b-20260908/resolve/main/COMMIT.json
3.93 kB
| { | |
| "schema": "ddc-atomic-checkpoint-commit/1", | |
| "runner_id": "THINK_B_2EP_SIX_ARMS_RUNNER_V3", | |
| "completed_optimizer_updates": 165, | |
| "cumulative_realized_active_tokens": 10788766, | |
| "bindings": { | |
| "config_sha256": "f34d2868e37c889e51bf88cb5060945af414876078d7cb396c027335faef2513", | |
| "runner_code_sha256": "fd6d1c6403810acc4460e2ce0fb5f4418881387b11f4bd21f7cd21067faa3a0a", | |
| "config_schema_sha256": "d6d13eeee42bf04cf34fc68b2fa7a61b316c4543b77d7d779815b8eddf10c099", | |
| "python_binary_sha256": "5700a6a7804feb44da6c963ebd1323982478b7ca57478e4e81981c47818453bd", | |
| "environment_lock_sha256": "72288b0cf05c492e5950c02a9e2870593458703c334b0fa7b535c78d299d82b9", | |
| "base_composite_sha256": "befbd853b79e181a388c379e5ba79df5f628a9390c3dda092266f8c66e0d3a93", | |
| "base_lock_sha256": "7cbc0ab33bbfcbd2158665bf0d58ae8730419a383564b379d28e31889f838e04", | |
| "frozen_rows_sha256": "6449338be824d213c1d7ac69d84a103960aa4e2472c875b4ea5b81de32824740", | |
| "ordered_ids_sha256": "21bc6c497e2384ace3f7b4b10e7b138f80eff7c5c9f1d681c310ca5d07c8eca3", | |
| "update_plan_sha256": "6ced3b577b13f79e7792ae94a3b088eca8495b8796cd98bdfcbb727e81eb031d", | |
| "data_receipt_sha256": "e66346fb413557929ab53648bc656fb3102557cf3460abb49c7b1c6e7281420d", | |
| "decontamination_receipt_sha256": "66c360871b06208ed20e473e57ad0f09c79e4dac1b3124a9461a5b729b487153", | |
| "render_receipt_sha256": "e66346fb413557929ab53648bc656fb3102557cf3460abb49c7b1c6e7281420d", | |
| "token_bake_sha256": "74234e98afe7498fb5daf1f36ac2d78acc339464f950703b8c019892f982b90b", | |
| "continuation_sha256": "74234e98afe7498fb5daf1f36ac2d78acc339464f950703b8c019892f982b90b" | |
| }, | |
| "trainer_state": { | |
| "path": "trainer_state.pt", | |
| "bytes": 2095980109, | |
| "sha256": "b317eec556f4de8f2addf2ba10ec6af940645741618b0fda676a6487db7fe9e3" | |
| }, | |
| "token_boundary_ledger": { | |
| "path": "TOKEN_BOUNDARY_LEDGER.json", | |
| "bytes": 247147, | |
| "sha256": "96abcfaa73f0c7680395ba4c6b13a97566ac80ba2463b54c520dc8deca576e1a" | |
| }, | |
| "adapter_files": [ | |
| { | |
| "path": "adapter/README.md", | |
| "bytes": 5414, | |
| "sha256": "d5c55db9b0c9dfaf151b29b6579980758d75cbca5e0718b786f2b29badaadb5d" | |
| }, | |
| { | |
| "path": "adapter/adapter_config.json", | |
| "bytes": 1398, | |
| "sha256": "3b6975f0e0167ab0bca781a70f871a00df04962cbf6501c594e36ad310ee34d0" | |
| }, | |
| { | |
| "path": "adapter/adapter_model.safetensors", | |
| "bytes": 698518296, | |
| "sha256": "228a582aff6cdd81f63353f439dbfb86c22dc52b8fafc2ad57f3a212c35f7cf5" | |
| } | |
| ], | |
| "serialization_canary": { | |
| "save_load_format": "safetensors", | |
| "state_key_count": 506, | |
| "token_state": { | |
| "schema": "think-b-2ep-token-rows/1", | |
| "tensors": [ | |
| { | |
| "key": "base_model.model.lm_head.token_adapter.trainable_tokens_delta", | |
| "sha256": "2072240ab70ecdabb8d838a6118f953a61079f48ad53d3e7dcf6cdc7ce869651", | |
| "shape": [ | |
| 3, | |
| 4096 | |
| ], | |
| "dtype": "torch.float32" | |
| }, | |
| { | |
| "key": "base_model.model.model.embed_tokens.token_adapter.trainable_tokens_delta", | |
| "sha256": "eebf954d0711e6f4a2a7d8867eec5a16fce703670ad19cb5749044893fe759a9", | |
| "shape": [ | |
| 3, | |
| 4096 | |
| ], | |
| "dtype": "torch.float32" | |
| } | |
| ] | |
| } | |
| }, | |
| "token_state": { | |
| "schema": "think-b-2ep-token-rows/1", | |
| "tensors": [ | |
| { | |
| "key": "base_model.model.lm_head.token_adapter.trainable_tokens_delta", | |
| "sha256": "2072240ab70ecdabb8d838a6118f953a61079f48ad53d3e7dcf6cdc7ce869651", | |
| "shape": [ | |
| 3, | |
| 4096 | |
| ], | |
| "dtype": "torch.float32" | |
| }, | |
| { | |
| "key": "base_model.model.model.embed_tokens.token_adapter.trainable_tokens_delta", | |
| "sha256": "eebf954d0711e6f4a2a7d8867eec5a16fce703670ad19cb5749044893fe759a9", | |
| "shape": [ | |
| 3, | |
| 4096 | |
| ], | |
| "dtype": "torch.float32" | |
| } | |
| ] | |
| } | |
| } | |