Skip to content

echallenge/jupytercoder

 
 

Repository files navigation

Jupyter Coder

This plugin is still in development. To test it, clone this repository first. Currently it supports the native jupyter mode of starcoder and Open AI completion API.

Installation

git clone https://github.com/bigcode-project/jupytercoder.git

Open chrome://extensions/ in your browser and enable developer mode. devmode

Then click on "Load unpacked" and select the folder where you cloned this repository. unpack

Then click on the extension icon to enable it, you will need to enter the bigcode model endpoint url https://api-inference.huggingface.co/models/bigcode/starcoderbase/ and your hf readonlys api key. Click save to activate this mode. image

Demo

cd examples
jupyter notebook

In case you encounter issue, you might want to install the same jupyter notebook version

jupyter notebook --version
>>> 6.5.2

Open the notebook sklearn_digits.ipynb and try it out. Type ctrl+space to trigger the code completion when you are in a code cell, then ctrl to accept it (welcome your thought on the key binding!).

Screenshot

image

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 82.1%
  • HTML 17.7%
  • CSS 0.2%