How to use muchad/embed-id with sentence-transformers:
from sentence_transformers import SentenceTransformer model = SentenceTransformer("muchad/embed-id") sentences = [ "The weather is lovely today.", "It's so sunny outside!", "He drove to the stadium." ] embeddings = model.encode(sentences) similarities = model.similarity(embeddings, embeddings) print(similarities.shape) # [3, 3]
How to use muchad/embed-id with Transformers:
# Load model directly from transformers import AutoTokenizer, AutoModel tokenizer = AutoTokenizer.from_pretrained("muchad/embed-id") model = AutoModel.from_pretrained("muchad/embed-id")
Note: This model is part of an ongoing research project.
Files info
Base model