Bilingual-embedding is the Embedding Model for bilingual language: french and english. This model is a specialized sentence-embedding trained specifically for the bilingual language, leveraging the robust capabilities of
XLM-RoBERTa
, a pre-trained language model based on the
XLM-RoBERTa
architecture. The model utilizes xlm-roberta to encode english-french sentences into a 1024-dimensional vector space, facilitating a wide range of applications from semantic search to text clustering. The embeddings capture the nuanced meanings of english-french sentences, reflecting both the lexical and contextual layers of the language.
Method: Training using Multi-Negative Ranking Loss. This stage focused on improving the model's ability to discern and rank nuanced differences in sentence semantics.
Stage 3: Continued Fine-tuning for Semantic Textual Similarity on STS Benchmark
Dataset: [STSB-fr and en]
Method: Fine-tuning specifically for the semantic textual similarity benchmark using Siamese BERT-Networks configured with the 'sentence-transformers' library.
Method: Employed an advanced strategy using
Augmented SBERT
with Pair Sampling Strategies, integrating both Cross-Encoder and Bi-Encoder models. This stage further refined the embeddings by enriching the training data dynamically, enhancing the model's robustness and accuracy.
from sentence_transformers import SentenceTransformer
sentences = ["Paris est une capitale de la France", "Paris is a capital of France"]
model = SentenceTransformer('Lajavaness/bilingual-embedding-small', trust_remote_code=True)
print(embeddings)
Evaluation
TODO
Citation
@article{conneau2019unsupervised,
title={Unsupervised cross-lingual representation learning at scale},
author={Conneau, Alexis and Khandelwal, Kartikay and Goyal, Naman and Chaudhary, Vishrav and Wenzek, Guillaume and Guzm{\'a}n, Francisco and Grave, Edouard and Ott, Myle and Zettlemoyer, Luke and Stoyanov, Veselin},
journal={arXiv preprint arXiv:1911.02116},
year={2019}
}
@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{thakur2020augmented,
title={Augmented SBERT: Data Augmentation Method for Improving Bi-Encoders for Pairwise Sentence Scoring Tasks},
author={Thakur, Nandan and Reimers, Nils and Daxenberger, Johannes and Gurevych, Iryna},
journal={arXiv e-prints},
pages={arXiv--2010},
year={2020}
Runs of Lajavaness bilingual-embedding-small on huggingface.co
6.0K
Total runs
-372
24-hour runs
-508
3-day runs
-203
7-day runs
-2.2K
30-day runs
More Information About bilingual-embedding-small huggingface.co Model
More bilingual-embedding-small license Visit here:
bilingual-embedding-small huggingface.co is an AI model on huggingface.co that provides bilingual-embedding-small's model effect (), which can be used instantly with this Lajavaness bilingual-embedding-small model. huggingface.co supports a free trial of the bilingual-embedding-small model, and also provides paid use of the bilingual-embedding-small. Support call bilingual-embedding-small model through api, including Node.js, Python, http.
bilingual-embedding-small huggingface.co is an online trial and call api platform, which integrates bilingual-embedding-small's modeling effects, including api services, and provides a free online trial of bilingual-embedding-small, you can try bilingual-embedding-small online for free by clicking the link below.
Lajavaness bilingual-embedding-small online free url in huggingface.co:
bilingual-embedding-small is an open source model from GitHub that offers a free installation service, and any user can find bilingual-embedding-small on GitHub to install. At the same time, huggingface.co provides the effect of bilingual-embedding-small install, users can directly use bilingual-embedding-small installed effect in huggingface.co for debugging and trial. It also supports api for free installation.
bilingual-embedding-small install url in huggingface.co: