Downloads · 30 days
2K
56% of all-time downloads
ethicalabs/Echo-DSRN-v0.1.3-Embed-Exp
Echo-DSRN-v0.1.3-Embed-Exp is a sentence similarity model from ethicalabs. Use it when you need a score for how close two texts are. It is set up for sentence-transformers.
[](https://github.com/ethicalabs-ai/Echo-DSRN/) [](https://opensource.org/licenses/Apache-2.0) [](https://www.python.org/downloads/)
Downloads · 30 days
2K
56% of all-time downloads
All-time downloads
3.6K
Public
Parameters
98.3M
393 MB on disk
Likes
1
Public
Click a slice to open those files.
.safetensors393 MB · 99%
From the Hugging Face model README
[!WARNING] This repository contains experimental models designed strictly for academic evaluation and research purposes.
Critical Constraints:
- No Production Deployment: Experimental models must not be deployed in commercial, enterprise, or mission-critical environments under any circumstances.
- No Liability: Experimental models are provided "as-is" without warranties of any kind. The developers assume zero liability for downstream consequences, system integration failures, or regulatory non-compliance resulting from unauthorized deployment.
This is a high-performance experimental sentence embedding model based on the recurrent-hybrid Echo-DSRN architecture.
It scales linearly ($O(N)$) with sequence length, offering extreme efficiency and sub-millisecond latency on both CPU and GPU.
Spearman Rank Correlation scores on Semantic Textual Similarity (STS) benchmark tasks:
| Benchmark Task | Echo-DSRN (Ours) |
|---|---|
| STS12 | 0.6667 |
| STS13 | 0.7692 |
| STS14 | 0.7683 |
| STS15 | 0.8227 |
| STS16 | 0.7460 |
| STSBenchmark | 0.7293 |
| SICK-R | 0.7876 |
| Average STS | 0.7557 |
Inference performance (latency and peak VRAM allocation) on GPU and CPU configurations across different sequence lengths:
| Sequence Length | Echo-DSRN Latency (GPU) | Echo-DSRN VRAM (GPU) |
|---|---|---|
| 128 | 15.93 ms | 516.69 MB |
| 256 | 17.56 ms | 548.44 MB |
| 512 | 32.14 ms | 604.95 MB |
| 1024 | 71.30 ms | 710.96 MB |
| 2048 | 155.26 ms | 932.99 MB |
| 4096 | N/A (OOR) | N/A (OOR) |
| Sequence Length | Echo-DSRN Latency (CPU) |
|---|---|
| 128 | 48.50 ms |
| 256 | 84.94 ms |
| 512 | 160.93 ms |
| 1024 | 328.93 ms |
| 2048 | 727.57 ms |
| 4096 | N/A (OOR) |
Note: 'N/A (OOR)' indicates sequence length exceeds model's maximum position embedding range.
| Property | Value |
|---|---|
| Layers | 8 |
| Hidden Dim | 512 |
| Vocab Size | 32017 |
| Attention Heads | 4 |
| Component | Parameters | % of Total |
|---|---|---|
| Total | 98.26M (98,264,064) | 100% |
| Embeddings | 16.39M | 16.68% |
| DSRN Recurrent Blocks | 81.87M | 83.32% |
| Norms & Biases | 512 | 0.00% |
You can load and use this model directly via sentence-transformers:
from sentence_transformers import SentenceTransformer
# Load model with auto-mapping enabled
model = SentenceTransformer("ethicalabs/Echo-DSRN-v0.1.3-Embed-Exp", trust_remote_code=True)
# Encode text to get 2048-dimensional embeddings
sentences = ["The recurrent slow state contains the aligned sequence representations.", "Echo-DSRN has linear complexity."]
embeddings = model.encode(sentences)
print(embeddings.shape) # (2, 2048)
The model was trained in three sequential phases:
This model card was automatically generated by scripts/generate_model_card.py.
The benchmark results on this card (STS table) were measured with left
padding (padding_side: left), and this model version reproduces them under
that convention. A right-padded training version is planned: right padding
keeps padded-batch embeddings consistent with single-request embeddings
(leading pad tokens do not pollute the recurrent state), so future
checkpoints will be batch-composition independent.