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