Project directory

Projects

Open-source AI projects tracked by the leaderboard, ordered by GitHub stars.

Python 5 stars

Amir-Mohseni/Whisper-Persian

A short repo for fine-tuning whisper on transcription tasks in different languages. With guides on quantizing and inferencing the model using gradio.

Overview: This repository provides a comprehensive guide for fine-tuning and deploying a Whisper model for Persian speech recognition. It includes detailed instructions on training the model, quantizing it for efficient local inference, and deploying it using Gradio. Key features: - Fine-tuning Whisper model on the FLEURS Farsi dataset - Quantizing the model for improved performance and reduced memory usage - Deploying the model using Gradio for easy access and integration Tech stack: Python Why it matters: This repository offers a practical solution for developers looking to enhance their speech recognition capabilities in Persian, making it accessible for local deployment and integration with other applications.
Unknown 5 stars

Anil-matcha/LoRA-Trainer-API

Compare Muapi LoRA trainer APIs with runnable examples

### Overview: This repository provides a comprehensive guide for developers to train image-generation LoRA adapters using Muapi's unified API. It offers practical examples and documentation for choosing a trainer, preparing datasets, submitting training jobs, and polling results. The repository includes comparisons between different trainers and detailed notes on dataset preparation, trigger words, and training parameters. ### Key Features: - **Trainer Comparison**: A table comparing various LoRA trainers, including FLUX, Qwen-Image, and Z-Image. - **Dataset Preparation**: Instructions on how to prepare datasets for training. - **Training Parameters**: Detailed notes on how to configure training steps, learning rates, LoRA ranks, and trigger words. - **API Examples**: Practical examples using `curl` and Python to submit training jobs and poll results. - **Pricing and Availability**: Information on pricing and availability, with the source of truth being the live Muapi page. ### Tech Stack: The repository uses Python and `curl` for its examples and documentation. ### Why it Matters: This repository is essential for developers looking to integrate image-generation LoRA adapters into their projects, providing a clear and practical guide through the training process.
Jupyter Notebook 5 stars

Arjun-08/Sequence-to-sequence-networks-for-multi-text-document-summarization

This repository explores the use of advanced sequence-to-sequence networks and transformer models, such as BERT, BART, PEGASUS, and T5, for summarizing multi-text documents in the medical domain. It leverages extensive datasets like CORD-19 and a Biomedical Abstracts dataset from Hugging Face to fine-tune these models.

Overview: This project explores the application of advanced sequence-to-sequence networks and transformer models, such as BART, BERT, PEGASUS, and T5, for summarizing multi-text documents in the medical domain. It leverages extensive datasets like CORD-19 and a Biomedical Abstracts dataset from Hugging Face to fine-tune these models. Key features: - Fine-tuning of transformer models on biomedical datasets - Evaluation using ROUGE metrics - Implementation of BART, BERT, PEGASUS, and T5 models Tech stack: Jupyter Notebook Why it matters: This project showcases the potential of transformer models in efficiently summarizing medical literature, which is crucial for healthcare professionals, researchers, and policymakers dealing with the exponential growth of medical research articles. GitHub stars: 5 Repository: Arjun-08/Sequence-to-sequence-networks-for-multi-text-document-summarization
Jupyter Notebook 5 stars

Assaoka/Guide-to-Advanced-LLM-Techniques

Este repositório é um tutorial completo e prático que explora metodologias avançadas para a classificação de sentimentos e emoções em textos, utilizando Modelos de Linguagem de Grande Porte (LLMs). O projeto foi desenvolvido para ser acessível, com todos os exemplos executáveis em ambientes gratuitos como o Google Colab.

