EdinburghNLP/code-docstring-corpus
Preprocessed Python functions and docstrings for automated code documentation (code2doc) and automated code generation (doc2code) tasks.
This corpus provides a collection of Python code and their corresponding explanations, also known as docstrings. It's designed to help researchers develop AI models that can either automatically generate documentation for existing code or write code based on a description. Researchers and machine learning engineers working on natural language processing for code would find this resource valuable.
211 stars. No commits in the last 6 months.
Use this if you are a researcher or machine learning engineer training AI models to understand and generate Python code or its documentation.
Not ideal if you are looking for a tool to automatically document your own existing Python projects without further model training, or if you need to generate code for practical application without developing a custom model.
Stars
211
Forks
48
Language
Python
License
—
Category
Last pushed
Jul 13, 2020
Commits (30d)
0
Get this data via API
curl "https://pt-edge.onrender.com/api/v1/quality/ai-coding/EdinburghNLP/code-docstring-corpus"
Open to everyone — 100 requests/day, no key needed. Get a free key for 1,000/day.
Higher-rated alternatives
k4black/codebleu
Pip compatible CodeBLEU metric implementation available for linux/macos/win
LiveCodeBench/LiveCodeBench
Official repository for the paper "LiveCodeBench: Holistic and Contamination Free Evaluation of...
hendrycks/apps
APPS: Automated Programming Progress Standard (NeurIPS 2021)
solis-team/Hydra
[FSE 2026] Do Not Treat Code as Natural Language: Implications for Repository-Level Code...
alxschwrz/codex_py2cpp
Converts python code into c++ by using OpenAI CODEX.