File size: 5,752 Bytes
49e3e0c
 
 
 
 
 
 
eee9c97
 
 
49e3e0c
eee9c97
 
 
 
49e3e0c
 
eee9c97
49e3e0c
eee9c97
49e3e0c
eee9c97
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
---
license: apache-2.0
language:
- en
pipeline_tag: sentence-similarity
library_name: sentence-transformers
tags:
- embeddings
- retrieval
- semantic-search
- multimodal
- image-text-retrieval
- document-retrieval
- sentence-transformers
- pytorch
---

# **Silas-Embedding**

## **Model Description**

**Silas-Embedding** is an embedding model from **Convence Lab** for semantic search, retrieval, reranking pipelines, and multimodal embedding experiments.

The model is designed to embed queries and documents into a shared vector space for fast retrieval. It can be used for document search, question-to-passage matching, image-text retrieval experiments, and retrieval-augmented generation pipelines.

* **Developed by:** Convence Lab
* **Model name:** Silas-Embedding
* **Model type:** Embedding model
* **Primary task:** Text and multimodal retrieval
* **License:** Apache 2.0

---

## **Core Capabilities**

Silas-Embedding focuses on practical retrieval behavior:

* **Semantic Search** - Match natural-language queries to relevant passages or documents.
* **Document Retrieval** - Retrieve policy notes, memos, document chunks, and structured text.
* **RAG Pipelines** - Use embeddings as the retrieval layer before generation.
* **Similarity Scoring** - Compare query/document or sentence-pair similarity.
* **Multimodal Retrieval Experiments** - Supports image-text style embedding workflows when used with compatible tooling.

---

## **Benchmark Results**

### **ParseEmbed**

ParseEmbed is an internal Convence retrieval benchmark candidate. These results are provided as an early, unverified benchmark score while the benchmark is still being prepared for broader validation.

| Benchmark | Split | Queries | Corpus | Recall@1 | Recall@5 | Recall@10 | MRR@10 | NDCG@10 |
| :---- | :---- | ----: | ----: | ----: | ----: | ----: | ----: | ----: |
| ParseEmbed | test | 720 | 2,880 | **51.67%** | **98.06%** | **99.86%** | **72.71%** | **79.61%** |

Evaluation settings:

* Dataset: `Convence/ParseEmbed`
* Query config: `queries`
* Corpus config: `corpus`
* Qrels config: `default`
* Max sequence length: `512`
* Batch size: `32`
* Evaluation date: 2026-05-21

---

## **Getting Started**

Install dependencies:

```bash
pip install -U sentence-transformers torch torchvision transformers
```

Load the model:

```python
from sentence_transformers import SentenceTransformer

model = SentenceTransformer("Convence/Silas-Embedding", trust_remote_code=True)

queries = [
    "Find the memo where payment hold is capped at 96 hours during Q1.",
]

documents = [
    "Cedar privacy requests memo: The payment hold is capped at 96 hours during Q1, after the second failed retry.",
    "Cedar privacy requests memo: The payment hold target is at least 96 hours during Q1.",
]

query_embeddings = model.encode(queries, normalize_embeddings=True)
document_embeddings = model.encode(documents, normalize_embeddings=True)

scores = query_embeddings @ document_embeddings.T
print(scores)
```

For retrieval, use the highest-scoring documents as candidates:

```python
import numpy as np

top_k = 2
ranking = np.argsort(-scores[0])[:top_k]

for idx in ranking:
    print(float(scores[0][idx]), documents[idx])
```

---

## **Recommended Usage**

### **Semantic Retrieval**

Use short instruction prefixes for better retrieval consistency:

```text
query: <user question>
passage: <document text>
```

Example:

```python
query = "query: Find the refund policy for enterprise customers."
passage = "passage: Enterprise refund requests must be reviewed within 7 business days."
```

### **RAG**

Recommended retrieval flow:

1. Split documents into chunks.
2. Embed chunks with Silas-Embedding.
3. Store vectors in a vector database.
4. Embed the user query.
5. Retrieve top-k chunks.
6. Optionally rerank the top results with a reranker.
7. Pass the final context to a language model.

### **ParseEmbed-Style Retrieval**

For high-precision first-result retrieval, pair Silas-Embedding with a reranker. The ParseEmbed result shows strong candidate retrieval at `Recall@5` and `Recall@10`, while `Recall@1` can still improve with more hard-negative training.

---

## **Model Details**

| Property | Silas-Embedding |
| :---- | :---- |
| **Organization** | Convence Lab |
| **Primary Task** | Embedding / retrieval |
| **Supported Use Cases** | Semantic search, RAG, document retrieval, similarity scoring |
| **Recommended Max Sequence Length** | 512 |
| **Library** | Sentence Transformers |
| **License** | Apache 2.0 |

---

## **Limitations**

* ParseEmbed is currently an internal benchmark candidate and should not be treated as an official leaderboard result yet.
* Top-1 retrieval is still improving; reranking is recommended for high-stakes retrieval.
* Embeddings may be sensitive to prompt formatting, chunk size, and document noise.
* Long documents should be chunked before embedding.
* The model may retrieve semantically similar but factually incorrect distractors when the corpus contains hard negatives.
* Do not use retrieval results without validation for legal, medical, financial, identity, or safety-critical decisions.

---

## **Ethics and Safety**

Embedding models can be used to retrieve sensitive or private information from large document collections. Users are responsible for applying access controls, dataset permissions, privacy review, and logging policies when deploying this model.

Silas-Embedding should be used with care when indexing personal data, private records, confidential documents, or regulated information.

---

## **Citation**

```bibtex
@misc{convence2026silasembedding,
  title={Silas-Embedding},
  author={Convence Lab},
  year={2026},
  url={https://huggingface.co/Convence/Silas-Embedding}
}
```