This pruned model should perform similarly to the original model for French 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 French 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 = "antoinelouis/french-gte-multilingual-base"
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("antoinelouis/french-gte-multilingual-base")
french-mgte-base huggingface.co is an AI model on huggingface.co that provides french-mgte-base's model effect (), which can be used instantly with this antoinelouis french-mgte-base model. huggingface.co supports a free trial of the french-mgte-base model, and also provides paid use of the french-mgte-base. Support call french-mgte-base model through api, including Node.js, Python, http.
french-mgte-base huggingface.co is an online trial and call api platform, which integrates french-mgte-base's modeling effects, including api services, and provides a free online trial of french-mgte-base, you can try french-mgte-base online for free by clicking the link below.
antoinelouis french-mgte-base online free url in huggingface.co:
french-mgte-base is an open source model from GitHub that offers a free installation service, and any user can find french-mgte-base on GitHub to install. At the same time, huggingface.co provides the effect of french-mgte-base install, users can directly use french-mgte-base installed effect in huggingface.co for debugging and trial. It also supports api for free installation.