Jarbas/ovos-model2vec-intents-paraphrase-multilingual-mpnet-base-v2

🤗 Hugging Face sourcemit64M params256 MBsafetensors✓ 3 checksumsupdated today
Submit in one command

Run it next to your model folder. It makes the torrent, checks your files against Hugging Face, and submits it. You just start seeding and paste your key from your account. It only reads your files and never changes them. Read the script first if you like.

curl -fsSL https://pirateface.co/package.sh | bash -s -- --repo Jarbas/ovos-model2vec-intents-paraphrase-multilingual-mpnet-base-v2 ./model-folder
Needs a seeder →

Deprecated. This model is superseded and is kept only so existing installs keep resolving. It was trained before the OVOS intent corpus was rebuilt from a pinned, reproducible pipeline, and its label set no longer matches what the OVOS m2v pipeline registers.

Use OpenVoiceOS/ovos-m2v-intents-multilingual instead, or OpenVoiceOS/ovos-m2v-intents-en on an English-only device. Both ship a labels.json beside the weights.

model_mul_m2v-256-paraphrase-multilingual-mpnet-base-v2 Model Card

This Model2Vec model is a fine-tuned version of the paraphrase-multilingual-mpnet-base-v2 Model2Vec model. It also includes a classifier head on top.

Installation

Install model2vec using pip:

pip install model2vec[inference]

Usage

Load this model using the from_pretrained method:

from model2vec.inference import StaticModelPipeline

# Load a pretrained Model2Vec model
model = StaticModelPipeline.from_pretrained("model_mul_m2v-256-paraphrase-multilingual-mpnet-base-v2")

# Predict labels
predicted = model.predict(["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.

@article{minishlab2024model2vec,
  author = {Tulkens, Stephan and {van Dongen}, Thomas},
  title = {Model2Vec: Fast State-of-the-Art Static Embeddings},
  year = {2024},
  url = {https://github.com/MinishLab/model2vec}
}