Giter VIP home page Giter VIP logo

atomgptsuggestions's Introduction

AtomGPTSuggestions

An autocomplete addon for Atom Editor, powered by GPT-2 and HuggingFace's API! Install Atom and git clone this repository to get started.

Installation

  1. Go to atom.io and install Atom Editor.
  2. Clone this repository.
  • You can use Github Desktop
  • Alternatively, do git clone https://github.com/wz-ml/AtomGPTSuggestions.git.
  1. Open terminal/command prompt/shell, navigate to the repo directory, and run apm link.
  2. Open Atom Editor. After going through setup, you will be able to see a screen like this:

  1. Go to File -> Add Project Folder -> Add the repo folder.

Start editing!

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!

Backend API

NotAnAutocompleteAI relies on Huggingface's GPT-2 API to provide suggestions. Direct API link: https://transformer.huggingface.co/autocomplete/distilgpt2/medium

Credit goes to...

Built on atom-autocomplete-boilerplate. GPT-2 API credit goes to Huggingface Transformers. LICENSE

atomgptsuggestions's People

Contributors

lonekorean avatar wz-ml avatar

Stargazers

 avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.