Post

Instead of generating text token by token, "System 1" decision models (like Jev) act as fast, deterministic decision engines. In a single forward pass, they output calibrated probabilities. Here's how I turned DiffusionGemma into a multimodal visual classifier in Java! 🧵👇

What about images? DiffusionGemma includes a SigLIP vision tower. I turned vision back on in Cloud Run and sent a photo of my cat: 😺 Is it a cat? (99.99%) 👁️ Eye color: Blue (99.99%) ☁️ Fluffiness: Extra fluffy All three questions evaluated concurrently in just 129 ms! 🕑

Bringing it to #Java with @LangChain4j.dev: LangChain4j was adding StructuredDecisionModel for text. I proposed & implemented native multimodal support. In Java, pass ImageContent with typed Question models (Choice, Noul, Score) for clean, zero-shot visual classification!

0 reposts1 like