### Overview: Este repositório é um tutorial completo e prático que explora metodologias avançadas para a classificação de sentimentos e emoções em textos, utilizando Modelos de Linguagem de Grande Porte (LLMs). O projeto foi desenvolvido para ser acessível, com todos os exemplos executáveis em ambientes gratuitos como o Google Colab. ### Key features: - Implementação de Engenharia de Prompt (Zero-Shot, Few-Shot, Chain-of-Thought) - Fine-Tuning eficiente com QLoRA - Destilação de Conhecimento para criar modelos menores - Ensembles de LLMs: Votação Majoritária e Negociação entre modelos ### Tech stack: Jupyter Notebook ### Why it matters: Este guia oferece uma visão clara e progressiva sobre técnicas avançadas para classificação de sentimentos em textos, utilizando Modelos de Linguagem de Grande Porte (LLMs). O uso de exemplos executáveis no Google Colab torna o conteúdo acessível e fácil de implementar em projetos reais.
Python 5 stars

BennedictQuanTon/LLM-Safety-Fine-Tuning

QLoRA fine-tuning of Qwen2.5-3B for prompt-injection robustness, grounded answering and strict JSON, plus a jailbreak classifier ensemble (DeBERTa-v3 + Qwen QLoRA, 0.991 hold-out ROC-AUC). Runs entirely on free Kaggle T4 GPUs, with training-health diagnostics and run benchmarking.

### Overview: This project focuses on fine-tuning a small instruction-tuned LLM (Qwen2.5-3B) using QLoRA for robustness against prompt injection and jailbreaks, while ensuring grounded answering and strict JSON formatting. The pipeline is designed to run efficiently on free Kaggle T4 GPUs, with built-in diagnostics and benchmarking capabilities. ### Key features: - **Prompt Injection Robustness**: Improves instruction following and output formatting. - **Jailbreak Classifiers**: Detects and mitigates prompt injection and jailbreaks. - **Grounded Answering**: Ensures answers are only based on the provided context. - **Training on Free GPUs**: Runs entirely on free Kaggle T4 GPUs, with diagnostics and benchmarking. ### Tech stack: Python ### Why it matters: This project is crucial for enhancing the safety and robustness of language models, particularly in applications where security and accuracy are paramount. The use of QLoRA fine-tuning ensures that the model remains adaptable and reliable, even under adversarial conditions, thereby improving overall user trust and satisfaction. ### Repository: - **Repository**: BennedictQuanTon/LLM-Safety-Fine-Tuning - **Stars**: 5 - **Description**: A reproducible, notebook-based pipeline for parameter-efficient supervised fine-tuning of small instruction-tuned LLMs on a single free GPU (Kaggle Tesla T4, 16 GB), with built-in training-health diagnostics and multi-run benchmarking.
Python 5 stars

Cabbagito/Fine-Tuning-Whisper-on-LibriSpeech

The code for fine-tuning OpenAI's Whisper model on the LibriSpeech dataset.

Overview: This project fine-tunes OpenAI's Whisper model on the LibriSpeech dataset, enabling improved speech recognition capabilities. Key features: - Fine-tuning of Whisper model - LibriSpeech dataset integration - Improved speech recognition accuracy Tech stack: Python Why it matters: This project enhances the performance of speech recognition systems, particularly in noisy environments, by leveraging the expertise of OpenAI and the comprehensive dataset of LibriSpeech.
Jupyter Notebook 5 stars

DrRuin/Lightweight-Fine-Tuning

Lightweight fine-tuning is one of the most important techniques for adapting foundation models, because it allows you to modify foundation models for your needs without needing substantial computational resources.

Overview: This project explores the technique of lightweight fine-tuning, which is crucial for modifying foundation models without requiring significant computational resources. Key features: - Fine-tuning models - Parameter-efficient fine-tuning - Inference using a fine-tuned model Tech stack: Jupyter Notebook Why it matters: Lightweight fine-tuning is essential for adapting foundation models to specific needs without demanding substantial computational resources, making it a valuable technique for developers and researchers.
Python 5 stars

EternalmBlue/DomainPostTrain

