sentence-transformers How to use DariaaaS/models-moved with sentence-transformers:
from sentence_transformers import SentenceTransformer
model = SentenceTransformer("DariaaaS/models-moved")
sentences = [
"What is the CBSA name and type in York, ME?",
"average household income refers to avg_income_per_household; city known as \"Danzig\" refers to bad_alias = 'Danzig';",
"coordinates refers to latitude, longitude; latitude = '18.090875; longitude = '-66.867756'",
"\"York\" is the city; 'ME' is the state; type refers to CBSA_type"
]
embeddings = model.encode(sentences)
similarities = model.similarity(embeddings, embeddings)
print(similarities.shape)
# [4, 4]