An autocomplete addon for Atom Editor, powered by GPT-2 and HuggingFace's API! Install Atom and git clone
this repository to get started.
- Go to atom.io and install Atom Editor.
- Clone this repository.
- You can use Github Desktop
- Alternatively, do
git clone https://github.com/wz-ml/AtomGPTSuggestions.git
.
- Open terminal/command prompt/shell, navigate to the repo directory, and run
apm link
. - Open Atom Editor. After going through setup, you will be able to see a screen like this:
- Go to File -> Add Project Folder -> Add the repo folder.
Go to mynewfile1.txt
and start editing! You should be able to see autocompletion suggestions after typing a sentence or so.
Any new text files created in the repo folder will have the autocomplete functionality enabled!
GPT-2 will often give different suggestions when you put in the same input multiple times. Try it out!
NotAnAutocompleteAI relies on Huggingface's GPT-2 API to provide suggestions. Direct API link: https://transformer.huggingface.co/autocomplete/distilgpt2/medium
Built on atom-autocomplete-boilerplate. GPT-2 API credit goes to Huggingface Transformers. LICENSE