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 script
  • inference.py β€” run doc generation on your code
  • cli.py β€” command-line interface
  • configs/train_config.json β€” training parameters
  • data_examples/ β€” contains example dataset and code
  • tests/ β€” 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.

Downloads last month

-

Downloads are not tracked for this model. How to track
Inference Providers NEW
This model isn't deployed by any Inference Provider. πŸ™‹ Ask for provider support

Model tree for hmnshudhmn24/auto-doc-generator

Finetuned
(93)
this model