How to use from the
Use from the
Transformers library
# Use a pipeline as a high-level helper
from transformers import pipeline

pipe = pipeline("image-text-to-text", model="AXCXEPT/EZO2.5-gemma-3-12b-it-Preview")
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)
# pip install -U transformers accelerate
# Load model directly
from transformers import AutoProcessor, AutoModelForMultimodalLM

processor = AutoProcessor.from_pretrained("AXCXEPT/EZO2.5-gemma-3-12b-it-Preview")
model = AutoModelForMultimodalLM.from_pretrained("AXCXEPT/EZO2.5-gemma-3-12b-it-Preview", device_map="auto")
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=256)
print(processor.decode(outputs[0][inputs["input_ids"].shape[-1]:]))
Quick Links

AXCXEPT/EZO2.5-gemma-3-12b-it-Preview

image/png


Model Details

ๆ˜จไปŠ็™ปๅ ดใ—ใŸLLM่‡ช่บซใฎๅŠ›ใ‚’่‡ชๅŠ›ใงๅ‘ไธŠใ•ใ›ใ‚‹ใ€ŒGRPOใ€ใ‚„ใ€ŒPPOใ€ใฎๆฆ‚ๅฟตใ‚’ใ€ ๅผŠ็คพใง้–‹็™บใ—ใŸใ€ŒEZOใ€ใจใ„ใ†ใƒˆใƒฌใƒผใƒ‹ใƒณใ‚ฐๆ‰‹ๆณ•ใซใƒŸใƒƒใ‚ฏใ‚นใ™ใ‚‹ใ“ใจใงใ€ 3,000ไปถใฎใƒ‡ใƒผใ‚ฟใ‚ปใƒƒใƒˆใ€2ๆ™‚้–“ร—H200ร—8ๅฐใฎใƒˆใƒฌใƒผใƒ‹ใƒณใ‚ฐใงใ€Japanese MT BenchใŠใ‚ˆใณใ€Elyza Tasks100ใซใŠใ‘ใ‚‹ใƒ™ใƒผใ‚นใƒขใƒ‡ใƒซใฎๆ—ฅๆœฌ่ชžๆ€ง่ƒฝใ‚’ๅ‘ไธŠใ•ใ›ใ‚‹ใ“ใจใซๆˆๅŠŸใ—ใŸใƒขใƒ‡ใƒซใงใ™ใ€‚

ๆœฌใƒˆใƒฌใƒผใƒ‹ใƒณใ‚ฐๆ‰‹ๆณ•ใฏใ€ใพใ ็ ”็ฉถๆฎต้šŽใซใ‚ใ‚Šๆ‰‹ๆณ•ใฎ่‡ชๅ‹•ๅŒ–ใ‚„ใ€ใ‚ขใƒ–ใƒฌใƒผใ‚ทใƒงใƒณใŒๅฟ…่ฆใชใ‚นใƒ†ใƒผใ‚ฟใ‚นใงใฏใ‚ใ‚‹ใ‚‚ใฎใฎใ€่ค‡้›‘ใ‹ใค้žๅธธใซๆ™‚้–“ใŒใ‹ใ‹ใ‚‹GRPO/PPOใจใ„ใฃใŸๅผทๅŒ–ๅญฆ็ฟ’ๆ–นๆณ•ใ‚’ใ€ ไฝŽไบˆ็ฎ—ใงใ‚‚ๅฎŸ็พใงใใ‚‹ๅคงไฝ“ใฎๆ‰‹ๆฎตใจใชใ‚Šใˆใ‚‹ใจ่€ƒใˆใฆใ„ใพใ™ใ€‚

By integrating the recently introduced concepts of โ€œGRPOโ€ and โ€œPPOโ€ โ€” which enable LLMs to autonomously improve their own capabilities โ€” into our proprietary training method โ€œEZO,โ€ we successfully enhanced the Japanese performance of the base model on both Japanese MT Bench and Elyza Tasks100. This was achieved using only 3,000 training samples and two hours of training on 8 H200 GPUs. While this training method is still in the research phase and requires further automation and ablation studies, we believe it represents a viable alternative to complex and time-consuming reinforcement learning approaches like GRPO/PPO โ€” making it achievable even on a limited budget.

Bench Mark

image/png

