dangvantuan / french-embedding-LongContext

huggingface.co
Total runs: 3.7K
24-hour runs: 0
7-day runs: 0
30-day runs: 0
Model's Last Updated: November 19 2024
sentence-similarity

Introduction of french-embedding-LongContext

Model Details of french-embedding-LongContext

Model Description:

french-embedding-LongContext is the Embedding Model for French language with context length up to 8096 tokens. This model is a specialized text-embedding trained specifically for the French language, which is built upon gte-multilingual and trained using the Multi-Negative Ranking Loss, Matryoshka2dLoss and SimilarityLoss.

Full Model Architecture
SentenceTransformer(
  (0): Transformer({'max_seq_length': 8192, 'do_lower_case': False}) with Transformer model: BilingualModel 
  (1): Pooling({'word_embedding_dimension': 768, 'pooling_mode_cls_token': True, 'pooling_mode_mean_tokens': False, 'pooling_mode_max_tokens': False, 'pooling_mode_mean_sqrt_len_tokens': False, 'pooling_mode_weightedmean_tokens': False, 'pooling_mode_lasttoken': False, 'include_prompt': True})
  (2): Normalize()
)
Training and Fine-tuning process

The model underwent a rigorous four-stage training and fine-tuning process, each tailored to enhance its ability to generate precise and contextually relevant sentence embeddings for the French language.

Usage:

Using this model becomes easy when you have sentence-transformers installed:

pip install -U sentence-transformers

Then you can use the model like this:

from sentence_transformers import SentenceTransformer
sentences = ["Paris est une capitale de la France", "Les Jeux olympiques de 2024 auront lieu à Paris"]



model = SentenceTransformer('dangvantuan/french-embedding-LongContext', trust_remote_code=True)
embeddings = model.encode(sentences)
print(embeddings)
Evaluation

TODO

Citation
@article{reimers2019sentence,
   title={Sentence-BERT: Sentence Embeddings using Siamese BERT-Networks},
   author={Nils Reimers, Iryna Gurevych},
   journal={https://arxiv.org/abs/1908.10084},
   year={2019}
}


@article{zhang2024mgte,
  title={mGTE: Generalized Long-Context Text Representation and Reranking Models for Multilingual Text Retrieval},
  author={Zhang, Xin and Zhang, Yanzhao and Long, Dingkun and Xie, Wen and Dai, Ziqi and Tang, Jialong and Lin, Huan and Yang, Baosong and Xie, Pengjun and Huang, Fei and others},
  journal={arXiv preprint arXiv:2407.19669},
  year={2024}
}

@article{li2023towards,
  title={Towards general text embeddings with multi-stage contrastive learning},
  author={Li, Zehan and Zhang, Xin and Zhang, Yanzhao and Long, Dingkun and Xie, Pengjun and Zhang, Meishan},
  journal={arXiv preprint arXiv:2308.03281},
  year={2023}
}

@article{li20242d,
  title={2d matryoshka sentence embeddings},
  author={Li, Xianming and Li, Zongxi and Li, Jing and Xie, Haoran and Li, Qing},
  journal={arXiv preprint arXiv:2402.14776},
  year={2024}
}

Runs of dangvantuan french-embedding-LongContext on huggingface.co

3.7K
Total runs
0
24-hour runs
0
3-day runs
0
7-day runs
0
30-day runs

More Information About french-embedding-LongContext huggingface.co Model

More french-embedding-LongContext license Visit here:

https://choosealicense.com/licenses/apache-2.0

french-embedding-LongContext huggingface.co

french-embedding-LongContext huggingface.co is an AI model on huggingface.co that provides french-embedding-LongContext's model effect (), which can be used instantly with this dangvantuan french-embedding-LongContext model. huggingface.co supports a free trial of the french-embedding-LongContext model, and also provides paid use of the french-embedding-LongContext. Support call french-embedding-LongContext model through api, including Node.js, Python, http.

french-embedding-LongContext huggingface.co Url

https://huggingface.co/dangvantuan/french-embedding-LongContext

dangvantuan french-embedding-LongContext online free

french-embedding-LongContext huggingface.co is an online trial and call api platform, which integrates french-embedding-LongContext's modeling effects, including api services, and provides a free online trial of french-embedding-LongContext, you can try french-embedding-LongContext online for free by clicking the link below.

dangvantuan french-embedding-LongContext online free url in huggingface.co:

https://huggingface.co/dangvantuan/french-embedding-LongContext

french-embedding-LongContext install

french-embedding-LongContext is an open source model from GitHub that offers a free installation service, and any user can find french-embedding-LongContext on GitHub to install. At the same time, huggingface.co provides the effect of french-embedding-LongContext install, users can directly use french-embedding-LongContext installed effect in huggingface.co for debugging and trial. It also supports api for free installation.

french-embedding-LongContext install url in huggingface.co:

https://huggingface.co/dangvantuan/french-embedding-LongContext

Url of french-embedding-LongContext

french-embedding-LongContext huggingface.co Url

Provider of french-embedding-LongContext huggingface.co

dangvantuan
ORGANIZATIONS

Other API from dangvantuan