Domain-neutral LLM post-training pipeline for CPT, Fact-SFT, optional DPO, adapter merge, quality evaluation, GGUF/ONNX export, and OpenAI-compatible inference.

Overview: DomainPostTrain is a sample pipeline for domain-neutral LLM post-training, featuring CPT, Fact-SFT, DPO, GRPO, adapter merge, quality evaluation, GGUF/ONNX export, and OpenAI-compatible inference. Key features: - CPT document discovery and safety pre-check - Static mock CPT/SFT/DPO/GRPO/eval data - PEFT LoRA/QLoRA domain continuation training - Fact-SFT assistant-only loss - DPO preference training default enabled but optional - GRPO reward optimization default enabled but optional - Adapter merge, post-training quality evaluation, single inference, OpenAI-compatible Flask inference service - GGUF/ONNX export from merged model Tech stack: Python Why it matters: This pipeline is useful for developers looking to streamline the post-training process for LLMs, ensuring consistency and quality in the final model. Repository: EternalmBlue/DomainPostTrain GitHub stars: 5 GitHub description: Domain-neutral LLM post-training pipeline for CPT, Fact-SFT, optional DPO, adapter merge, quality evaluation, GGUF/ONNX export, and OpenAI-compatible inference.
Python 5 stars

F4biian/RAGognizer

Official Repo of the Paper "Hallucination-Aware Fine-Tuning via Detection Head Integration"

### Overview: RAGognizer is an official repository for the paper "Hallucination-Aware Fine-Tuning via Detection Head Integration". It provides a clean, minimal setup for token-level hallucination detection and hallucination-aware fine-tuning. The project is designed to be accessible to researchers, builders, and curious users. ### Key Features: - Token-level hallucination detection - Hallucination-aware fine-tuning integration - A dataset of naturally occurring closed-domain hallucinations with token-level annotations - Models for fine-tuning and inference - Dataset pipeline for generating data - Fine-tuning capabilities - Generation and inference tools ### Tech Stack: Python ### Why it Matters: RAGognizer offers a practical solution for researchers and practitioners looking to enhance the quality and reliability of language models by addressing hallucination issues through integrated detection and fine-tuning. The project's emphasis on token-level detection and its integration with LLMs makes it a valuable resource for improving the output of large language models. ### Repository: F4biian/RAGognizer ### GitHub Stars: 5 ### GitHub Description: Official Repo of the Paper "Hallucination-Aware Fine-Tuning via Detection Head Integration" ### Primary Language: Python ### GitHub Description: Official Repo of the Paper "Hallucination-Aware Fine-Tuning via Detection Head Integration" ### Quick Links: - 🍃 Browser Demo: [Space: F4biian/RAGognizer](https://huggingface.co/spaces/F4biian/RAGognizer) - 🚀 Try it
TypeScript 5 stars

FrameSphere/FrameTrain-App

App repo for FrameTrain desktop

Overview: FrameTrain is a desktop application designed for local AI model training and fine-tuning. It allows users to train and fine-tune large language models without needing a cloud service, using either Hugging Face models or local ones. The app features a visual neural network builder, dataset management, live training monitoring, and automatic model versioning. Key features: - Local AI model training and fine-tuning - LoRA and QLoRA fine-tuning of large language models - PyTorch-based training with GPU acceleration (NVIDIA CUDA and Apple Silicon / Metal MPS) - Visual neural-network builder - Dataset import and management - Live training monitoring and AI training analysis - Automatic model versioning and comparison Tech stack: Tauri 2 (Rust) for the desktop app, React 18, TypeScript, Vite, Tailwind CSS for the frontend, React Flow for the visual builder, PyTorch, Hugging Face, PEFT/LoRA, QLoRA, BitsAndBytes for the training core, Vitest, Testing Library for testing. Why it matters: FrameTrain is designed to be GDPR-compliant, ensuring that user data never leaves their local device. It offers a seamless, local training experience, making it ideal for users who prefer to train models without the need for cloud services. The app's features, including the visual neural network builder and live monitoring, make it a powerful tool for AI developers and enthusiasts. Repository: FrameSphere/FrameTrain-App GitHub stars: 5 GitHub description: App repo for Frame
Jupyter Notebook 5 stars

