Skip to content

RheagalFire/LLM-gym

Repository files navigation

LLM-gym

Understanding Math Behind large Language Models

RAG Papers/Implementations

  • Speculative RAG : Use Generalist RAG to rank multiple Answer Drafts from Specialist RAG!
  • Corrective RAG : Lookahead , decide whether correct or not , then rewrite the query if not correct!
  • Hyde Query Rewritting : Generate a hypothetical Document from the Query and search against that in the vector space!
  • Late Chunking Blog: Late chunking the sweet spot between naive chunking retrieval and late interaction based retrieval!
  • Contextual Rag : While Indexing Ask LLM to contextualize the chunk and then index it!
  • Retrieval via Late Interaction Models : Colipali and How it used Bag of Words for Document Similarity
  • Query Routing : A Set-Fit Based approach for query routing.

Some Essential Deployment Tools

About Vector Databases and Search Algorithms

  • HNSW Algorithm : It shows the intution behind how the HNSW algorithm works.

AI Safety and Harms

Agents & Systems

Benchmarks