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-transformers
Usagepython
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

Fastest API

Production-ready inference API. Start free, scale to millions.

Try Free API

Replicate

One-click model deployment

Easiest Setup

Run models in the cloud with simple API. No DevOps required.

Deploy Now

Disclosure: We may earn a commission from these partners. This helps keep LLMYourWay free.