Instructions to use tokiers/potion-8m-edu-classifier with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Model2Vec
How to use tokiers/potion-8m-edu-classifier with Model2Vec:
from model2vec import StaticModel model = StaticModel.from_pretrained("tokiers/potion-8m-edu-classifier") 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 tokiers/potion-8m-edu-classifier: direct link, hf CLI and curl.
- Browser
- Download file 684 kB
-
https://huggingface.co/tokiers/potion-8m-edu-classifier/resolve/main/tokenizer.json
- Command line
-
hf download hf://tokiers/potion-8m-edu-classifier/tokenizer.json
-
curl -L -o tokenizer.json https://huggingface.co/tokiers/potion-8m-edu-classifier/resolve/main/tokenizer.json
684 kB
File too large to display, you can check the raw version instead.