GURPREETKAURJETHRA/PaliGemma-FineTuning

PaliGemma FineTuning

Overview: This project fine-tunes a PaliGemma model for improved language generation capabilities. Key features: - Fine-tuning of PaliGemma model - Enhanced language generation quality Tech stack: Jupyter Notebook Why it matters: This project enhances the performance of PaliGemma, making it more effective for various language tasks.
Jupyter Notebook 5 stars

GiuseppeBellamacina/GRPO-strict-generation

Group Policy Optimization for LLM strict code generation

### Overview: This project fine-tunes five small Language Models (LMs) to generate syntactically valid and schema-conformant JSON. It employs Group Relative Policy Optimization (GRPO) to fine-tune the models, using rule-based reward components instead of a neural reward model. The models were evaluated across four distinct training strategies, resulting in a tight 87-99% Pass@1 band after 2,500 training steps. ### Key Features: - **Rule-Based Reward Components**: Score each completion, providing a dense, deterministic additive signal. - **Four Training Strategies**: No-Think Standard, No-Think Curriculum, Think Standard, and Think Curriculum. - **Models**: SmolLM2-135M-Instruct, SmolLM2-360M-Instruct, Qwen2.5-0.5B-Instruct, TinyLlama-1.1B-Chat-v1.0, Gemma-2-2B-it. ### Tech Stack: - **Jupyter Notebook**: Primary language used for prototyping and experimentation. ### Why It Matters: - **Fine-Tuning of Small Models**: The project demonstrates that rule-based optimization can effectively fine-tune small LLMs for specific tasks, such as generating valid JSON. - **Rule-Based Reward System**: The framework uses a purely rule-based approach to reward, avoiding the overhead of a neural reward model, making it suitable for small models. - **Comprehensive Evaluation**: The project evaluates four distinct training strategies across 2,500 training steps,
Shell 5 stars

Ikaran8623/dgx-spark-ai

Run GPT-OSS 120B on NVIDIA DGX Spark with vLLM, build an API server, and create a local AI coding assistant

### Overview: dgx-spark-ai is a project designed to run GPT-OSS 120B on a local NVIDIA DGX Spark system. It provides a simple way to fine-tune models and use Cline CLI for local AI tasks, offering a local control and offline-friendly environment. ### Key Features: - Run large language models on your own hardware. - Fine-tune models with your own data. - Use Cline CLI with a local setup. - GPU-aware setup for optimal performance. - Offline-friendly use without constant internet connection. ### Tech Stack: Shell-based project. ### Why It Matters: This project is ideal for individuals and teams looking for local control over their AI work, ensuring that their data and models remain on their machine without the need to send data to a cloud service.
Python 5 stars

JacobLinCool/wft

Run Whisper fine-tuning with ease—it works on MPS, CUDA, and CPU without code changes.

Overview: WFT is a Python library designed to simplify the fine-tuning process of OpenAI's Whisper models, making it easy to fine-tune Whisper models on custom datasets without requiring code changes. Key features: - 🤗 Hugging Face Integration: Syncs with the Hugging Face HUB for organization settings. - 📄 Easy Dataset Preparation and Preprocessing: Quick dataset setup for fine-tuning. - 🛠️ Fine-Tuning Using LoRA: Efficiently fine-tunes Whisper models with low-rank adaptation techniques. - 🚀 Flexible Configuration Options: Customize various aspects of the fine-tuning process. - 📊 Evaluation Metrics: Supports Character Error Rate (CER) or Word Error Rate (WER) for model evaluation. - 📊 TensorBoard Logging: Tracks training progress in real-time. - 🤖 Automatic Model Merging and Saving: Automatically merges and saves the final model. - 🔄 Resume Training: Seamlessly resume training from interrupted runs. Tech stack: Python Why it matters: WFT simplifies the fine-tuning process of Whisper models, making it accessible to developers and researchers without requiring extensive coding knowledge. This library streamlines the workflow, allowing for faster development cycles and improved model performance.
Jupyter Notebook 5 stars

