This model is a 38.5% smaller version of
BAAI/bge-m3
for the Portuguese language, created using the
mtem-pruner
space.
This pruned model should perform similarly to the original model for Portuguese language tasks with a much smaller
memory footprint. However, it may not perform well for other languages present in the original multilingual model as tokens not
commonly used in Portuguese were removed from the original multilingual model's vocabulary.
Usage
You can use this model with the Transformers library:
from transformers import AutoModel, AutoTokenizer
model_name = "cnmoro/portuguese-bge-m3"
model = AutoModel.from_pretrained(model_name, trust_remote_code=True)
tokenizer = AutoTokenizer.from_pretrained(model_name, trust_remote_code=True, use_fast=True)
Or with the sentence-transformers library:
from sentence_transformers import SentenceTransformer
model = SentenceTransformer("cnmoro/portuguese-bge-m3")
portuguese-bge-m3 huggingface.co is an AI model on huggingface.co that provides portuguese-bge-m3's model effect (), which can be used instantly with this cnmoro portuguese-bge-m3 model. huggingface.co supports a free trial of the portuguese-bge-m3 model, and also provides paid use of the portuguese-bge-m3. Support call portuguese-bge-m3 model through api, including Node.js, Python, http.
portuguese-bge-m3 huggingface.co is an online trial and call api platform, which integrates portuguese-bge-m3's modeling effects, including api services, and provides a free online trial of portuguese-bge-m3, you can try portuguese-bge-m3 online for free by clicking the link below.
cnmoro portuguese-bge-m3 online free url in huggingface.co:
portuguese-bge-m3 is an open source model from GitHub that offers a free installation service, and any user can find portuguese-bge-m3 on GitHub to install. At the same time, huggingface.co provides the effect of portuguese-bge-m3 install, users can directly use portuguese-bge-m3 installed effect in huggingface.co for debugging and trial. It also supports api for free installation.