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