https://github.com/chai-dev682/auto_rename_variable
Project for renaming variables in Python codes to make a Python code more comprehensive. Used BERT(Bidirectional Encoding Representation from Transformer) amd T5(Text to Text Transfer Transformer) models.
https://github.com/chai-dev682/auto_rename_variable
bert python t5
Last synced: about 2 months ago
JSON representation
Project for renaming variables in Python codes to make a Python code more comprehensive. Used BERT(Bidirectional Encoding Representation from Transformer) amd T5(Text to Text Transfer Transformer) models.
- Host: GitHub
- URL: https://github.com/chai-dev682/auto_rename_variable
- Owner: chai-dev682
- Created: 2024-02-19T05:38:30.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2024-02-19T05:38:34.000Z (over 2 years ago)
- Last Synced: 2025-12-27T09:56:11.797Z (6 months ago)
- Topics: bert, python, t5
- Language: Jupyter Notebook
- Homepage:
- Size: 12.7 KB
- Stars: 3
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: readme.md
Awesome Lists containing this project
README
# Rename Variables
## How to run
```angular2html
pip install requirements.txt -r
python predict.py -m [PATH OF METHOD] -v [NAME OF VARIABLE]
```