xbe.at Work with me

Search

185 notes match RAG.

  1. Hybrid Vector Search with LangChain in Python10 min

    Hybrid Vector Search combines traditional keyword-based search with modern vector-based similarity search. This approach leverages the strengths of both...

    LLMs and generative AI, RAG and retrieval
  2. Process for Retrieval-Augmented Generation In Python5 min

    The first step in the RAG process involves gathering diverse data from various sources such as web scraping, APIs, and internal databases. This step ensures...

    LLMs and generative AI, RAG and retrieval
  3. Re-ranking in Retrieval-Augmented Generation8 min

    BM25 serves as a foundational retrieval algorithm in RAG systems, implementing a probabilistic scoring function that ranks documents based on query term...

    LLMs and generative AI, RAG and retrieval
  4. Retrieval-Augmented Generation Python Practical Examples10 min

    Retrieval-Augmented Generation (RAG) combines traditional language models with an external knowledge base to generate more accurate and factual responses....

    LLMs and generative AI, RAG and retrieval
  5. Unveiling Inconsistencies in Retrieval-Augmented Language Models with EoR Using Python9 min

    Retrieval-Augmented Language Models (RALMs) combine the power of large language models with external knowledge retrieval. This approach allows models to...

    LLMs and generative AI, RAG and retrieval
  6. Optimizing LLM Inference Costs with Mixed GPU Types9 min

    Mixed GPU inference is a technique to optimize LLM (Large Language Model) inference costs by utilizing different types of GPUs. This approach leverages the...

    LLMs and generative AI, Vector databases and embeddings
  7. Quantization for Efficient Large Language Models10 min

    Quantization is a technique that reduces the precision of model weights and activations, allowing for more efficient storage and computation of Large...

    LLMs and generative AI, Vector databases and embeddings
  8. Understanding Vector Databases Fundamentals and Applications14 min

    Vector databases operate on the principle of vector spaces where data points are represented as high-dimensional vectors. Understanding the mathematical...

    LLMs and generative AI, Vector databases and embeddings
  9. Generating Structured Outputs with Language Models Using Python7 min

    Structured LLM outputs allow us to generate specific formats of text from language models, making it easier to parse and use the results in various...

    NLP and transformers, BERT and language models
  10. Optimizing Language Model Prompts8 min

    Neural networks form the backbone of modern language models, requiring careful optimization across multiple dimensions including architecture, training data...

    NLP and transformers, BERT and language models
  11. Gaussian Filters for Smoothing Time Series Data6 min

    The Gaussian filter is a fundamental smoothing technique that applies a weighted average using the normal distribution. It's particularly effective for...

    Statistics and maths, Probability and distributions
  12. Smoothing Time Series Data with Gaussian Filters6 min

    The Gaussian filter is a crucial tool in time series analysis that applies a weighted moving average using the normal distribution. It effectively reduces...

    Statistics and maths, Probability and distributions
  13. Confidence Interval Explained with Python10 min

    Confidence intervals provide a range of values that likely contain the true population parameter. They are crucial in statistical inference, helping us...

    Statistics and maths, Statistical inference
  14. Confidence Intervals Explained with Python11 min

    Confidence intervals are a fundamental concept in statistics that provide a range of plausible values for an unknown population parameter. They help us...

    Statistics and maths, Statistical inference
  15. Introduction to Statistics with Python3 min

    Statistics is the science of collecting, organizing, and analyzing data to make informed decisions. Python makes it easy to perform statistical analysis.

    Statistics and maths, Statistical inference
  16. Marginal Likelihoods and Bayes Factors for Bayesian Model Comparison8 min

    The marginal likelihood represents the probability of observing data under a specific model by integrating over all possible parameter values. This...

    Statistics and maths, Statistical inference
  17. Statistics and Quality Control for Intelligent STEM Systems10 min

    Statistics and quality control play crucial roles in STEM projects, particularly when developing intelligent systems. These methodologies help ensure...

    Statistics and maths, Statistical inference
  18. Aggregation of Reasoning in Python4 min

    Aggregation of Reasoning is a technique used in artificial intelligence and decision-making systems to combine multiple sources of information or reasoning...

    Statistics and maths, Time series and stochastic
  19. 10 Powerful Python One-Liners for Data Science10 min

    Data scientists frequently encounter missing values in datasets. This one-liner leverages pandas' powerful methods to identify, visualize and handle null...

    Data science
  20. Accelerate Pandas with Parallel Processing8 min

    Parallel processing in Pandas leverages multiple CPU cores to significantly accelerate data operations. The pandarallel library seamlessly integrates with...

    Data science
  21. Matrices in Data Science Organizing and Analyzing Large Datasets8 min

    Matrices are the fundamental data structure of modern data science, serving as the bridge between raw, unstructured information and computational efficiency....

    Data science
  22. Polars vs Pandas Memory Efficiency and Performance Advantages7 min

    Polars leverages Apache Arrow's columnar memory format, enabling zero-copy operations and minimizing memory overhead during data processing. This fundamental...

    Data science
  23. Python User-Defined Aggregate Functions (UDAFs) for Data Analysis8 min

    User-Defined Aggregate Functions (UDAFs) in Python allow developers to create custom functions that summarize data according to specific needs. These...

    Data science
  24. The Psychology of Effective Data Visualization8 min

    Data visualization leverages our innate pattern recognition abilities to convey information more effectively than raw numbers.

    Data visualisation
  25. Deep Extrinsic Manifold Representation for Computer Vision11 min

    Deep Extrinsic Manifold Representation is a novel approach in computer vision that leverages the power of deep learning to capture and represent complex...

    Computer vision
  26. Explaining the Purpose of MaxPooling in Convolutional Neural Networks8 min

    MaxPooling is a fundamental downsampling operation in Convolutional Neural Networks (CNNs) that reduces the spatial dimensions of feature maps while...

    Computer vision
  27. ImageNet Classification with Deep Convolutional Neural Networks in Python10 min

    ImageNet classification is a fundamental task in computer vision that involves categorizing images into predefined classes. Deep Convolutional Neural...

    Computer vision
  28. Implementing CNN Image Classification with PyTorch10 min

    Tutorial: Convolutional Neural Networks (CNNs) represent a fundamental shift in how computers interpret visual data. Unlike traditional algorithms that rely...

    Computer vision
  29. Padding Strides and Pooling in Convolutional Neural Networks11 min

    Tutorial: Convolutional Neural Networks (CNNs) rely on a set of geometric operations to transform raw pixel data into hierarchical feature representations....

    Computer vision
  30. Pooling in Convolutional Neural Networks with Python8 min

    Pooling is a crucial operation in Convolutional Neural Networks (CNNs) that reduces the spatial dimensions of feature maps while retaining important...

    Computer vision