KwokHing/AI-Planet-LLM-Bootcamp-Challenge

An LLM challenge to (i) fine-tune pre-trained HuggingFace transformer model to build a Code Generation language model, and (ii) build a retrieval-augmented generation (RAG) application using LangChain

Overview: This challenge is designed to fine-tune a pre-trained HuggingFace transformer model, specifically the Orca Mini 3B, on the evolved codealpaca dataset to create a Code Generation language model. Additionally, it involves building a retrieval-augmented generation (RAG) application using LangChain to answer questions on the Battle Line game rules. Key features: - Fine-tuning of Orca Mini 3B on the evolved codealpaca dataset. - Building a Code Generation language model. - Creating a RAG application using LangChain for answering Battle Line game rules questions. Tech stack: Jupyter Notebook Why it matters: This challenge provides a practical application of fine-tuning pre-trained models and integrating with LangChain for advanced text generation tasks, demonstrating the capabilities of these tools in real-world scenarios.
Python 5 stars

LLMSystems/LLM-Router-Server

LLM Router Server is a high-performance routing service designed for multi-model deployment scenarios, used to uniformly manage and orchestrate multiple local Large Language Model (LLM) services, Embedding models, Re-ranking models, and other inference services.

### Overview: LLM Router Server is a high-performance routing service designed for multi-model deployment scenarios, used to uniformly manage and orchestrate multiple local Large Language Model (LLM) services, Embedding models, Re-ranking models, and other inference services. ### Key Features: - **Unified Routing Management**: Integrates multiple independent vLLM services, Embedding services, and Reranker services. - **OpenAI-Compatible API**: Provides fully compatible OpenAI API interfaces (`/v1/chat/completions`, `/v1/completions`, `/v1/embeddings`). - **Configuration-Based Deployment**: Manages startup parameters, ports, GPU allocation, etc. through YAML configuration files. - **Multi-Model Parallelism**: Supports multiple model instances running simultaneously, each using independent processes and GPU resources. - **Intelligent Load Balancing**: Automatically selects the least-loaded instance based on real-time metrics (running requests, waiting requests, KV cache usage). - **High-Performance Forwarding**: Uses FastAPI + Gunicorn + Uvloop for high-performance asynchronous architecture. - **Streaming Response Optimization**: Optimizes streaming requests to ensure low latency and stable token output. ### Tech Stack: Python ### Why it Matters: LLM Router Server simplifies the deployment and management of multiple LLM and related models, ensuring efficient and reliable service delivery.
Python 5 stars

M4T1SS3/DeltaLoop

Continuous fine-tuning layer that converts AI agent logs into LoRA adapters.

**Overview:** DeltaLoop is a continuous fine-tuning layer that automatically converts AI agent logs into LoRA adapters, eliminating the need for manual prompt rewriting and reducing prompt bloat by 80%. **Key features:** - Framework agnostic - Fully automated workflow - Lightweight LoRA adapters (~17MB) - Open source and cost-effective - Continuous improvement over time **Tech stack:** Python **Why it matters:** DeltaLoop simplifies the optimization process, reduces manual labor, and ensures that models learn from real-world interactions, leading to more effective and efficient AI agents.
JavaScript 5 stars

MagicLex/hops-run

Hops Run, a low-poly racer, and the decision models served on Hopsworks that fly it live

