splade-ko-v1
5.2K
10
license:apache-2.0
by
yjoonjang
Embedding Model
OTHER
New
5K downloads
Early-stage
Edge AI:
Mobile
Laptop
Server
Unknown
Mobile
Laptop
Server
Quick Summary
AI model with specialized capabilities.
Code Examples
Usagebash
pip install -U sentence-transformersUsagepython
from sentence_transformers import SparseEncoder
# Download from the ๐ค Hub
model = SparseEncoder("yjoonjang/splade-ko-v1")
# Run inference
sentences = [
'์์ด์จ ์ต์ ํ ๋ฐฉ๋ฒ์ ์ฐ์๊ณต๊ณต์ ๊ฐ์์ํค๊ธฐ ๋๋ฌธ์ ์ ์ ๋๋๊ฐ ์ฆ๊ฐํ๋ ๋ฌธ์ ์ ์ ๊ฐ๊ณ ์์๊น?',
'์ฐํ๋ฌผ TFT ์์ ์ ๋ขฐ์ฑ ์ดํ๊ธฐ๊ตฌ\n๊ทธ๋ฌ๋ ์ด์ ๊ฐ์ ์์ด์จ ์ต์ ํ ๋ฐฉ๋ฒ์ ์ฐ์๊ณต๊ณต์ ๊ฐ์์ํค๊ธฐ ๋๋ฌธ์ ์ ์๋๋ ์ญ์ ๊ฐ์ํ๊ฒ ๋์ด ์ ๊ณ ์ด๋๋๊ฐ ๊ฐ์ํ๋ ๋ฌธ์ ์ ์ ์๊ณ ์๋ค.\n์ด๋ ์ฐํ๋ฌผ ๋ฐ๋์ฒด์ ์ ๋๊ธฐ๊ตฌ๊ฐ Percolation Conduction์ ๋ฐ๋ฅด๊ธฐ ๋๋ฌธ์ด๋ค. ',
'์ธํฌ๋์ฌ ๊ธฐ๋ฅ ๋ถ์์ ์ํ ๊ดํ์ผ์ ๊ธฐ๋ฐ ์ฉ์กด์ฐ์์ pH ์ธก์ ์์คํ
์ ์ ์ ๋ฐ ํน์ฑ ๋ถ์\n์์์ด์จ ๋๋๊ฐ ์ฆ๊ฐํ๋ ๊ฒฝ์ฐ์ธ \\( \\mathrm{pH} \\) ๊ฐ ๋ฎ์์ง๋ฉด ๋ค์์ ์์์ด์จ๋ค๊ณผ ์ถฉ๋ํ ๋ฐฉ์ถ ๊ด์ด ์๋์ง๋ฅผ ์๊ณ ์งง์ ๊ฒ์ถ์๊ฐ์ ๊ฐ๋๋ค. \n๋ฐ๋๋ก \\( \\mathrm{pH} \\)๊ฐ ๋์์ง์๋ก ํ๊ด๋ฌผ์ง๋ก๋ถํฐ ๋ฐฉ์ถ๋ ๊ด์ ์๋ช
์ด ๊ธธ์ด์ ธ ๊ธด ๊ฒ์ถ์๊ฐ์ ๊ฐ์ง๋ค.',
]
embeddings = model.encode(sentences)
print(embeddings.shape)
# [3, 50000]
# Get the similarity scores for the embeddings
similarities = model.similarity(embeddings, embeddings)
print(similarities)
# tensor([[ 46.0239, 57.8961, 22.8014],
# [ 57.8961, 270.6235, 56.5666],
# [ 22.8014, 56.5666, 275.8828]], device='cuda:0')Deploy This Model
Production-ready deployment in minutes
Together.ai
Instant API access to this model
Production-ready inference API. Start free, scale to millions.
Try Free APIReplicate
One-click model deployment
Run models in the cloud with simple API. No DevOps required.
Deploy NowDisclosure: We may earn a commission from these partners. This helps keep LLMYourWay free.