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") - Notebooks
- Google Colab
- Kaggle
Download modules.json from minishlab/potion-code-16M: direct link, hf CLI and curl.
- Browser
- Download file 278 Bytes
-
https://huggingface.co/minishlab/potion-code-16M/resolve/main/modules.json
- Command line
-
hf download hf://minishlab/potion-code-16M/modules.json
-
curl -L -o modules.json https://huggingface.co/minishlab/potion-code-16M/resolve/main/modules.json
278 Bytes
| [ | |
| { | |
| "idx": 0, | |
| "name": "0", | |
| "path": ".", | |
| "type": "sentence_transformers.models.StaticEmbedding" | |
| }, | |
| { | |
| "idx": 1, | |
| "name": "1", | |
| "path": "1_Normalize", | |
| "type": "sentence_transformers.models.Normalize" | |
| } | |
| ] |