Autocomplete Python Code with Transformers
Autocomplete Python Code with Transformers
This is a small project we created to train a character level autoregressive transformer (or LSTM) model to predict Python source code. We trained it on GitHub repositories found on awesome pytorch list. Github repo: https://github.com/lab-ml/python_autocomplete You can try training on Google Colab: https://colab.research.google.com/github/lab-ml/python_autocomplete/blob/master/notebooks/train.ipynb Here are some sample evaluations/visualizations of the trained model: https://colab.research.google.com/github/lab-ml/python_autocomplete/blob/master/notebooks/evaluate.ipynb Working on a simple VSCode extension to test this out. Will open source it soon on the same repository.
Share cardActual performance
Launch Intel predictions
Analyze your own launch →Incorrect prediction on native model
Similar products
Python Compiler – Smart Python autocomplete
Autocomplete Python with Deep Learning
Poor man's clang autocomplete
Autocomplete with Redis and Elixir
SSort – The Python source code sorter
Simple VSCode extension to autocomplete Python with a transformer model
React-autocomplete-hint – Autocomplete without dropdown
Autocomplete your code with syntactically similar open-source code
Autocomplete your code with syntactically similar open-source code
CustomStringParser ( Python)