Skip to content
Project categories

AI & Machine Learning · GitHub

Explore AI assistants, agents, models, training and inference tools.

Useful GitHub projects

24,537 projects

turftopic

x-tabdeveloping

128stars
turftopic preview

Robust and fast topic models with sentence-transformers.

  • SOTA Transformer-based Topic Models - :compass: S³, :key: KeyNMF, :gem: GMM, 🗻 Topeax, 🌀 SensTopic, Clustering Models (BERTopic and Top2Vec), Autoencoding models (ZeroShotTM and CombinedTM), FASTopic
  • Models for all Scenarios - :chart_with_upwards_trend: Dynamic, :ocean: Online, :herb: Seeded, :evergreen_tree: Hierarchical, and :camera: Multimodal topic modeling

ntransformer

xaskasdf

468stars

High-efficiency LLM inference engine in C++/CUDA. Run Llama 70B on an RTX 3090.

  • Zero external dependencies beyond CUDA Toolkit (no PyTorch, no cuBLAS)
  • GGUF model format with Q4_0, Q8_0, Q4_K_M, Q5_K, Q6_K, F16, F32 quantization

python-toon

xaviviro

339stars

🐍 TOON for Python (Token-Oriented Object Notation) encoder/decoder. Reduce LLM token costs by 30–60% with structured data.

  • 30-60% token reduction compared to standard JSON on uniform data
  • Minimal syntax: Eliminates redundant punctuation (braces, brackets, most quotes)
230stars
RAG-query-rewriting preview

Large Language Models (LLMs) play powerful, black-box readers in the retrieve-then-read pipeline, making remarkable progress in knowledge-intensive tasks. This work introduces a new framework, Rewrite-Retrieve-Read instead of the previous retrieve-then-read for the retrieval-augmented LLMs from the perspective of the query rewriting. We first prompt an LLM to generate the query, then use a web search engine to retrieve contexts. Furthermore, to better align the query to the frozen modules, we propose a trainable scheme for our pipeline. A small language model is adopted as a trainable rewriter to cater to the black-box LLM reader. The rewriter is trained using the feedback of the LLM reader by reinforcement learning.