Technically
AI Reference
Your dictionary for AI terms like LLM and RLHF
Company Breakdowns
What technical products actually do and why the companies that make them are valuable
Learning Tracks
In-depth, networked guides to learning specific concepts
Posts Archive
All Technically posts on software concepts since the dawn of time
Terms Universe
The dictionary of software terms you've always wanted

Explore learning tracks

AI, it's not that ComplicatedAnalyzing Software CompaniesBuilding Software ProductsWorking with Data Teams
Loading...
I'm feeling luckyPricing
Log In
← Back to Universe

Loss Function

aiadvanced

When training a machine learning model, a loss function is something you design that tells the model when its answers are right and when they're wrong. There are a bunch of different types, some catered to specific ML tasks like image classification (whether a plant has a bug on it or not) or regression (predicting a stock price), or predicting the next word in a sentence for an LLM.

As a model is trained, it predicts an answer to a question. If it's right, it gets a point. If it's wrong, it loses a point. After enough of these iterations, it starts to learn how to predict the correct answer.

There are lots of different types of loss functions, but behind the scenes, they're just telling your model "good job" or "try again." This is why it's so important, when training an ML or AI model, to have nicely curated, labeled data with a clear right and wrong answer.

Loss Function

Read the full post ↗

How do you train an AI model?

A deep dive into how models like ChatGPT get built.

Read in the Knowledge Base →

Mentioned in

What is Machine Learning?Paid Plan

How computers learn patterns from data: the foundation for everything from stock price prediction to ChatGPT.

Foundationalai
How do you train an AI model?Paid Plan

A deep dive into how models like ChatGPT get built.

Appliedai

Related terms

ChatGPT

LLM

Machine Learning

Post-training

Pre-training

Training

Impress your agents

70K+ PMs, engineers, investors, and operators read to Technically to expand their prompting vocabulary.

Content
  • All Posts
  • Learning Tracks
  • AI Reference
  • Companies
  • Terms Universe
Company
  • Pricing
  • Sponsorships
  • Contact
Connect
SubscribeSubstackYouTubeXLinkedIn
Legal
  • Privacy Policy
  • Terms of Service

© 2026 Technically.