Archive | Language Models

mlm-llm-eval-metrics-made-easy

LLM Evaluation Metrics Made Easy

Metrics are a cornerstone element in evaluating any AI system, and in the case of large language models (LLMs), this is no exception. This article demystifies how some popular metrics for evaluating language tasks performed by LLMs work from inside, supported by Python code examples that illustrate how to leverage them with Hugging Face libraries […]

Continue Reading
mlm-5-language-model-concepts

6 Language Model Concepts Explained for Beginners

Understanding what’s happening behind large language models (LLMs) is essential in today’s machine learning landscape. These models shape everything from search engines to customer service, and knowing their basics can unlock a world of opportunities. This is why we are going to break down some of the most important concepts behind LLMs in a very […]

Continue Reading
mlm-classroom-teaching-machines

Natural Language Generation Inside Out: Teaching Machines to Write Like Humans

Natural language generation (NLG) is an enthralling area of artificial intelligence (AI), or more specifically of natural language processing (NLP), aimed at enabling machines to produce human-like text that drives human-machine communication for problem-solving. This article explores what NLG is, how it works, and how this area has evolved over recent years while underscoring its […]

Continue Reading
mlm-understanding-rag-2-how-works

Understanding RAG Part II: How Classic RAG Works

In the first post in this series, we introduced retrieval augmented generation (RAG), explaining that it became necessary to expand the capabilities of conventional large language models (LLMs). We also briefly outlining what is the key idea underpinning RAG: retrieving contextually relevant information from external knowledge bases to ensure that LLMs produce accurate and up-to-date […]

Continue Reading
mlm-understanding-rag-1-why-needed

Understanding RAG Part I: Why It’s Needed

Natural language processing (NLP) is an area of artificial intelligence (AI) aimed at teaching computers to understand written and verbal human language and interact with humans by using such a language. Whilst traditional NLP methods have been studied for decades, the recent emergence of large language models (LLMs) has virtually taken over all developments in […]

Continue Reading

Machine Learning Mastery is part of Guiding Tech Media, a leading digital media publisher focused on helping people figure out technology. Visit our corporate website to learn more about our mission and team.