Downloads · 30 days
6
21% of all-time downloads
cnmoro/custom-model2vec-tokenlearn-medium
custom-model2vec-tokenlearn-medium is a machine learning model from cnmoro. Use it for the machine learning task on the model card, and read the license before you ship it in a product. It is set up for model2vec. The card lists the license as mit.
A custom model2vec model, trained using a modified version of the tokenlearn library.
Downloads · 30 days
6
21% of all-time downloads
All-time downloads
29
Public
Parameters
64M
256 MB on disk
Likes
1
Public
Click a slice to open those files.
.safetensors256 MB · 97%
From the Hugging Face model README
A custom model2vec model, trained using a modified version of the tokenlearn library.
Base model is nomic-ai/nomic-embed-text-v2-moe.
The output dimension is 256, and the vocabulary size is 249.999
The training process used a mix of English (10%) and Portuguese (90%) texts.
from model2vec import StaticModel
# Load a pretrained Sentence Transformer model
model = StaticModel.from_pretrained("cnmoro/custom-model2vec-tokenlearn-medium")
# Compute text embeddings
embeddings = model.encode(["Example sentence"])