xbe.at

Topics / LLMs and generative AI

LLM architecture and theory

45 notes.

  1. Accelerated Generation Techniques in Large Language Models5 min

    Accelerated generation techniques refer to methods that enable Large Language Models (LLMs) to generate text more efficiently and with improved performance....

  2. Addressing Hallucinations in Large Language Models16 min

    Neural networks often exhibit intrinsic hallucinations due to knowledge gaps in their training data. We can simulate this behavior by creating a simplified...

  3. Automatic Domain Adaptation with Transformers for In-Context Learning Using Python10 min

    Introduction to Automatic Domain Adaptation by Transformers in In-Context Learning

  4. Chain-of-Thought Prompting for Reasoning in Large Language Models8 min

    Chain-of-Thought (CoT) prompting is a technique used to enhance the reasoning capabilities of large language models. It involves prompting the model to...

  5. Comparing Dense, Sparse, and Mixture of Experts for LLMs12 min

    Dense, sparse, and mixture of experts are different architectures used in Large Language Models (LLMs). Each has its own strengths and use cases. This...

  6. Detecting Hallucinations in Language Models Using Semantic Entropy7 min

    Semantic entropy provides a novel approach to identifying hallucinations in large language models. This technique analyzes the semantic coherence and...

  7. Enhancing LLMs with Graph Reasoning8 min

    Graph Reasoning with LLMs (GReaL) is an innovative approach to enhance the capabilities of Large Language Models (LLMs) by leveraging graph structures. This...

  8. Enhancing Open Source LLMs with Attached Heads11 min

    Attaching heads to open source Large Language Models (LLMs) is a powerful technique for enhancing their capabilities. This process involves adding...

  9. Evaluating Large Language Models 30 Common Metrics12 min

    Large Language Models (LLMs) have revolutionized natural language processing tasks. To assess their performance, researchers and practitioners use various...

  10. Evaluating the Performance of Large Language Models7 min

    Large Language Models (LLMs) have revolutionized various industries with their ability to generate human-like text. As these models become increasingly...

  11. Exploring Encoder-Decoder LLMs for Instruction Tasks10 min

    Encoder-decoder architectures are indeed used in large language models (LLMs) for instruction tasks. This misconception likely stems from the prominence of...

  12. Exposing LLM Application Vulnerabilities with Python9 min

    Large Language Models (LLMs) have revolutionized natural language processing, but they also introduce new security challenges. This presentation explores...

  13. Few-Shot Learning with Python10 min

    Few-Shot Learning is a machine learning paradigm where models are trained to recognize new classes or perform new tasks with only a small number of labeled...

  14. Few-Shot Prompting in Generative AI with Python11 min

    Few-Shot Prompting is a technique in generative AI where a model is given a small number of examples to learn from before generating new content. This...

  15. Foundation Model Notes for AI and Machine Learning Using Python10 min

    Foundation models, also known as large language models or pre-trained models, are powerful AI systems trained on vast amounts of data to learn patterns and...

  16. Geometric Reasoning in Large Language Models10 min

    Geometric reasoning is a fundamental aspect of human cognition that involves understanding and manipulating spatial relationships. Large Language Models...

  17. Geometry of Concepts in Large Language Models11 min

    Large Language Models (LLMs) have revolutionized natural language processing. Understanding the geometry of concepts within these models provides insights...

  18. Hallucination in Language Models Critical Considerations7 min

    Hallucination in language models refers to the phenomenon where the model generates false or nonsensical information that appears plausible but is not...

  19. Impact of Format Restrictions on LLM Performance7 min

    Format restrictions in Large Language Models (LLMs) refer to constraints placed on the input or output of these models. These constraints can significantly...

  20. Improving Attention in Large Language Models with DIFFTransformer8 min

    The DIFFTransformer architecture introduces a novel differential attention mechanism that operates by computing two distinct attention distributions. This...

  21. Improving Long Context LLMs with Writing in the Margins11 min

    Writing in the Margins (WiM) is an innovative inference pattern designed to address the Lost-in-the-Middle problem in long context Language Models (LLMs)....

  22. Introduction to Large Language Models12 min

    Tokenization is the fundamental process of converting raw text into numerical tokens that language models can process. This implementation demonstrates a...

  23. Knowledge Graphs as Powerful Evaluation Tools for LLM11 min

    Knowledge graphs are powerful tools for organizing and representing complex information. When combined with Large Language Models (LLMs), they can...

  24. Large Language Models for Information Retrieval with Python5 min

    Large Language Models (LLMs) have revolutionized the field of natural language processing, enabling powerful text generation and understanding capabilities....

  25. LLM Initialization Techniques in Python4 min

    LLM initialization refers to the process of setting initial values for the model's parameters before training. Proper initialization is crucial for efficient...

  26. LLMs as Inductive Reasoning Champions11 min

    Large Language Models (LLMs) have revolutionized natural language processing, demonstrating remarkable capabilities in various tasks. Recent studies suggest...

  27. Many-Shot vs Few-Shot In-Context Learning with Python9 min

    In-context learning (ICL) is a crucial aspect of Large Language Models (LLMs). This presentation explores the differences between many-shot and few-shot ICL...

  28. Masked Grouped Causal Tracing in LLMs with Python10 min

    Masked Grouped Causal Tracing (MGCT) is an advanced technique for analyzing and interpreting the internal mechanisms of Large Language Models (LLMs). This...

  29. mPLUG-Owl3 AI Vision and Understanding10 min

    mPLUG-Owl3 represents a significant advancement in AI's ability to comprehend visual information. This model extends beyond simple image recognition, aiming...

  30. Positional Encodings in Transformer LLMs15 min

    Positional encodings form the backbone of modern transformer architectures, enabling models to understand sequential information. They inject...