Skip to main content

Posts

Featured

LLM Temperature Explained: How It Controls AI Output and Randomness

Note: This article has some prerequisites. I recommend reading my previous article on Tokens in LLMs first, as some terms used here may be confusing if you haven't learned them yet. I'm sharing the link below. Go through it and come back when you're done. We'll be waiting for you. 😊 What Are Tokens in LLMs? Complete Guide to Tokenization Temperature in LLMs: Complete Beginner's Guide Temperature is a setting used in Large Language Models (LLMs) that controls how strongly the model prefers the most likely next token when generating text. 1. What is Temperature? Temperature controls how strongly an LLM prefers the most likely next token. Low temperature: The model strongly prefers the most likely token. High temperature: The model gives less-likely tokens more opportunity to be selected. 2. How Does an LLM Choose a Token? Suppose we give the model: "The cat is" The model may calculate...

Latest posts

What Are Tokens in LLMs? Complete Guide to Tokenization

Large Language Models (LLMs): A Beginner's Guide

Searching for a software engineering job? Here's a strategy that has worked better for me than relying only on LinkedIn.

TypeScript Interview Questions and Answers

Understanding Memoization in react

Code Splitting

Will devin replace software engineers ?

Controller NestJs : The NestJs Journey with Shiv (Part-2)

Introduction of NestJs : The NestJs Journey with Shiv (Part-1)

How can we use multiple express session in NodeJS