AutoDocGen π§ β AI Code Documentation & Test Generator
AutoDocGen is an advanced model built on CodeT5 that automatically generates documentation, comments, and unit tests for source code files.
π Features
- Auto-generate docstrings for Python functions
- Create unit tests from given functions
- Trainable and extendable on custom datasets
π¦ Files
train_codet5_docgen.pyβ training scriptinference.pyβ run doc generation on your codecli.pyβ command-line interfaceconfigs/train_config.jsonβ training parametersdata_examples/β contains example dataset and codetests/β unit test folder
π§ Model Description
This model fine-tunes CodeT5-small from Hugging Face Transformers on a dataset of Python code and natural language descriptions.
βοΈ License
Licensed under the Apache License 2.0.
Model tree for hmnshudhmn24/auto-doc-generator
Base model
Salesforce/codet5-small