Feature Extraction
sentence-transformers
Safetensors
English
modernbert
sentence-similarity
scientific-documents
citation-context
text-embeddings-inference
Instructions to use anon-nlp/sciembed-full with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- sentence-transformers
How to use anon-nlp/sciembed-full with sentence-transformers:
from sentence_transformers import SentenceTransformer model = SentenceTransformer("anon-nlp/sciembed-full") 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,398 Bytes
17e803e | 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-FULL
Headline model. Stage 1 DAPT + contrastive on the ~30M-pair Signal A+B pool (1 epoch). The SciRepEval number in the paper is the mean over three seeds; this repo ships the seed-123 weights.
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-full")
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.6 | 28.2 | 80.9 | 82.7 | **66.85 ± 0.38** |
## Citation
See the repository README. Paper: *SciEmbed: Citation-Context Supervision for Scientific Document Embeddings* (under review).
|