Transformers.js articles
2 articles about Transformers.js, newest first.
- Structured Output for Browser LLMs with Transformers.js 4.3 — Learn how Transformers.js 4.3 uses the new structured-output package to enforce JSON Schema and regex constraints on LLM token generation in the browser.
- How LLMs Actually Generate Text: The Step-by-Step Loop Behind AI Chat — Discover the inner loop that powers LLM text generation, from token prediction to sampling, and see how Transformers.js brings it to life in the browser.