xbe.at

Topics

LLMs and generative AI

Large language models, retrieval, agents, fine-tuning and prompting.

Page 4 of 6

  1. Rigorous Unit Testing for LLM Outputs with DeepEval7 min

    DeepEval is a Python framework designed specifically for rigorous testing of Large Language Model outputs. It extends traditional unit testing paradigms to...

  2. Roadmap for Developing a LLM from Harry Potter Books8 min

    We'll use the NLTK library to tokenize the text into words.

  3. Self-Harmonized Chain of Thought in Python7 min

    Self-Harmonized Chain of Thought (SH-CoT) is an advanced prompting technique that enhances language models' reasoning capabilities. It builds upon the Chain...

  4. Strategies for Mitigating AI Hallucinations8 min

    AI hallucinations are incorrect or nonsensical outputs generated by AI models.

  5. Structured Output in LLM Applications8 min

    Structured output in Large Language Model (LLM) applications refers to the process of generating organized, predictable responses that follow a specific...

  6. Summarizing Long Documents with Python and LLMs8 min

    Document summarization is a crucial task in natural language processing that involves condensing large texts into concise, informative summaries. With the...

  7. The Exponential Growth of Large Language Models12 min

    Neural network pruning aims to reduce model size by systematically removing weights based on their importance. The gradient-based approach evaluates each...

  8. Transformer Architecture for Efficient LLM Processing13 min

    The self-attention mechanism calculates attention scores between all pairs of input tokens, enabling the model to weigh the importance of different parts of...

  9. Transformers and Attention Mechanisms in Large Language Models9 min

    The attention mechanism enables neural networks to selectively focus on specific parts of the input sequence when generating output. This fundamental concept...

  10. Transforming Industries with Large Language Models6 min

    Evaluating Large Language Models (LLMs) is crucial for understanding their performance and capabilities. As LLMs become more prevalent in various industries...

  11. Understanding Encoders, Decoders, and Encoder-Decoder LLMs9 min

    Encoders, decoders, and encoder-decoder models are fundamental components in natural language processing and machine learning. These architectures form the...

  12. Understanding How LLMs Generate Text with Python11 min

    Large Language Models (LLMs) generate text by predicting the next token in a sequence. This process involves complex neural networks and probability...

  13. Understanding LLM Benchmarks with Python10 min

    Large Language Models (LLMs) have revolutionized natural language processing. To evaluate their performance, we use benchmarks.

  14. Understanding the Transformer Architecture of Large Language Models11 min

    The transformer architecture forms the backbone of modern LLMs, utilizing self-attention mechanisms to process sequential data. This implementation...

  15. Unlocking Efficiency in Machine Learning A Guide to MLflow and LLMs11 min

    MLflow is an open-source platform designed to manage the entire machine learning lifecycle, from experimentation to deployment. Large Language Models (LLMs)...

  16. 5 Chunking Strategies for Retrieval-Augmented Generation5 min

    Chunking is a crucial step in Retrieval-Augmented Generation (RAG) systems, where large documents are divided into smaller, manageable pieces. This process...

  17. 5 Text Chunking Strategies for RAG9 min

    This implementation demonstrates a basic fixed-size chunking strategy using character count. The chunk\text function splits documents into segments of...

  18. Accelerating RAG with Binary Quantization4 min

    Binary Quantization (BQ) is a technique used to compress high-dimensional vectors into compact binary representations. This process significantly reduces...

  19. Addressing LLM Limitations with RAG Document Q&A16 min

    Retrieval Augmented Generation (RAG) is a powerful technique that combines document retrieval with language model generation. The architecture consists of an...

  20. Agentic RAG Transforming Customer Support with Retrieval-Augmented Generation8 min

    The foundational architecture of Agentic RAG implements a dynamic agent system that coordinates between knowledge retrieval and response generation. This...

  21. Auto-Document Retrieval for Improved RAG Systems10 min

    Auto-Document Retrieval is an advanced technique that enhances Retrieval-Augmented Generation (RAG) systems. It autonomously selects and retrieves relevant...

  22. Chunking Strategies for Improved RAG Performance19 min

    Text chunking is a critical preprocessing step in RAG systems that involves breaking down large documents into smaller, meaningful segments. This process...

  23. Comparing RAG and Fine-Tuned Language Models15 min

    The fundamental architectural differences between RAG and fine-tuned models lie in how they process and generate responses. RAG systems employ a retrieval...

  24. Components of a RAG System6 min

    Retrieval-Augmented Generation (RAG) systems combine information retrieval with language generation to produce more accurate and contextually relevant...

  25. Deploying Private RAG APIs with LitServe11 min

    LitServe is a scalable, high-performance inference engine for AI models with a minimal interface. It enables the deployment of Retrieval-Augmented Generation...

  26. Dual Preference Alignment for Retrieval-Augmented Generation in Python11 min

    Dual Preference Alignment is a technique used in Retrieval-Augmented Generation (RAG) systems to improve the relevance and quality of generated content. It...

  27. EfficientRAG Supercharging Multi-Hop QA for LLMs12 min

    EfficientRAG is an advanced technique for enhancing multi-hop question answering (QA) in Large Language Models (LLMs) using Python. This method combines...

  28. End-to-End Retrieval-Augmented Generation (RAG) Application Using Haystack, Pinecone, and Mistral AI7 min

    End-to-End Retrieval-Augmented Generation (RAG) is an advanced natural language processing technique that combines the power of large language models with...

  29. Enhancing LLM Context with Recursive Summarization Using Python6 min

    Large Language Models (LLMs) have limited context windows. Recursive summarization is a technique to extend this context by iteratively condensing...

  30. Enhancing RAG Pipelines Key Techniques Using Python11 min

    Retrieval-Augmented Generation (RAG) pipelines are crucial in modern natural language processing. These methods aim to enhance the accuracy and relevance of...