Skip to content

bigcode-project/jupytercoder

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

47 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Jupyter Coder

Jupyter Coder is a jupyter plugin based on Starcoder Starcoder has its unique capacity to leverage the jupyter notebook structure to produce code under instruction. This plugin enable you to use starcoder in your notebook.

Key features

code completition

In a cell, press "ctrl + space" to trigger image

Press "ctrl" to accpet the proposition.

Bug fix

In a cell with error message, press "ctrl + `" to trigger the bug fix mode image

Press ctrl to accept

Install the chrome extension

https://chrome.google.com/webstore/detail/jupyter-coder/kbedojkmlknhepcaggkdimefcbiifkjf

Installation from github (skip if you install from chrome store)

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

Add API key

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!).

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 3

  •  
  •  
  •