CocoRoF / ModernBERT-SimCSE_v03

huggingface.co
Total runs: 88
24-hour runs: 0
7-day runs: 10
30-day runs: 16
Model's Last Updated: January 31 2025
sentence-similarity

Introduction of ModernBERT-SimCSE_v03

Model Details of ModernBERT-SimCSE_v03

SentenceTransformer based on answerdotai/ModernBERT-base

This is a sentence-transformers model finetuned from answerdotai/ModernBERT-base on the korean_nli_dataset dataset. It maps sentences & paragraphs to a 768-dimensional dense vector space and can be used for semantic textual similarity, semantic search, paraphrase mining, text classification, clustering, and more.

Model Details
Model Description
  • Model Type: Sentence Transformer
  • Base model: answerdotai/ModernBERT-base
  • Maximum Sequence Length: 512 tokens
  • Output Dimensionality: 768 dimensions
  • Similarity Function: Cosine Similarity
Model Sources
Full Model Architecture
SentenceTransformer(
  (0): Transformer({'max_seq_length': 512, 'do_lower_case': False}) with Transformer model: ModernBertModel 
  (1): Pooling({'word_embedding_dimension': 768, 'pooling_mode_cls_token': False, 'pooling_mode_mean_tokens': False, 'pooling_mode_max_tokens': False, 'pooling_mode_mean_sqrt_len_tokens': True, 'pooling_mode_weightedmean_tokens': False, 'pooling_mode_lasttoken': False, 'include_prompt': True})
  (2): Dense({'in_features': 768, 'out_features': 768, 'bias': True, 'activation_function': 'torch.nn.modules.activation.Tanh'})
)
Usage
Direct Usage (Sentence Transformers)

First install the Sentence Transformers library:

pip install -U sentence-transformers

Then you can load this model and run inference.

from sentence_transformers import SentenceTransformer

# Download from the ๐Ÿค— Hub
model = SentenceTransformer("x2bee/sts_nli_tune_test")
# Run inference
sentences = [
    '๋ฒ„์Šค๊ฐ€ ๋ฐ”์œ ๊ธธ์„ ๋”ฐ๋ผ ์šด์ „ํ•œ๋‹ค.',
    '๋…น์ƒ‰ ๋ฒ„์Šค๊ฐ€ ๋„๋กœ๋ฅผ ๋”ฐ๋ผ ๋‚ด๋ ค๊ฐ„๋‹ค.',
    '๊ทธ ์—ฌ์ž๋Š” ๋ฐ์ดํŠธํ•˜๋Ÿฌ ๊ฐ€๋Š” ์ค‘์ด๋‹ค.',
]
embeddings = model.encode(sentences)
print(embeddings.shape)
# [3, 768]

