Sentence Similarity
sentence-transformers
Safetensors
English
xlm-roberta
feature-extraction
dense
Generated from Trainer
dataset_size:350048
loss:MarginMSELoss
text-embeddings-inference
Instructions to use bobox/custom-pooler-marginmse-v0 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- sentence-transformers
How to use bobox/custom-pooler-marginmse-v0 with sentence-transformers:
from sentence_transformers import SentenceTransformer model = SentenceTransformer("bobox/custom-pooler-marginmse-v0") sentences = [ "A typical training station of the Royal Air Force ( not flying ) will have the following integrated wing-based structure :", "The studios , opened in 2008 , were designed by Zach Hancock and are maintained by chief engineer Martin Pilchner .", "The approval from the European regulator, EASA, means Blue Islands can train their flight and cabin crew to be able to operate and work on their ATR aircraft.\nThe training will be completed at their operational base in Jersey.\nRob Veron, managing director of Blue Islands said he was delighted with the approval.\nHe said: \"This is a huge achievement for our operational team as we are the only airline in the Channel Islands to have gained this approval.\n\"This means we no longer have to send away any of our locally based crew, we can be more dynamic with our programmes and further cement our roots here in the islands.\"\nBlue Islands say a typical training programme would include aircraft training on the ATR plane, in the simulator and ground-school training.", "A typical Royal Air Force training station ( not flying ) will have the following integrated wing-based structure :", "In 1974 the museum had acquired what is now the Henry Cole wing from the Royal College of Science." ] embeddings = model.encode(sentences) similarities = model.similarity(embeddings, embeddings) print(similarities.shape) # [5, 5] - Notebooks
- Google Colab
- Kaggle
Welcome to the community
The community tab is the place to discuss and collaborate with the HF community!