minishlab / potion-base-32m-onnx

huggingface.co
Total runs: 13
24-hour runs: 0
7-day runs: 1
30-day runs: 13
Model's Last Updated: August 28 2026

Introduction of potion-base-32m-onnx

Model Details of potion-base-32m-onnx

potion-base-32m_onnx Model Card

This is an ONNX export of the minishlab/potion-base-32m Model2Vec model, produced with the ONNX runtime. Model2Vec models use static embeddings, allowing text embeddings to be computed orders of magnitude faster on both GPU and CPU. This ONNX export lets you run the model with onnxruntime or transformers.js , without depending on the model2vec package.

Usage
Using ONNX Runtime
import onnxruntime as ort
from transformers import AutoTokenizer

tokenizer = AutoTokenizer.from_pretrained("potion-base-32m_onnx")
session = ort.InferenceSession("model.onnx")

encodings = tokenizer(["Example sentence"], padding=True, return_tensors="np")
embeddings = session.run(None, dict(encodings))[0]
Using the original Model2Vec model

If you don't need the ONNX runtime, you can load the original model with the Model2Vec library instead:

from model2vec import StaticModel

model = StaticModel.from_pretrained("minishlab/potion-base-32m")
embeddings = model.encode(["Example sentence"])
Additional Resources
Library Authors

Model2Vec was developed by the Minish Lab team consisting of Stephan Tulkens and Thomas van Dongen .

Citation

Please cite the Model2Vec repository if you use this model in your work.

@software{minishlab2024model2vec,
  author       = {Stephan Tulkens and {van Dongen}, Thomas},
  title        = {Model2Vec: Fast State-of-the-Art Static Embeddings},
  year         = {2024},
  publisher    = {Zenodo},
  doi          = {10.5281/zenodo.17270888},
  url          = {https://github.com/MinishLab/model2vec},
  license      = {MIT}
}

Runs of minishlab potion-base-32m-onnx on huggingface.co

13
Total runs
0
24-hour runs
0
3-day runs
1
7-day runs
13
30-day runs

More Information About potion-base-32m-onnx huggingface.co Model

More potion-base-32m-onnx license Visit here:

https://choosealicense.com/licenses/mit

potion-base-32m-onnx huggingface.co

potion-base-32m-onnx huggingface.co is an AI model on huggingface.co that provides potion-base-32m-onnx's model effect (), which can be used instantly with this minishlab potion-base-32m-onnx model. huggingface.co supports a free trial of the potion-base-32m-onnx model, and also provides paid use of the potion-base-32m-onnx. Support call potion-base-32m-onnx model through api, including Node.js, Python, http.

potion-base-32m-onnx huggingface.co Url

https://huggingface.co/minishlab/potion-base-32m-onnx

minishlab potion-base-32m-onnx online free

potion-base-32m-onnx huggingface.co is an online trial and call api platform, which integrates potion-base-32m-onnx's modeling effects, including api services, and provides a free online trial of potion-base-32m-onnx, you can try potion-base-32m-onnx online for free by clicking the link below.

minishlab potion-base-32m-onnx online free url in huggingface.co:

https://huggingface.co/minishlab/potion-base-32m-onnx

potion-base-32m-onnx install

potion-base-32m-onnx is an open source model from GitHub that offers a free installation service, and any user can find potion-base-32m-onnx on GitHub to install. At the same time, huggingface.co provides the effect of potion-base-32m-onnx install, users can directly use potion-base-32m-onnx installed effect in huggingface.co for debugging and trial. It also supports api for free installation.

potion-base-32m-onnx install url in huggingface.co:

https://huggingface.co/minishlab/potion-base-32m-onnx

Url of potion-base-32m-onnx

potion-base-32m-onnx huggingface.co Url

Provider of potion-base-32m-onnx huggingface.co

minishlab
ORGANIZATIONS

Other API from minishlab