Instructions to use minishlab/potion-code-16M-v2 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Model2Vec
How to use minishlab/potion-code-16M-v2 with Model2Vec:
from model2vec import StaticModel model = StaticModel.from_pretrained("minishlab/potion-code-16M-v2") 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-v2: direct link, hf CLI and curl.
- Browser
- Download file 1.53 MB
-
https://huggingface.co/minishlab/potion-code-16M-v2/resolve/refs%2Fpr%2F1/tokenizer.json
- Command line
-
hf download hf://minishlab/potion-code-16M-v2@refs/pr/1/tokenizer.json
-
curl -L -o tokenizer.json https://huggingface.co/minishlab/potion-code-16M-v2/resolve/refs%2Fpr%2F1/tokenizer.json
1.53 MB
File too large to display, you can check the raw version instead.