AI SeedbankHelp preserve open and free AI for humanity's future

← All models

snunlp_KR-SBERT-V40K-klueNLI-augSTS

snunlp · View on Hugging Face ↗

Get this model

Download TorrentMagnet Link

Seeders: · Leechers:

Model card

The complete upstream card, rendered from this payload's README.md — the same hash-verified bytes the torrent distributes. Images and off-site links are removed; the original card on Hugging Face carries them.


pipeline_tag: sentence-similarity tags:

  • sentence-transformers
  • feature-extraction
  • sentence-similarity
  • transformers language:
  • ko widget:
  • source_sentence: "그 식당은 파리를 날린다" sentences:
    • "그 식당에는 손님이 없다"
    • "그 식당에서는 드론을 날린다"
    • "파리가 식당에 날아다닌다" example_title: "Restaurant"
  • source_sentence: "잠이 옵니다" sentences:
    • "잠이 안 옵니다"
    • "졸음이 옵니다"
    • "기차가 옵니다" example_title: "Sleepy"

snunlp/KR-SBERT-V40K-klueNLI-augSTS

This is a sentence-transformers model: It maps sentences & paragraphs to a 768 dimensional dense vector space and can be used for tasks like clustering or semantic search.

Usage (Sentence-Transformers)

Using this model becomes easy when you have sentence-transformers installed:

pip install -U sentence-transformers

Then you can use the model like this:

from sentence_transformers import SentenceTransformer
sentences = ["This is an example sentence", "Each sentence is converted"]

model = SentenceTransformer('snunlp/KR-SBERT-V40K-klueNLI-augSTS')
embeddings = model.encode(sentences)
print(embeddings)

Usage (HuggingFace Transformers)

Without sentence-transformers, you can use the model like this: First, you pass your input through the transformer model, then you have to apply the right pooling-operation on-top of the contextualized word embeddings.

from transformers import AutoTokenizer, AutoModel
import torch


#Mean Pooling - Take attention mask into account for correct averaging
def mean_pooling(model_output, attention_mask):
    token_embeddings = model_output[0] #First element of model_output contains all token embeddings
    input_mask_expanded = attention_mask.unsqueeze(-1).expand(token_embeddings.size()).float()
    return torch.sum(token_embeddings * input_mask_expanded, 1) / torch.clamp(input_mask_expanded.sum(1), min=1e-9)


# Sentences we want sentence embeddings for
sentences = ['This is an example sentence', 'Each sentence is converted']

# Load model from HuggingFace Hub
tokenizer = AutoTokenizer.from_pretrained('snunlp/KR-SBERT-V40K-klueNLI-augSTS')
model = AutoModel.from_pretrained('snunlp/KR-SBERT-V40K-klueNLI-augSTS')

# Tokenize sentences
encoded_input = tokenizer(sentences, padding=True, truncation=True, return_tensors='pt')

# Compute token embeddings
with torch.no_grad():
    model_output = model(**encoded_input)

# Perform pooling. In this case, mean pooling.
sentence_embeddings = mean_pooling(model_output, encoded_input['attention_mask'])

print("Sentence embeddings:")
print(sentence_embeddings)

Evaluation Results

For an automated evaluation of this model, see the Sentence Embeddings Benchmark: https://seb.sbert.net

Full Model Architecture

SentenceTransformer(
  (0): Transformer({'max_seq_length': 128, 'do_lower_case': False}) with Transformer model: BertModel 
  (1): Pooling({'word_embedding_dimension': 768, 'pooling_mode_cls_token': False, 'pooling_mode_mean_tokens': True, 'pooling_mode_max_tokens': False, 'pooling_mode_mean_sqrt_len_tokens': False})
)

Application for document classification

Tutorial in Google Colab: https://colab.research.google.com/drive/1S6WSjOx9h6Wh_rX1Z2UXwx9i_uHLlOiM

Model Accuracy
KR-SBERT-Medium-NLI-STS 0.8400
KR-SBERT-V40K-NLI-STS 0.8400
KR-SBERT-V40K-NLI-augSTS 0.8511
KR-SBERT-V40K-klueNLI-augSTS 0.8628

Citation

