Skip to content

samrawal/emacs-secondmate

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Second Mate

An open-source, mini imitation of GitHub Copilot using update: Replit Code 3B or EleutherAI GPT-Neo-2.7B (via Huggingface Model Hub) for Emacs.

./assets/demo1.gif

Setup

Inference End / Backend

  1. Set device to “cpu” or “cuda” in serve/server.py
  2. The “priming” is currently done in Python. If you want, modify it to another language or turn it off (from subjective experience, priming seems to help).
  3. Launch serve/server.py. This will launch a Flask app which will allow us to sample the model via REST API.

Emacs

  1. In emacs/secondmate.el, customize the URL in secondmate-url to the address the API is running on.

About

An open-source, mini imitation of GitHub Copilot for Emacs.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published