Instructions to use disinfozone/wekwos-2-mini-bf16 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use disinfozone/wekwos-2-mini-bf16 with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-generation", model="disinfozone/wekwos-2-mini-bf16") messages = [ { "role": "user", "content": [ {"type": "image", "url": "https://huggingface.co/datasets/huggingface/documentation-images/resolve/main/p-blog/candy.JPG"}, {"type": "text", "text": "What animal is on the candy?"} ] }, ] pipe(text=messages)# pip install -U transformers accelerate # Load model directly from transformers import AutoProcessor, AutoModelForMultimodalLM processor = AutoProcessor.from_pretrained("disinfozone/wekwos-2-mini-bf16") model = AutoModelForMultimodalLM.from_pretrained("disinfozone/wekwos-2-mini-bf16", device_map="auto") messages = [ { "role": "user", "content": [ {"type": "image", "url": "https://huggingface.co/datasets/huggingface/documentation-images/resolve/main/p-blog/candy.JPG"}, {"type": "text", "text": "What animal is on the candy?"} ] }, ] inputs = processor.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(processor.decode(outputs[0][inputs["input_ids"].shape[-1]:])) - Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- vLLM
How to use disinfozone/wekwos-2-mini-bf16 with vLLM:
Install from pip and serve model
# Install vLLM from pip: pip install vllm # Start the vLLM server: vllm serve "disinfozone/wekwos-2-mini-bf16" # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:8000/v1/chat/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "disinfozone/wekwos-2-mini-bf16", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }'Use Docker
docker model run hf.co/disinfozone/wekwos-2-mini-bf16
- SGLang
How to use disinfozone/wekwos-2-mini-bf16 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 "disinfozone/wekwos-2-mini-bf16" \ --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": "disinfozone/wekwos-2-mini-bf16", "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 "disinfozone/wekwos-2-mini-bf16" \ --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": "disinfozone/wekwos-2-mini-bf16", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }' - Docker Model Runner
How to use disinfozone/wekwos-2-mini-bf16 with Docker Model Runner:
docker model run hf.co/disinfozone/wekwos-2-mini-bf16
Wekwos-2-Mini (BF16)
The full-precision (BF16, 53.4 GB across 13 safetensors shards) merged checkpoint of disinfozone/wekwos-2-mini (Inkling2LoopForConditionalGeneration, 26.4B total / 3.4B active / 5.4B effective parameters, Apache 2.0). Read the main model card and wekwos.com/model for full benchmarks, verbatim examples, and system prompts.
This repo is for CUDA cluster serving (vLLM / SGLang), downstream quantizers (llama.cpp, MLX, FP8/AWQ/EXL), and researchers who want the exact unquantized BF16 weights.
What is merged here
- Base:
thinkingmachines/Inkling-2-Mini— all 48 routed MoE expert tensors (NVFP4 in layers 0–19, MXFP8 in layers 20–23) dequantized in FP32 to pure BF16, withhf_quant_config.jsonand quantization companion tensors removed. Vision tower, loop controllers, tokenizer, chat template, andmtp.safetensors(DSpark draft) are preserved intact. - + Merged LoRA (
disinfozone/wekwos-2-mini-lora): Rank 32, alpha 32, scale 1.0, all-linear (all 193 attention, routed MoE expertw1/w3/w2, andlm_headtargets), combining 3-epoch hybrid CoT SFT + two rounds of verifier-guided GRPO RL (88.2 strict / 90.5 lenient on the 607-item PIE Benchmark v2).
Serving tip
Wekwos-2-Mini was trained in hybrid thinking mode (70% morphological reasoning at thinking_effort=0.7, 30% direct at thinking_effort=0.0). Pass thinking_effort=0.7 (medium) via chat template kwargs for peak morphological accuracy, or 0.0 for direct replies.
Other formats & links
- Apple Silicon MLX (23.0 GB, 6-bit/8-bit): disinfozone/wekwos-2-mini
- GGUFs (
Q4_K_M,Q5_K_M,Q6_K,Q8_0+mmproj+ DSpark): disinfozone/wekwos-2-mini-GGUF - PEFT LoRA & merge scripts (1.48 GB): disinfozone/wekwos-2-mini-lora
- Training corpus: disinfozone/wekwos-corpus
- Held-out benchmark: davidtorcivia/wekwos-bench
- Project site: wekwos.com/model
- Downloads last month
- 32
