Jarbas/ovos-model2vec-intents-roberta-large-ca-v2

🤗 Hugging Face 来源mit13M 参数51 MBsafetensors✓ 2 个校验和今天更新
一条命令提交

在你的模型文件夹旁边运行它。它会制作种子、将文件与 Hugging Face 比对,然后提交。你只需开始做种,并粘贴你账户中的密钥。它只读取你的文件,绝不修改。如果愿意,可以先阅读脚本。

curl -fsSL https://pirateface.co/package.sh | bash -s -- --repo Jarbas/ovos-model2vec-intents-roberta-large-ca-v2 ./model-folder
需要做种者 →

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_ca_m2v-256-roberta-large-ca-v2 Model Card

This Model2Vec model is a fine-tuned version of the unknown 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_ca_m2v-256-roberta-large-ca-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}
}