Sentence Similarity
sentence-transformers
Safetensors
bert
feature-extraction
Generated from Trainer
dataset_size:15293
loss:MultipleNegativesRankingLoss
text-embeddings-inference
Instructions to use allenborochin/0sint-event-embedder with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- sentence-transformers
How to use allenborochin/0sint-event-embedder with sentence-transformers:
from sentence_transformers import SentenceTransformer model = SentenceTransformer("allenborochin/0sint-event-embedder") sentences = [ "Chemical spill near Haifa. 1,000 evacuated. Community working together.", "Chemical spill in Haifa. Evacuation ordered; 1,000 individuals affected.", "Breaking: Haifa Port Chemical Incident. Evacuation ordered. No deaths reported yet. Stay informed. #NewswireIL", "๐จ๐จ๐จ SIRENS! Suspicious activity spotted near Haifa airport! ๐ฑ Passerby alerting authorities! Sources-say passenger behaving unusually, will be checked by security ๐ #HaifaAirportSafety #SuspiciousBehavior" ] embeddings = model.encode(sentences) similarities = model.similarity(embeddings, embeddings) print(similarities.shape) # [4, 4] - Notebooks
- Google Colab
- Kaggle
Welcome to the community
The community tab is the place to discuss and collaborate with the HF community!