@misc{kr-sbert,
  author = {Park, Suzi and Hyopil Shin},
  title = {KR-SBERT: A Pre-trained Korean-specific Sentence-BERT model},
  year = {2021},
  publisher = {GitHub},
  journal = {GitHub repository},
  howpublished = {\url{https://github.com/snunlp/KR-SBERT}}
}

Magnet link

Opens the swarm directly in your torrent client — no file download needed. Copy-paste works too:

magnet:?xt=urn:btih:96172c65b31e0c7574989c1c147ee6c5a1cdf23d&dn=snunlp_KR-SBERT-V40K-klueNLI-augSTS

Open magnet in torrent client · infohash 96172c65b31e0c7574989c1c147ee6c5a1cdf23d

Files & hashes

PathSizesha1sha256
1_Pooling/config.json190 B (190 B)4e09f293dfe90bba49f87cfe7996271f07be2666a37f83ada23e7887be6b88f4998927dbeac0038af301553c7cd5461413bf1a56
README.md3.9 KB (4,017 B)130a16bff11b8eea0a0dc36e57434dbadbd6df79ce71cf3707755602c556c4cd867f08711e1fafdfa5802ccb95a75deb24be0983
config.json707 B (707 B)bdd53b37c327399211fd8f19c30c846f962c1fcbcf2f7fa0fa6ffd2b42fd9877fdc7f60e3ce6b766ce1eed27fabfcaac7bbeb320
config_sentence_transformers.json124 B (124 B)a8a56bb41b8d7c69bf26ed129db7347dbae3f53d8218e61943c17ddc349575b6a377346a8ddd1c824e6618e15d098f208744addd
modules.json229 B (229 B)f7640f94e81bb7f4f04daf1668850b38763a13d98f4b264b80206c830bebbdcae377e137925650a433b689343a63bdc9b3145460
pytorch_model.bin445.5 MB (467,111,985 B)130d2fe70de7592a4486a4a02d0993f954b9d449b0d200d161ee7340073737d92dde9baa75cc0b9bc2053464d68a69ec84fc4ada
sentence_bert_config.json53 B (53 B)5fd10429389515d3e5cccdeda08cae5fea1ae82e70f4448f31320443fe3557cacea5abf2dcc4915dda8c80646bec9f3bb0aa5a1f
special_tokens_map.json112 B (112 B)e7b0375001f109a6b8873d756ad4f7bbb15fbaa5303df45a03609e4ead04bc3dc1536d0ab19b5358db685b6f3da123d05ec200e3
tokenizer.json944.6 KB (967,247 B)08492f2bd486189f5bedaea8c75e3ff0921d9c051792ae652d6c0639dccac53635dbdb729c47007ec9b347375688c4436a48418f
tokenizer_config.json394 B (394 B)bb853ca60cadf18bb346d0b16ca233d38395baade940d9072afb173d9b40b833a41df2f46b004872939a75de7c00569413199a83
vocab.txt327.9 KB (335,724 B)6fad327e670f1ec2cc63a3f8a32d804006997e22ffb28c263e47db1f2bba161f382866496c323880f218e7fb652cb6582f1f62ca

Cite this release

Canonical URL
https://aiseedbank.org/models/snunlp_KR-SBERT-V40K-klueNLI-augSTS/
Slug
snunlp_KR-SBERT-V40K-klueNLI-augSTS
Infohash
96172c65b31e0c7574989c1c147ee6c5a1cdf23d
License
no license recorded
Signing key fingerprint
85a3b32c3712427b

Every file carries a locally computed sha256 — verify a download against the signed sums: snunlp_KR-SBERT-V40K-klueNLI-augSTS.SHA256SUMS (+ minisign signature).

Provenance

Upstream repositorysnunlp/KR-SBERT-V40K-klueNLI-augSTS
Revision (pinned)92c6c2c7032f680bff0f9f0c63fadd3f97e635b2
Fetched at2026-09-04T05:39:57Z
License at fetchno license recorded
Snapshot toolhuggingface · seedbank 0.1.0

Trackers

✓ verified · rehash-vs-hf-metadata at 2026-09-04T05:40:04Z

no license recorded446.7 MB (468,420,782 bytes)sentence-transformerspytorchbertfeature-extractionsentence-similaritytransformerstext-embeddings-inferenceendpoints_compatible1 language (ko)