Instructions to use minishlab/potion-code-16M with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Model2Vec
How to use minishlab/potion-code-16M with Model2Vec:
from model2vec import StaticModel model = StaticModel.from_pretrained("minishlab/potion-code-16M") embeddings = model.encode(["It's dangerous to go alone!", "It's a secret to everybody."]) print(embeddings.shape) - Notebooks
- Google Colab
- Kaggle
Download tokenizer.json from minishlab/potion-code-16M: direct link, hf CLI and curl.
- Browser
- Download file 1.04 MB
-
https://huggingface.co/minishlab/potion-code-16M/resolve/main/tokenizer.json
- Command line
-
hf download hf://minishlab/potion-code-16M/tokenizer.json
-
curl -L -o tokenizer.json https://huggingface.co/minishlab/potion-code-16M/resolve/main/tokenizer.json
1.04 MB
File too large to display, you can check the raw version instead.