Tagged "LLM"

The Importance of Precise Function Declarations for LLMs

This article explores how clearly defined functions enable large language models to make accurate tool calls, emphasising the importance of precision and developer intent in the function calling process.

Consuming Streamed LLM Responses on the Frontend: A Deep Dive into SSE and Fetch

Learn how to build a responsive, real-time user experience by consuming streamed Large Language Model responses on your frontend. This article provides a comprehensive guide to using both Server-Sent Events (SSE) and the Fetch API with Readable Streams, complete with code examples and a detailed comparison.

Filling in the Blanks: Teaching AI to Inpaint

A hands-on guide for exploring how to train a simple AI model using TensorFlow.js to inpaint missing parts of images - without needing large datasets or prior machine learning experience.

How Transformers and LLMs Actually Work - A Developer's Guide with Code

A hands-on walkthrough for web developers to demystify large language models by actually building a mini Transformer from scratch.