🔨 CodeAnvil

Fine-tune AI models on your codebase

Transform DeepSeek Coder, Qwen, or any code LLM into an expert on YOUR code

Quick Start

wget https://codeanvil.net/codeanvil.sh
chmod +x codeanvil.sh
./codeanvil.sh setup

What is CodeAnvil?

CodeAnvil automates the process of fine-tuning large language models on your specific codebase. The result is an AI assistant that deeply understands your project's architecture, coding patterns, and domain-specific knowledge.

✅ One-Command Setup

Automated installation of all dependencies including PyTorch, LLaMA Factory, and Ollama

🎯 Smart Training

Comprehensive data extraction learns build systems, classes, and architecture

📊 Real-Time Monitoring

Watch training progress with live metrics and beautiful progress bars

🚀 Easy Export

One command exports your model to Ollama for immediate use

Basic Usage

# Train on your codebase
codeanvil train /path/to/myproject

# Monitor training
codeanvil monitor

# Export and use
codeanvil export deepseek-coder
ollama run codeanvil-deepseek_coder:v1.0

Requirements

View on GitHub Documentation