Text Generation
Transformers
TensorBoard
Safetensors
English
qwen3
byte-level
pretraining
symbolic
text-generation-inference
Instructions to use dotlabs/void.1 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use dotlabs/void.1 with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-generation", model="dotlabs/void.1")# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForCausalLM tokenizer = AutoTokenizer.from_pretrained("dotlabs/void.1") model = AutoModelForCausalLM.from_pretrained("dotlabs/void.1", device_map="auto") - Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- vLLM
How to use dotlabs/void.1 with vLLM:
Install from pip and serve model
# Install vLLM from pip: pip install vllm # Start the vLLM server: vllm serve "dotlabs/void.1" # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:8000/v1/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "dotlabs/void.1", "prompt": "Once upon a time,", "max_tokens": 512, "temperature": 0.5 }'Use Docker
docker model run hf.co/dotlabs/void.1
- SGLang
How to use dotlabs/void.1 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 "dotlabs/void.1" \ --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": "dotlabs/void.1", "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 "dotlabs/void.1" \ --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": "dotlabs/void.1", "prompt": "Once upon a time,", "max_tokens": 512, "temperature": 0.5 }' - Docker Model Runner
How to use dotlabs/void.1 with Docker Model Runner:
docker model run hf.co/dotlabs/void.1
Download complete.json from dotlabs/void.1: direct link, hf CLI and curl.
- Browser
- Download file 1.33 kB
-
https://huggingface.co/dotlabs/void.1/resolve/05abce7ebe92417f22d05c72934ab8383bd28fb6/complete.json
- Command line
-
hf download hf://dotlabs/void.1@05abce7ebe92417f22d05c72934ab8383bd28fb6/complete.json
-
curl -L -o complete.json https://huggingface.co/dotlabs/void.1/resolve/05abce7ebe92417f22d05c72934ab8383bd28fb6/complete.json
1.33 kB
| { | |
| "step": 695000, | |
| "files": { | |
| "config.json": "cbc72137da3dae65085a2a8c39ad7634d16bf92d785ca00d283ee82fe32b37e7", | |
| "generation_config.json": "54ed0d19f6226888c91157964ede8a892bd5ae175bfad85336152b3d9b6cd7c4", | |
| "model.safetensors": "7bc36582f93f2989aadd91232699a7af1bc7686d271b31d30c2381bb46514fed", | |
| "tokenization_byte.py": "279b9990f77b1eaedc7c1184fe13d60273a713ead856200f1fb9ae323c7b1e03", | |
| "tokenizer_config.json": "0ecbd4fd39e35125800d806af981ba0cacd8a7ba5f02c9e729c4ecc54af6d300", | |
| "special_tokens_map.json": "20d4b94d0e657c3f44d9123522c106e7315b6c1a1b6d259478f17bd2918b1263", | |
| "byte_vocab.json": "57a1cd2e70dd5b7cc6fd2eaa12ebfcd173c1620fa5d45c2c6282511c29b6a5f6", | |
| "trainer.pt": "b91f72a9cbd032ac4aee83653c42086a0ab52034712e3ebf828258d87653ea7c", | |
| "training_config.json": "78af77f846fb3dcba08002ed692d24a6e4b3900ba35e5592c606aca3466b41f8", | |
| "performance.json": "96c7d3993f53da33aeba321717c341456e5878e35efa676b6ffe17d014497e29", | |
| "shard_scheduler.json": "2790a0c930904e09253ffeb8a2fa8e78d0efbaea59ac655453a067775f8e70cb", | |
| "coverage.json": "829a2aa07677fbb65f65c1542e4754afdcac1f9751729ae84cf87c3de9db2b47", | |
| "README.md": "9ce0f9efacbc46177a7e818b6aed274d84e7145ff944b5c7d6ecd5d33b9d4419" | |
| }, | |
| "signature": "1dee8333ad826e9fb3d197c33535515cdb9de560b94f624cae15e044b464f0ac" | |
| } |