Views
No views yet
Qwen/Qwen3.5-122B-A10B for zeromodels. One implementation runs unmodified on TensorFlow / Torch / JAX. Qwen3.5-MoE is a multimodal MoE VLM (Qwen3-Next hybrid text + a vision tower); weights are stored in bfloat16.1import os
2os.environ["KERAS_BACKEND"] = "torch" # or "jax" / "tensorflow"
3
4from PIL import Image
5from zeromodels.models.qwen3_5_moe import Qwen3_5MoeConditionalGenerate, Qwen3_5MoeProcessor
6
7model = Qwen3_5MoeConditionalGenerate.from_weights("zeromodels/qwen3.5-122b-a10b")
8processor = Qwen3_5MoeProcessor.from_weights("zeromodels/qwen3.5-122b-a10b")
9
10inputs = processor(conversation=[
11 {"role": "user", "content": [
12 {"type": "image", "image": Image.open("photo.jpg")},
13 {"type": "text", "text": "Describe this image in one sentence."},
14 ]}
15])
16outputs = model.generate(**inputs, max_new_tokens=64)
17print(processor.decode(outputs[0]))