How to use nlpai-lab/KURE-v1 with sentence-transformers:
from sentence_transformers import SentenceTransformer model = SentenceTransformer("nlpai-lab/KURE-v1") 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]
해당 라이브러리 설치를 하여도 import가 되지 않는 이슈가 있는데 어떻게 해야 할까요?
안녕하세요, 늦게 확인해서 죄송합니다. 혹시 아직도 해당 이슈가 발생하나요 ??
· Sign up or log in to comment