# Get the similarity scores for the embeddings
similarities = model.similarity(embeddings, embeddings)
print(similarities.shape)
# [3, 3]
Evaluation
Metrics
Semantic Similarity
Metric Value
pearson_cosine 0.8273
spearman_cosine 0.8298
pearson_euclidean 0.8112
spearman_euclidean 0.8214
pearson_manhattan 0.8125
spearman_manhattan 0.8226
pearson_dot 0.7648
spearman_dot 0.7648
pearson_max 0.8273
spearman_max 0.8298
Training Details
Training Dataset
korean_nli_dataset
  • Dataset: korean_nli_dataset at ef305ef
  • Size: 392,702 training samples
  • Columns: sentence1 , sentence2 , and score
  • Approximate statistics based on the first 1000 samples:
    sentence1 sentence2 score
    type string string float
    details
    • min: 4 tokens
    • mean: 35.7 tokens
    • max: 194 tokens
    • min: 4 tokens
    • mean: 19.92 tokens
    • max: 64 tokens
    • min: 0.0
    • mean: 0.48
    • max: 1.0
  • Samples:
    sentence1 sentence2 score
    ๊ฐœ๋…์ ์œผ๋กœ ํฌ๋ฆผ ์Šคํ‚ค๋ฐ์€ ์ œํ’ˆ๊ณผ ์ง€๋ฆฌ๋ผ๋Š” ๋‘ ๊ฐ€์ง€ ๊ธฐ๋ณธ ์ฐจ์›์„ ๊ฐ€์ง€๊ณ  ์žˆ๋‹ค. ์ œํ’ˆ๊ณผ ์ง€๋ฆฌํ•™์€ ํฌ๋ฆผ ์Šคํ‚ค๋ฐ์„ ์ž‘๋™์‹œํ‚ค๋Š” ๊ฒƒ์ด๋‹ค. 0.5
    ์‹œ์ฆŒ ์ค‘์— ์•Œ๊ณ  ์žˆ๋Š” ๊ฑฐ ์•Œ์•„? ๋„ค ๋ ˆ๋ฒจ์—์„œ ๋‹ค์Œ ๋ ˆ๋ฒจ๋กœ ์žƒ์–ด๋ฒ„๋ฆฌ๋Š” ๊ฑฐ์•ผ ๋ธŒ๋ ˆ์ด๋ธŒ์Šค๊ฐ€ ๋ชจํŒ€์„ ๋– ์˜ฌ๋ฆฌ๊ธฐ๋กœ ๊ฒฐ์ •ํ•˜๋ฉด ๋ธŒ๋ ˆ์ด๋ธŒ์Šค๊ฐ€ ํŠธ๋ฆฌํ”Œ A์—์„œ ํ•œ ๋‚จ์ž๋ฅผ ๋– ์˜ฌ๋ฆฌ๊ธฐ๋กœ ๊ฒฐ์ •ํ•˜๋ฉด ๋”๋ธ” A๊ฐ€ ๊ทธ๋ฅผ ๋Œ€์‹ ํ•˜๋Ÿฌ ์˜ฌ๋ผ๊ฐ€๊ณ  A ํ•œ ๋ช…์ด ๊ทธ๋ฅผ ๋Œ€์‹ ํ•˜๋Ÿฌ ์˜ฌ๋ผ๊ฐ„๋‹ค. ์‚ฌ๋žŒ๋“ค์ด ๊ธฐ์–ตํ•˜๋ฉด ๋‹ค์Œ ์ˆ˜์ค€์œผ๋กœ ๋ฌผ๊ฑด์„ ์žƒ๋Š”๋‹ค. 1.0
    ์šฐ๋ฆฌ ๋ฒˆํ˜ธ ์ค‘ ํ•˜๋‚˜๊ฐ€ ๋‹น์‹ ์˜ ์ง€์‹œ๋ฅผ ์„ธ๋ฐ€ํ•˜๊ฒŒ ์ˆ˜ํ–‰ํ•  ๊ฒƒ์ด๋‹ค. ์šฐ๋ฆฌ ํŒ€์˜ ์ผ์›์ด ๋‹น์‹ ์˜ ๋ช…๋ น์„ ์—„์ฒญ๋‚˜๊ฒŒ ์ •ํ™•ํ•˜๊ฒŒ ์‹คํ–‰ํ•  ๊ฒƒ์ด๋‹ค. 1.0
  • Loss: CosineSimilarityLoss with these parameters:
    {
        "loss_fct": "torch.nn.modules.loss.MSELoss"
    }
    
Evaluation Dataset
sts_dev
  • Dataset: sts_dev at 1de0cdf
  • Size: 1,500 evaluation samples
  • Columns: text , pair , and label
  • Approximate statistics based on the first 1000 samples:
    text pair label
    type string string float
    details
    • min: 7 tokens
    • mean: 20.38 tokens
    • max: 52 tokens
    • min: 6 tokens
    • mean: 20.52 tokens
    • max: 54 tokens
    • min: 0.0
    • mean: 0.42
    • max: 1.0
  • Samples:
    text pair label
    ์•ˆ์ „๋ชจ๋ฅผ ๊ฐ€์ง„ ํ•œ ๋‚จ์ž๊ฐ€ ์ถค์„ ์ถ”๊ณ  ์žˆ๋‹ค. ์•ˆ์ „๋ชจ๋ฅผ ์“ด ํ•œ ๋‚จ์ž๊ฐ€ ์ถค์„ ์ถ”๊ณ  ์žˆ๋‹ค. 1.0
    ์–ด๋ฆฐ์•„์ด๊ฐ€ ๋ง์„ ํƒ€๊ณ  ์žˆ๋‹ค. ์•„์ด๊ฐ€ ๋ง์„ ํƒ€๊ณ  ์žˆ๋‹ค. 0.95
    ํ•œ ๋‚จ์ž๊ฐ€ ๋ฑ€์—๊ฒŒ ์ฅ๋ฅผ ๋จน์ด๊ณ  ์žˆ๋‹ค. ๋‚จ์ž๊ฐ€ ๋ฑ€์—๊ฒŒ ์ฅ๋ฅผ ๋จน์ด๊ณ  ์žˆ๋‹ค. 1.0
  • Loss: CosineSimilarityLoss with these parameters:
    {
        "loss_fct": "torch.nn.modules.loss.MSELoss"
    }
    
