Instructions to use Jackrong/Qwopus3.6-35B-A3B-v1 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use Jackrong/Qwopus3.6-35B-A3B-v1 with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("image-text-to-text", model="Jackrong/Qwopus3.6-35B-A3B-v1") 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)# Load model directly from transformers import AutoProcessor, AutoModelForMultimodalLM processor = AutoProcessor.from_pretrained("Jackrong/Qwopus3.6-35B-A3B-v1") model = AutoModelForMultimodalLM.from_pretrained("Jackrong/Qwopus3.6-35B-A3B-v1") 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=40) print(processor.decode(outputs[0][inputs["input_ids"].shape[-1]:])) - Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- vLLM
How to use Jackrong/Qwopus3.6-35B-A3B-v1 with vLLM:
Install from pip and serve model
# Install vLLM from pip: pip install vllm # Start the vLLM server: vllm serve "Jackrong/Qwopus3.6-35B-A3B-v1" # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:8000/v1/chat/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "Jackrong/Qwopus3.6-35B-A3B-v1", "messages": [ { "role": "user", "content": [ { "type": "text", "text": "Describe this image in one sentence." }, { "type": "image_url", "image_url": { "url": "https://cdn.britannica.com/61/93061-050-99147DCE/Statue-of-Liberty-Island-New-York-Bay.jpg" } } ] } ] }'Use Docker
docker model run hf.co/Jackrong/Qwopus3.6-35B-A3B-v1
- SGLang
How to use Jackrong/Qwopus3.6-35B-A3B-v1 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 "Jackrong/Qwopus3.6-35B-A3B-v1" \ --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": "Jackrong/Qwopus3.6-35B-A3B-v1", "messages": [ { "role": "user", "content": [ { "type": "text", "text": "Describe this image in one sentence." }, { "type": "image_url", "image_url": { "url": "https://cdn.britannica.com/61/93061-050-99147DCE/Statue-of-Liberty-Island-New-York-Bay.jpg" } } ] } ] }'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 "Jackrong/Qwopus3.6-35B-A3B-v1" \ --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": "Jackrong/Qwopus3.6-35B-A3B-v1", "messages": [ { "role": "user", "content": [ { "type": "text", "text": "Describe this image in one sentence." }, { "type": "image_url", "image_url": { "url": "https://cdn.britannica.com/61/93061-050-99147DCE/Statue-of-Liberty-Island-New-York-Bay.jpg" } } ] } ] }' - Unsloth Studio
How to use Jackrong/Qwopus3.6-35B-A3B-v1 with Unsloth Studio:
Install Unsloth Studio (macOS, Linux, WSL)
curl -fsSL https://unsloth.ai/install.sh | sh # Run unsloth studio unsloth studio -H 0.0.0.0 -p 8888 # Then open http://localhost:8888 in your browser # Search for Jackrong/Qwopus3.6-35B-A3B-v1 to start chatting
Install Unsloth Studio (Windows)
irm https://unsloth.ai/install.ps1 | iex # Run unsloth studio unsloth studio -H 0.0.0.0 -p 8888 # Then open http://localhost:8888 in your browser # Search for Jackrong/Qwopus3.6-35B-A3B-v1 to start chatting
Using HuggingFace Spaces for Unsloth
# No setup required # Open https://huggingface.co/spaces/unsloth/studio in your browser # Search for Jackrong/Qwopus3.6-35B-A3B-v1 to start chatting
Load model with FastModel
pip install unsloth from unsloth import FastModel model, tokenizer = FastModel.from_pretrained( model_name="Jackrong/Qwopus3.6-35B-A3B-v1", max_seq_length=2048, ) - Docker Model Runner
How to use Jackrong/Qwopus3.6-35B-A3B-v1 with Docker Model Runner:
docker model run hf.co/Jackrong/Qwopus3.6-35B-A3B-v1
mlx_lm.convert tokenizer regex mismatch
mlx_lm.generate \
--model /Users/a1-6/models/Qwopus3.6-35B-A3B-v1-mlx \
--prompt "写个 Python 快排" \
--max-tokens 2560 --temp 0.6
[transformers] The tokenizer you are loading from '/Users/a1-6/models/Qwopus3.6-35B-A3B-v1-mlx' with an incorrect regex pattern: https://huggingface.co/mistralai/Mistral-Small-3.1-24B-Instruct-2503/discussions/84#69121093e8b480e709447d5e. This will lead to incorrect tokenization. You should set the `fix_mistral_regex=True` flag when loading this tokenizer to fix this issue.
==========
1. **理解用户需求**:用户想要一个 Python 实现的快速排序(Quick Sort)算法。
2. **快速排序的核心思想**:
* **分治法**:选出一个基准值(pivot)。
* **分区**:将数组分成两部分,一部分小于基准值,一部分大于基准值。
* **递归**:对这两个部分分别进行快速排序。
* **合并**:将 sorted 的两部分和基准值组合起来。
Note: I also converted the official Qwen/Qwen3.6-35B-A3B with the same mlx_lm.convert command, and that one works fine without any warning.
Questions:
What does this regex mismatch actually affect?
Which tokenizer version was used during training — HF broken or Mistral official?
Should I manually patch tokenizer.json, or leave it as-is?
Hi, thank you for your feedback. This warning mainly comes from the tokenizer check in transformers, and it affects how text is split into tokens. In the related official Mistral discussion, there is an example showing that the same string, "'The'", can be tokenized into different token ID sequences by the official Mistral tokenizer and the older HF tokenizer.
This model is a version that I fine-tuned from the base model using Unsloth. In principle, inference should use the tokenizer and chat template saved during fine-tuning, to avoid any mismatch between the tokenizer used during training and the one used during inference.
Therefore, my recommendation is not to manually modify the original tokenizer.json directly for now. If it is only a warning and the model output looks normal, it can be safely ignored for the time being.
Thank you for your support!