from unsloth import FastVisionModelfrom transformers import AutoProcessorimport torch model, tokenizer = FastVisionModel.from_pretrained( "ertghiu256/Qwen3.5-2b-ReMix-Vision-GRPO", max_seq_length=1024, # 👈 stop from overthinking! load_in_4bit=False, fast_inference=False,) processor = AutoProcessor.from_pretrained("ertghiu256/Qwen3.5-2b-ReMix-Vision-GRPO") messages = [ { "role": "user", "content": [ {"type": "image"}, {"type": "text", "text": "What's the area? Also first provide your reasoning... and then your final answer between <answer> and (put a single float here) </answer>"} ] }] inputs = processor.apply_chat_template( messages, add_generation_prompt=True, tokenize=True, return_tensors="pt", return_dict=True,)inputs = {k: v.to(model.device) for k, v in inputs.items()} outputs = model.generate( **inputs, max_new_tokens=1024, temperature=0.4, top_k=30, repetition_penalty=1.1, do_sample=True,)response = processor.decode(outputs[0], skip_special_tokens=False)print(response)