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.
In a cell, press "ctrl + space" to trigger
Press "ctrl" to accpet the proposition.
In a cell with error message, press "ctrl + `" to trigger the bug fix mode
Press ctrl to accept
https://chrome.google.com/webstore/detail/jupyter-coder/kbedojkmlknhepcaggkdimefcbiifkjf
git clone https://github.com/bigcode-project/jupytercoder.git
Open chrome://extensions/ in your browser and enable developer mode.
Then click on "Load unpacked" and select the folder where you cloned this repository.
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.
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!).