How to use Syldehayem/all-MiniLM-L6-v2_embedder_train with sentence-transformers:
from sentence_transformers import SentenceTransformer model = SentenceTransformer("Syldehayem/all-MiniLM-L6-v2_embedder_train") sentences = [ "Live Action Animation Effect from Spider-Man Across The Spider-Verse", "PANDEMONIUM - Animation Short Film 2023 - GOBELINS", "Rakhal Raja | রাখাল রাজা | Bengali Movie – 6/14 | Chiranjeet", "CGI Animated Short Film: \"Song for a Wooden Heart\" by The Inklings | CGMeetup" ] embeddings = model.encode(sentences) similarities = model.similarity(embeddings, embeddings) print(similarities.shape) # [4, 4]
The community tab is the place to discuss and collaborate with the HF community!