Framework Versions
  • Python: 3.11.10
  • Sentence Transformers: 3.3.1
  • Transformers: 4.48.0
  • PyTorch: 2.5.1+cu124
  • Accelerate: 1.2.1
  • Datasets: 3.2.0
  • Tokenizers: 0.21.0
Citation
BibTeX
Sentence Transformers
@inproceedings{reimers-2019-sentence-bert,
    title = "Sentence-BERT: Sentence Embeddings using Siamese BERT-Networks",
    author = "Reimers, Nils and Gurevych, Iryna",
    booktitle = "Proceedings of the 2019 Conference on Empirical Methods in Natural Language Processing",
    month = "11",
    year = "2019",
    publisher = "Association for Computational Linguistics",
    url = "https://arxiv.org/abs/1908.10084",
}

Runs of CocoRoF ModernBERT-SimCSE_v03 on huggingface.co

88
Total runs
0
24-hour runs
-3
3-day runs
10
7-day runs
16
30-day runs

More Information About ModernBERT-SimCSE_v03 huggingface.co Model

ModernBERT-SimCSE_v03 huggingface.co

ModernBERT-SimCSE_v03 huggingface.co is an AI model on huggingface.co that provides ModernBERT-SimCSE_v03's model effect (), which can be used instantly with this CocoRoF ModernBERT-SimCSE_v03 model. huggingface.co supports a free trial of the ModernBERT-SimCSE_v03 model, and also provides paid use of the ModernBERT-SimCSE_v03. Support call ModernBERT-SimCSE_v03 model through api, including Node.js, Python, http.

ModernBERT-SimCSE_v03 huggingface.co Url

https://huggingface.co/CocoRoF/ModernBERT-SimCSE_v03

CocoRoF ModernBERT-SimCSE_v03 online free

ModernBERT-SimCSE_v03 huggingface.co is an online trial and call api platform, which integrates ModernBERT-SimCSE_v03's modeling effects, including api services, and provides a free online trial of ModernBERT-SimCSE_v03, you can try ModernBERT-SimCSE_v03 online for free by clicking the link below.

CocoRoF ModernBERT-SimCSE_v03 online free url in huggingface.co:

https://huggingface.co/CocoRoF/ModernBERT-SimCSE_v03

ModernBERT-SimCSE_v03 install

ModernBERT-SimCSE_v03 is an open source model from GitHub that offers a free installation service, and any user can find ModernBERT-SimCSE_v03 on GitHub to install. At the same time, huggingface.co provides the effect of ModernBERT-SimCSE_v03 install, users can directly use ModernBERT-SimCSE_v03 installed effect in huggingface.co for debugging and trial. It also supports api for free installation.

ModernBERT-SimCSE_v03 install url in huggingface.co:

https://huggingface.co/CocoRoF/ModernBERT-SimCSE_v03

Url of ModernBERT-SimCSE_v03

ModernBERT-SimCSE_v03 huggingface.co Url

Provider of ModernBERT-SimCSE_v03 huggingface.co

CocoRoF
ORGANIZATIONS

Other API from CocoRoF

huggingface.co

Total runs: 16
Run Growth: 10
Growth Rate: 62.50%
Updated:March 21 2025
huggingface.co

Total runs: 10
Run Growth: -6
Growth Rate: -60.00%
Updated:February 18 2025
huggingface.co

Total runs: 10
Run Growth: -4
Growth Rate: -40.00%
Updated:January 22 2025
huggingface.co

Total runs: 4
Run Growth: -2
Growth Rate: -50.00%
Updated:February 02 2025