dleemiller / EttinX-sts-xxs

huggingface.co
Total runs: 19
24-hour runs: 0
7-day runs: 1
30-day runs: 1
Model's Last Updated: October 14 2025
text-classification

Introduction of EttinX-sts-xxs

Model Details of EttinX-sts-xxs

EttinX Cross-Encoder: Semantic Similarity (STS)

Cross encoders are high performing encoder models that compare two texts and output a 0-1 score. I've found the cross-encoders/roberta-large-stsb model to be very useful in creating evaluators for LLM outputs. They're simple to use, fast and very accurate.

The Ettin series followed up with new encoders trained on the ModernBERT architecture, with a range of sizes, starting at 17M. The reduced parameters and computationally efficient interleaved local/global attention layers make this a very fast model, which can easily process a few hundred sentence pairs per second on CPU, and a few thousand per second on my A6000.


Features
  • High performing: Achieves Pearson: 0.8316 and Spearman: 0.8211 on the STS-Benchmark test set.
  • Efficient architecture: Based on the Ettin-encoder design (17M parameters), offering very fast inference speeds.
  • Extended context length: Processes sequences up to 8192 tokens, great for LLM output evals.
  • Diversified training: Pretrained on dleemiller/wiki-sim and fine-tuned on sentence-transformers/stsb .

Performance
Model STS-B Test Pearson STS-B Test Spearman Context Length Parameters Speed
ModernCE-large-sts 0.9256 0.9215 8192 395M Medium
ModernCE-base-sts 0.9162 0.9122 8192 149M Fast
stsb-roberta-large 0.9147 - 512 355M Slow
stsb-distilroberta-base 0.8792 - 512 82M Fast
EttinX-sts-xxs 0.8316 0.8211 8192 17M Very Fast

Usage

To use EttinX for semantic similarity tasks, you can load the model with the Hugging Face sentence-transformers library:

from sentence_transformers import CrossEncoder

# Load EttinX model
model = CrossEncoder("dleemiller/EttinX-sts-xxs")

# Predict similarity scores for sentence pairs
sentence_pairs = [
    ("It's a wonderful day outside.", "It's so sunny today!"),
    ("It's a wonderful day outside.", "He drove to work earlier."),
]
scores = model.predict(sentence_pairs)

print(scores)  # Outputs: array([0.9184, 0.0123], dtype=float32)
Output

The model returns similarity scores in the range [0, 1] , where higher scores indicate stronger semantic similarity.


Training Details
Pretraining

The model was pretrained on the pair-score-sampled subset of the dleemiller/wiki-sim dataset. This dataset provides diverse sentence pairs with semantic similarity scores, helping the model build a robust understanding of relationships between sentences.

  • Classifier Dropout: a somewhat large classifier dropout of 0.3, to reduce overreliance on teacher scores.
  • Objective: STS-B scores from cross-encoder/stsb-roberta-large .
Fine-Tuning

Fine-tuning was performed on the sentence-transformers/stsb dataset.

Validation Results

The model achieved the following test set performance after fine-tuning:

  • Pearson Correlation: 0.8316
  • Spearman Correlation: 0.8211

Model Card
  • Architecture: Ettin-encoder-17m
  • Tokenizer: Custom tokenizer trained with modern techniques for long-context handling.
  • Pretraining Data: dleemiller/wiki-sim (pair-score-sampled)
  • Fine-Tuning Data: sentence-transformers/stsb

Thank You

Thanks to the Johns Hopkins team for providing the ModernBERT models, and the Sentence Transformers team for their leadership in transformer encoder models.


Citation

If you use this model in your research, please cite:

@misc{ettinxstsb2025,
  author = {Miller, D. Lee},
  title = {EttinX STS: An STS cross encoder model},
  year = {2025},
  publisher = {Hugging Face Hub},
  url = {https://huggingface.co/dleemiller/EttinX-sts-xxs},
}

License

This model is licensed under the MIT License .

Runs of dleemiller EttinX-sts-xxs on huggingface.co

19
Total runs
0
24-hour runs
2
3-day runs
1
7-day runs
1
30-day runs

More Information About EttinX-sts-xxs huggingface.co Model

More EttinX-sts-xxs license Visit here:

https://choosealicense.com/licenses/mit

EttinX-sts-xxs huggingface.co

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

dleemiller EttinX-sts-xxs online free

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

dleemiller EttinX-sts-xxs online free url in huggingface.co:

https://huggingface.co/dleemiller/EttinX-sts-xxs

EttinX-sts-xxs install

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

EttinX-sts-xxs install url in huggingface.co:

https://huggingface.co/dleemiller/EttinX-sts-xxs

Url of EttinX-sts-xxs

EttinX-sts-xxs huggingface.co Url

Provider of EttinX-sts-xxs huggingface.co

dleemiller
ORGANIZATIONS

Other API from dleemiller

huggingface.co

Total runs: 25
Run Growth: -46
Growth Rate: -184.00%
Updated:March 06 2025