Skip to main content

Tag

LLM

5 articles tagged with LLM.

  1. Detecting Hallucinations in Language Models with Natural Language Inference

    A practical look at why hallucinations occur in modern language models, why current evaluation methods make them persist, and how to detect them using Natural Language Inference in JavaScript.

  2. 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.

  3. 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.

  4. 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.

  5. 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.