Text Generation
Transformers
Safetensors
diffuqwen35
feature-extraction
diffusion-language-model
masked-diffusion
hybrid-attention
qwen3.5
conversational
custom_code
Instructions to use UT-IFML/dQwen3.5-9B-Base with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use UT-IFML/dQwen3.5-9B-Base with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-generation", model="UT-IFML/dQwen3.5-9B-Base", trust_remote_code=True) messages = [ {"role": "user", "content": "Who are you?"}, ] pipe(messages)# pip install -U transformers accelerate # Load model directly from transformers import AutoModel model = AutoModel.from_pretrained("UT-IFML/dQwen3.5-9B-Base", trust_remote_code=True, device_map="auto") - Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- vLLM
How to use UT-IFML/dQwen3.5-9B-Base with vLLM:
Install from pip and serve model
# Install vLLM from pip: pip install vllm # Start the vLLM server: vllm serve "UT-IFML/dQwen3.5-9B-Base" # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:8000/v1/chat/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "UT-IFML/dQwen3.5-9B-Base", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }'Use Docker
docker model run hf.co/UT-IFML/dQwen3.5-9B-Base
- SGLang
How to use UT-IFML/dQwen3.5-9B-Base 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 "UT-IFML/dQwen3.5-9B-Base" \ --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": "UT-IFML/dQwen3.5-9B-Base", "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 "UT-IFML/dQwen3.5-9B-Base" \ --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": "UT-IFML/dQwen3.5-9B-Base", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }' - Docker Model Runner
How to use UT-IFML/dQwen3.5-9B-Base with Docker Model Runner:
docker model run hf.co/UT-IFML/dQwen3.5-9B-Base
Commit History
26 days ago
-
Model card: the quickstart prompt ends with a newline, as HumanEval prompts do
Verified signaturef193fa2 -
Model card: quickstart stop_strings are a harness-ready starting set
Verified signature18f05a9 -
Model card: quickstart names its stop_strings (the paper's HumanEval stops)
Verified signaturef367770
27 days ago
-
Model card: paper and code links on their own lines
Verified signaturea82c5dc
-
Model card: family landing page with a two-statement quickstart; generate() accepts a string prompt and loads its own tokenizer
Verified signatured73a0b4
-
Model card: family landing page with a two-statement quickstart; generate() accepts a string prompt and loads its own tokenizer
Verified signaturef38721d
-
generate(): defaults are now the free canvas (block_length=None) at gen_length=512, tau 0.9
Verified signature98b27e0 -
Rename diffusion_generate -> generate (overrides GenerationMixin.generate, which is not meaningful for a masked diffusion LM)
Verified signature29e2082 -
Add diffusion_generate: block/free-canvas masked-diffusion sampler with threshold or fixed-budget commits (default block 32, tau 0.9, greedy); ported from the dQwen harness engine and held token-identical to it by tests/test_dqwen_release_sampler.py
Verified signaturee0c1f77
-
v3 50k SWA5 endpoint (SWA over ck-46000..50000)
Verified signature6876b97
-
v3 25k SWA5 endpoint (SWA over ck-21000..25000)
Verified signatureb146f30 -
initial commit
Verified signature5cc3509