How to use G-UDS/disaster_ko-bert with sentence-transformers:
from sentence_transformers import SentenceTransformer model = SentenceTransformer("G-UDS/disaster_ko-bert") sentences = [ "토목섬유튜브로 보강한 철도 교대 접속부 구조의 장기안정성 평가", "A Study on Mechanism of Fire Spread between Rooms", "Assessement of Long Term Stability of Railway Bridge Abutment Using Geosynthetics Tube", "Analysis on Reliability for the Storm Sewer considering Sedimentation" ] 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!