going-doer/paper2code

Paper2Code: Automating Code Generation from Scientific Papers in Machine Learning

View on GitHub ↗Jump to charts ↓Open shareable report

Summary Information

Updated 32 minutes ago
Added to GitGenius on September 14th, 2026
Created on April 25th, 2025
Open Issues & Pull Requests: 15 (+0)
GitHub issues: Enabled
Number of forks: 685
Total Stargazers: 4,953 (+0)
Total Subscribers: 43 (+0)

Repository Insights (GitGenius)

Median issue/PR response: 22.5 hours
Mean response time: 14.7 days
90th percentile: 16.4 days
Tracked items: 16

Most active contributors

Sign in to see contributor activity.

Charts & Analytics

Fetching additional details & charts...

Issue Activity (beta)

Open issues: 13
New in 7 days: 0
Closed in 7 days: 0
Avg open age: 421 days
Stale 30+ days: 13
Stale 90+ days: 12

Recent activity

Opened in 7 days: 0
Closed in 7 days: 0
Comments in 7 days: 0
Events in 7 days: 0

Top labels

No label distribution available yet.

Most active issues this week

No issue events were indexed in the last 7 days.

Detailed Description

Paper2Code is a multi-agent LLM system that automates code generation from scientific papers in machine learning.

The tool addresses the challenge of translating research papers into working code implementations. It operates through a three-stage pipeline where specialized agents handle planning, analysis, and code generation sequentially. The system accepts papers in multiple formats—LaTeX source, PDF, or JSON—and produces a complete code repository as output. It supports both commercial APIs like OpenAI's o3-mini and open-source models deployed via vLLM, with the default being DeepSeek-Coder-V2-Lite-Instruct.

Developers should consider this tool if they need to rapidly prototype implementations from academic papers or validate research reproducibility. It suits machine learning researchers and practitioners who want to bridge the gap between paper descriptions and executable code without manual implementation. The project includes benchmark datasets for evaluation and provides model-based assessment of generated repositories, making it useful for those studying code generation quality.

The project maintains active development with structured documentation covering quick-start examples, detailed setup instructions for different deployment scenarios, and clear guidance on environment configuration. The codebase includes example workflows using well-known papers like "Attention Is All You Need" to demonstrate functionality. The tool provides transparent cost estimates for API-based usage and offers flexibility in model selection for users preferring open-source alternatives. Documentation addresses common installation challenges and provides fallback references to upstream dependencies.