Views
No views yet
Qwen/Qwen3-VL-30B-A3B-Thinking for zeromodels. One implementation runs unmodified on TensorFlow / Torch / JAX. Qwen3-VL-MoE is Qwen3-VL with a Mixture-of-Experts text decoder; weights are stored in bfloat16.1import os
2os.environ["KERAS_BACKEND"] = "torch" # or "jax" / "tensorflow"
3
4from zeromodels.models.qwen3_vl_moe import Qwen3VLMoeTextGenerate, Qwen3VLMoeProcessor
5
6model = Qwen3VLMoeTextGenerate.from_weights("zeromodels/qwen3-vl-30b-a3b-thinking")
7processor = Qwen3VLMoeProcessor.from_weights("zeromodels/qwen3-vl-30b-a3b-thinking")
8
9inputs = processor(conversation=[
10 {"role": "user", "content": [{"type": "text", "text": "Hello, who are you?"}]}
11])
12outputs = model.generate(**inputs, max_new_tokens=64)
13print(processor.decode(outputs[0]))1import os
2os.environ["KERAS_BACKEND"] = "torch" # or "jax" / "tensorflow"
3
4from PIL import Image
5from zeromodels.models.qwen3_vl_moe import Qwen3VLMoeConditionalGenerate, Qwen3VLMoeProcessor
6
7model = Qwen3VLMoeConditionalGenerate.from_weights("zeromodels/qwen3-vl-30b-a3b-thinking")
8processor = Qwen3VLMoeProcessor.from_weights("zeromodels/qwen3-vl-30b-a3b-thinking")
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]))