Generating Docstrings
Collection
In these projects, I generate docstrings for functions from the code in said functions.
•
3 items
•
Updated
This model is a fine-tuned version of Salesforce/codet5-small on the None dataset. It achieves the following results on the evaluation set:
This model is trained to provide the docstring for functions.
For more information on how it was created, check out the following link: https://github.com/DunnBC22/NLP_Projects/blob/main/Generate%20Docstrings/Code_T5_Project.ipynb
This model is intended to demonstrate my ability to solve a complex problem using technology.
Dataset Source: kejian/codesearchnet-python-raw (from HuggingFace Datasets; https://huggingface.co/datasets/kejian/codesearchnet-python-raw)
The following hyperparameters were used during training:
Training Loss | Epoch | Step | Validation Loss | Rouge1 | Rouge2 | Rougel | Rougelsum | Gen Len |
---|---|---|---|---|---|---|---|---|
2.7447 | 1.0 | 7913 | 2.4116 | 0.3381 | 0.1541 | 0.3045 | 0.3214 | 15.8088 |