ใ‚‚ใจใ‚‚ใจ้žๅธธใซ้ซ˜ใ„ๆ—ฅๆœฌ่ชžๆ€ง่ƒฝใ‚’็คบใ—ใฆใ„ใŸใ€google/gemma-3-12b-itใ‹ใ‚‰ใ€็Ÿญๆ™‚้–“ใฎใƒˆใƒฌใƒผใƒ‹ใƒณใ‚ฐใงๆ€ง่ƒฝๅ‘ไธŠใ‚’้”ๆˆใ€‚ 32B, 72Bใฎใƒขใƒ‡ใƒซใซใ‚‚ไธ€้ƒจ่‚‰่–„ใ—ใ€ใƒ™ใƒผใ‚นใƒขใƒ‡ใƒซใฎๆ€ง่ƒฝๅ‘ไธŠใซไผดใ„็‰นๅŒ–ๅž‹ใฎๆ€ง่ƒฝๅ‘ไธŠใŒๅฎŸ็พใงใใฆใ„ใ‚‹ใ€‚ โ€ปใŸใ ใ—ใ€ใƒ™ใƒณใƒใƒžใƒผใ‚ฏใใฎใ‚‚ใฎใฎๅคšๆง˜ๆ€งใŒไปŠๅพŒๅฟ…่ฆใจใชใ‚‹ใŸใ‚ใ€ไปŠๅพŒใฏใ€้ธๆŠž่‚ขใฎๅคšใ„่‹ฑ่ชžใงใฎๅฎŸๆ–ฝใ‚‚่กŒใ„ใ€ใƒˆใƒฌใƒผใƒ‹ใƒณใ‚ฐๆˆๆžœใฎๅฎŸ็”จๆ€งๅฎŸ่จผ็ ”็ฉถใ‚’่กŒใ†ไบˆๅฎšใงใ™ใ€‚


How to use

Runs on a single A40 GPU.

vllm serve AXCXEPT/EZO2.5-gemma-3-12b-it-Preview --max-model-len 32768 --enforce-eager
from openai import OpenAI
client = OpenAI(
    base_url="http://localhost:8000/v1",
    api_key="token-abc123",
)

prompt = """Every morning Aya goes for a $9$-kilometer-long walk and stops at a coffee shop afterwards. When she walks at a constant speed of $s$ kilometers per hour, the walk takes her 4 hours, including $t$ minutes spent in the coffee shop. When she walks $s+2$ kilometers per hour, the walk takes her 2 hours and 24 minutes, including $t$ minutes spent in the coffee shop. Suppose Aya walks at $s+rac{1}{2}$ kilometers per hour. Find the number of minutes the walk takes her, including the $t$ minutes spent in the coffee shop."""
completion = client.chat.completions.create(
  model="AXCXEPT/EZO2.5-gemma-3-12b-it-Preview",
  messages=[
    {"role": "user", "content": prompt}
  ],
  temperature=0.0,
  top_p=1.0,
  max_tokens: 20480
)

print(completion.choices[0].message)

ใƒ™ใƒณใƒใƒžใƒผใ‚ฏใ‚นใ‚ณใ‚ขใฏใ€temperature: 0.0ใ€top_p: 1.0ใ€"max_tokens": 20480ใงๆŽจ่ซ–ใ—ใŸ็ตๆžœใซๅŸบใฅใใพใ™ใ€‚Cons@64ใชใฉใฎใฐใ‚‰ใคใใซใ‚ˆใ‚‹่ฉ•ไพกใฏๆœชๅฎŸๆ–ฝใงใ™ใ€‚


License

ใ“ใฎใƒขใƒ‡ใƒซใฏ็ ”็ฉถใฎใŸใ‚ใซ้–‹็™บใ•ใ‚Œใฆใ„ใพใ™ใ€‚ๅˆฉ็”จใซ้š›ใ™ใ‚‹ไธ€ๅˆ‡ใฎๆๅฎณใซ้–ขใ—ใฆใ€ๅฝ“็คพใชใ‚‰ใณใซ้–‹็™บ่€…ใฏไธ€ๅˆ‡ๆŒใŸใชใ„ใ“ใจใ‚’็†่งฃใฎไธŠใ”ๆดป็”จใใ ใ•ใ„ใ€‚ Of course. Here's the English translation:


This model has been developed for research purposes. Please use it with the understanding that our company and the developers accept no responsibility for any damages resulting from its use.


Special Thanks

ๆœฌใƒขใƒ‡ใƒซใฎใƒ™ใƒผใ‚นใƒขใƒ‡ใƒซใฎ้–‹็™บใ‚’่กŒใฃใŸใ€Google็คพใชใ‚‰ใณใซๅŒ็คพใฎ้–‹็™บใƒใƒผใƒ ใซใ€ๅฐŠๆ•ฌใจๆ•ฌๆ„ใฎๅฟตใ‚’ใ“ใ“ใซ่กจใ—ใพใ™ใ€‚ We would like to express our sincere respect and appreciation to Google and its development team for creating the base model upon which this model is built.

Downloads last month
35
Safetensors
Model size
12B params
Tensor type
BF16
ยท
Inference Providers NEW
Input a message to start chatting with AXCXEPT/EZO2.5-gemma-3-12b-it-Preview.

Model tree for AXCXEPT/EZO2.5-gemma-3-12b-it-Preview

Finetuned
(424)
this model
Quantizations
3 models

Collection including AXCXEPT/EZO2.5-gemma-3-12b-it-Preview