← All models · IBM Granite 3.0 2B Instruct

use case · basics

Basics: a streaming chat

The fundamental move: you type, Granite answers, streaming token by token on your device. Transformers.js keeps the conversation on-device — nothing is uploaded. (First load transfers the weights, then it's cached.)

assistantLoad the model, then ask something.

← IBM Granite 3.0 2B Instruct · Next: Practical →