Feature Extraction
sentence-transformers
Safetensors
English
modernbert
sentence-similarity
scientific-documents
citation-context
text-embeddings-inference
Instructions to use anon-nlp/sciembed-base with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- sentence-transformers
How to use anon-nlp/sciembed-base with sentence-transformers:
from sentence_transformers import SentenceTransformer model = SentenceTransformer("anon-nlp/sciembed-base") sentences = [ "The weather is lovely today.", "It's so sunny outside!", "He drove to the stadium." ] embeddings = model.encode(sentences) similarities = model.similarity(embeddings, embeddings) print(similarities.shape) # [3, 3] - Notebooks
- Google Colab
- Kaggle
File size: 1,316 Bytes
db06607 | 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 | ---
license: mit
library_name: sentence-transformers
pipeline_tag: feature-extraction
tags:
- sentence-transformers
- feature-extraction
- sentence-similarity
- scientific-documents
- modernbert
- citation-context
base_model: answerdotai/ModernBERT-base
language:
- en
---
# SciEmbed-BASE
Signal A only (citation edges), 7M pairs, 3 epochs. The citation-edge baseline that isolates what Signal B adds.
A 149M-parameter ModernBERT-base scientific document embedder trained with citation-context sentences as the primary contrastive signal. Part of the **SciEmbed** release (paper under double-blind review; author info omitted).
## Usage
```python
from sentence_transformers import SentenceTransformer
model = SentenceTransformer("anon-nlp/sciembed-base")
emb = model.encode(["citation-context supervision for scientific embeddings"],
normalize_embeddings=True)
```
- **Context length:** 512 tokens
- **Pooling:** mean · **Output dim:** 768 (Matryoshka-truncatable to 512/256/128)
- **License:** MIT
## SciRepEval (4-category macro)
| Classif. | Regr. | Prox. | Search | Overall |
|---|---|---|---|---|
| 75.3 | 26.8 | 80.2 | 82.2 | 66.1 ± 0.09 |
## Citation
See the repository README. Paper: *SciEmbed: Citation-Context Supervision for Scientific Document Embeddings* (under review).
|