How to use dev7halo/Ko-sroberta-base-multitask with sentence-transformers:
from sentence_transformers import SentenceTransformer model = SentenceTransformer("dev7halo/Ko-sroberta-base-multitask") sentences = [ "사람은 무언가를 창조했다.", "한 남자가 악한 시기의 소동을 재현한다.", "한 사람이 고속도로에서 오토바이를 타고 있다", "개 두 마리가 있다." ] 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!