How to use LequeuISIR/final-DPR-8e-05 with sentence-transformers:
from sentence_transformers import SentenceTransformer model = SentenceTransformer("LequeuISIR/final-DPR-8e-05") sentences = [ "However, its underutilization is mainly due to the absence of a concrete and coherent dissemination strategy.", "At the same time, they need to understand that living in Europe brings great responsibilities in addition to great benefits.", "The mainstay of any intelligent and patriotic mineral policy can be summed up in the following postulate: \"since minerals are exhaustible, they should only be exploited with the maximum return for the economy of the country where they are mined\".", "We must move quickly to a shared sustainable energy supply, sustainable transportation and clean air." ] embeddings = model.encode(sentences) similarities = model.similarity(embeddings, embeddings) print(similarities.shape) # [4, 4]