### Overview: Hops Run is a low-poly racer game that utilizes decision models deployed on Hopsworks for real-time gameplay. The game's moves are determined by models deployed on Hopsworks, which provide quick predictions in under 30 milliseconds. ### Key Features: - **Hops Run Game**: A low-poly racing game available at [game.hopsworks.ai](https://game.hopsworks.ai). - **Decision Models**: Deployed on Hopsworks, these models provide real-time predictions for the game's moves. - **Track Tracks**: Two tracks available: classic and a live edition published daily by the designer. - **Leaderboards**: Players, model pilots, and bots have leaderboards based on their performance. - **Models Overview**: - **qwen**: Reads the situation in plain English and scores each move from the model's logits. - **kumo**: Learns from 78 labelled situations without training step. - **clef**: Answers as a SystemOne choice question with its joint schema head. ### Tech Stack: - **JavaScript**: The primary language used for the game. ### Why It Matters: Hops Run showcases the integration of AI models with a game, demonstrating how real-time predictions can enhance gameplay. The models deployed on Hopsworks provide immediate feedback, making the game more engaging and dynamic.
Python 5 stars

Marker-Inc-Korea/Ovis2-FFT-Korean

Korean Large MultiModal FFT Code

### Overview: This repository contains the Korean implementation of Large MultiModal Fine-Tuning (LMM) for the Ovis2-FFT model, focusing on Korean language processing tasks. The code is designed to fine-tune the model on private datasets and evaluate its performance using various benchmarks. ### Key Features: - **Fine-Tuning:** The model is fine-tuned on the MarkrAI WizardLM training dataset. - **Benchmarking:** The repository includes detailed benchmark results for both the Korean and English versions of the model. - **Code Structure:** The code is structured to be easily reusable and adaptable for different datasets and models. ### Tech Stack: - Python ### Why It Matters: This implementation is crucial for developers and researchers looking to improve Korean language processing capabilities using large language models. It provides a practical solution for fine-tuning models on private datasets and evaluating their performance against established benchmarks. ### Repository: - **Repository:** Marker-Inc-Korea/Ovis2-FFT-Korean - **Stars:** 5 - **Description:** Korean Large MultiModal Fine-Tuning Code - **Language:** Python ### Blog: - **Link:** [Gukbap-LMM blog🔥](https://kyujinpy.tistory.com/169) ### Result: - The model performs well across various benchmarks, including English VLM Evaluation and Korean VLM Evaluation. - The repository includes detailed benchmark results and a comparison with other models. ### Citation: - **VLMEvalKit:** [https://github.com/open-compass/VLMEvalKit](https://github
Jupyter Notebook 5 stars

NIMI-research/SciQA-LLM

Large Language Models for Scientific Question Answering: an Extensive Analysis of the SciQA Benchmark

### Overview: This repository contains all the code and data referenced in the paper titled "Large Language Models for Scientific Question Answering: an Extensive Analysis of the SciQA Benchmark" authored by Jens Lehmann, Antonello Meloni, Enrico Motta, Francesco Osborne, Diego Reforgiato Recupero, Angelo Antonio Salatino, and Sahar Vahdati. ### Key features: - Large Language Models for Scientific Question Answering: an Extensive Analysis of the SciQA Benchmark - Models employed: T5-base, GPT-2-large, Dolly-v2-3b, GPT-3.5 Turbo - Structure of the repository: Contains all the code and data referenced in the paper - How to cite: The paper delves into the evaluation of large language models on the SciQA benchmark, focusing on scientific question answering over knowledge graphs. It discusses the dataset composition, including manually crafted and automatically generated questions, and explores the transformer architecture's role in semantic parsing and question answering tasks. A comparison between human-generated and automatically generated questions is presented, emphasizing the distribution across various question templates. ### Tech stack: Jupyter Notebook ### Why it matters: The paper provides an analysis of the performance of language models on the SciQA benchmark, which aims to represent a challenging task for next-generation question-answering systems. The study discusses the dataset composition, including manually crafted and automatically generated questions, and explores the transformer architecture's role in semantic parsing and question answering tasks. A comparison between human-generated and automatically generated questions is presented, emphasizing the