Views
No views yet
Note: Replace class names according to thetransformersversion you use. Here we assumeQwen3VLForConditionalGenerationandAutoProcessorare available (as in recent Qwen3-VL integrations).
1import torch
2from transformers import Qwen3VLForConditionalGeneration, AutoProcessor
3
4model_id = "OpenMOSE/Qwen3-VL-REAP-145B-A22B"
5
6processor = AutoProcessor.from_pretrained(model_id)
7model = Qwen3VLForConditionalGeneration.from_pretrained(
8 model_id,
9 torch_dtype=torch.bfloat16,
10 device_map="auto",
11)
12
13# Example: image + text prompt
14image = ... # PIL.Image or numpy array
15prompt = "Describe this image and summarize its key elements in one paragraph."
16
17inputs = processor(text=prompt, images=image, return_tensors="pt").to(model.device)
18with torch.no_grad():
19 generated = model.generate(
20 **inputs,
21 max_new_tokens=512,
22 )
23
24output_text = processor.batch_decode(generated, skip_special_tokens=True)[0]
25print(output_text)text= to the processor.OpenMOSE/reap-calib-mix (mostly generated by Qwen3-235B-Instruct)Let’s grow this model together as a community.
| Tasks |Version|Filter|n-shot|Metric| |Value | |Stderr|
|---------------------------------------|------:|------|-----:|------|---|-----:|---|-----:|
|mmlu | 2|none | |acc |↑ |0.8383|± |0.0030|
| - humanities | 2|none | |acc |↑ |0.7666|± |0.0059|
| - formal_logic | 1|none | 0|acc |↑ |0.7460|± |0.0389|
| - high_school_european_history | 1|none | 0|acc |↑ |0.8667|± |0.0265|
| - high_school_us_history | 1|none | 0|acc |↑ |0.9363|± |0.0171|
| - high_school_world_history | 1|none | 0|acc |↑ |0.9367|± |0.0158|
| - international_law | 1|none | 0|acc |↑ |0.9008|± |0.0273|
| - jurisprudence | 1|none | 0|acc |↑ |0.9167|± |0.0267|
| - logical_fallacies | 1|none | 0|acc |↑ |0.8528|± |0.0278|
| - moral_disputes | 1|none | 0|acc |↑ |0.8237|± |0.0205|
| - moral_scenarios | 1|none | 0|acc |↑ |0.7575|± |0.0143|
| - philosophy | 1|none | 0|acc |↑ |0.8424|± |0.0207|
| - prehistory | 1|none | 0|acc |↑ |0.9074|± |0.0161|
| - professional_law | 1|none | 0|acc |↑ |0.6128|± |0.0124|
| - world_religions | 1|none | 0|acc |↑ |0.8830|± |0.0246|
| - other | 2|none | |acc |↑ |0.8606|± |0.0059|
| - business_ethics | 1|none | 0|acc |↑ |0.8400|± |0.0368|
| - clinical_knowledge | 1|none | 0|acc |↑ |0.9019|± |0.0183|
| - college_medicine | 1|none | 0|acc |↑ |0.8728|± |0.0254|
| - global_facts | 1|none | 0|acc |↑ |0.5400|± |0.0501|
| - human_aging | 1|none | 0|acc |↑ |0.8296|± |0.0252|
| - management | 1|none | 0|acc |↑ |0.9126|± |0.0280|
| - marketing | 1|none | 0|acc |↑ |0.9573|± |0.0133|
| - medical_genetics | 1|none | 0|acc |↑ |0.9200|± |0.0273|
| - miscellaneous | 1|none | 0|acc |↑ |0.9004|± |0.0107|
| - nutrition | 1|none | 0|acc |↑ |0.9183|± |0.0157|
| - professional_accounting | 1|none | 0|acc |↑ |0.7766|± |0.0248|
| - professional_medicine | 1|none | 0|acc |↑ |0.9228|± |0.0162|
| - virology | 1|none | 0|acc |↑ |0.5723|± |0.0385|
| - social sciences | 2|none | |acc |↑ |0.9097|± |0.0051|
| - econometrics | 1|none | 0|acc |↑ |0.7632|± |0.0400|
| - high_school_geography | 1|none | 0|acc |↑ |0.9394|± |0.0170|
| - high_school_government_and_politics| 1|none | 0|acc |↑ |1.0000|± |0.0000|
| - high_school_macroeconomics | 1|none | 0|acc |↑ |0.9282|± |0.0131|
| - high_school_microeconomics | 1|none | 0|acc |↑ |0.9706|± |0.0110|
| - high_school_psychology | 1|none | 0|acc |↑ |0.9706|± |0.0072|
| - human_sexuality | 1|none | 0|acc |↑ |0.9160|± |0.0243|
| - professional_psychology | 1|none | 0|acc |↑ |0.8644|± |0.0139|
| - public_relations | 1|none | 0|acc |↑ |0.7545|± |0.0412|
| - security_studies | 1|none | 0|acc |↑ |0.8408|± |0.0234|
| - sociology | 1|none | 0|acc |↑ |0.9055|± |0.0207|
| - us_foreign_policy | 1|none | 0|acc |↑ |0.9100|± |0.0288|
| - stem | 2|none | |acc |↑ |0.8538|± |0.0061|
| - abstract_algebra | 1|none | 0|acc |↑ |0.7300|± |0.0446|
| - anatomy | 1|none | 0|acc |↑ |0.8000|± |0.0346|
| - astronomy | 1|none | 0|acc |↑ |0.9342|± |0.0202|
| - college_biology | 1|none | 0|acc |↑ |0.9583|± |0.0167|
| - college_chemistry | 1|none | 0|acc |↑ |0.6100|± |0.0490|
| - college_computer_science | 1|none | 0|acc |↑ |0.8500|± |0.0359|
| - college_mathematics | 1|none | 0|acc |↑ |0.6700|± |0.0473|
| - college_physics | 1|none | 0|acc |↑ |0.7843|± |0.0409|
| - computer_security | 1|none | 0|acc |↑ |0.8800|± |0.0327|
| - conceptual_physics | 1|none | 0|acc |↑ |0.9362|± |0.0160|
| - electrical_engineering | 1|none | 0|acc |↑ |0.8621|± |0.0287|
| - elementary_mathematics | 1|none | 0|acc |↑ |0.9153|± |0.0143|
| - high_school_biology | 1|none | 0|acc |↑ |0.9613|± |0.0110|
| - high_school_chemistry | 1|none | 0|acc |↑ |0.8374|± |0.0260|
| - high_school_computer_science | 1|none | 0|acc |↑ |0.9400|± |0.0239|
| - high_school_mathematics | 1|none | 0|acc |↑ |0.7704|± |0.0256|
| - high_school_physics | 1|none | 0|acc |↑ |0.8411|± |0.0299|
| - high_school_statistics | 1|none | 0|acc |↑ |0.8333|± |0.0254|
| - machine_learning | 1|none | 0|acc |↑ |0.7321|± |0.0420|
| Groups |Version|Filter|n-shot|Metric| |Value | |Stderr|
|------------------|------:|------|------|------|---|-----:|---|-----:|
|mmlu | 2|none | |acc |↑ |0.8383|± |0.0030|
| - humanities | 2|none | |acc |↑ |0.7666|± |0.0059|
| - other | 2|none | |acc |↑ |0.8606|± |0.0059|
| - social sciences| 2|none | |acc |↑ |0.9097|± |0.0051|
| - stem | 2|none | |acc |↑ |0.8538|± |0.0061|