Model reference · open weights

msmarco-roberta-ance-firstp

Embeddings sentence-transformers Embeddings 1 build Open weights 1k dl/mo

msmarco-roberta-ance-firstp is an open-weight embedding model from sentence-transformers. msmarco-roberta-base-ance-firstp (FP32) weighs 249 MB; the smallest configuration that runs it is RTX 3060 12 GB.

For self-hosting, compare this build's requirements below with the GPU you plan to rent.

  • msmarco-roberta-ance-firstp is a sentence-similarity model developed by sentence-transformers that maps sentences and paragraphs to a 768-dimensional dense vector space.
  • It is designed for tasks such as clustering and semantic search.
  • The model contains 125M parameters, supports a context length of 514 tokens, and is released under the apache-2.0 licence.

Summary of the sentence-transformers/msmarco-roberta-base-ance-firstp model card, 2026-10-01

What it is

Released bysentence-transformers
Released2022-03-02
Parameters125M
VRAM249 MB for the weights

What it runs on

Memory and cards for msmarco-roberta-base-ance-firstp (FP32)

249 MBweights, file size
1.1 GBruntime overhead
CardRunsMemory
RTX 3060 12 GBfits11.6 GB
RTX 4060 Ti 16 GBfits15.4 GB
RTX 3090 24 GBfits23.4 GB
RTX 4090 24 GBfits23.4 GB
RTX 5090 32 GBfits31.0 GB
L40S 48 GBfits44.0 GB
A100 80 GBfits78.2 GB
H100 80 GBfits78.1 GB
RTX PRO 6000 Blackwell 96 GBfits93.8 GB
DGX Spark (GB10) 128 GB unifiedfits107 GB
H200 141 GBfits138 GB
B200 180 GBfits176 GB

From the model card

What sentence-transformers says about msmarco-roberta-ance-firstp

Read the model card

This is a port of the ANCE FirstP Model to sentence-transformers model: It maps sentences & paragraphs to a 768 dimensional dense vector space and can be used for tasks like clustering or semantic search.

Usage (Sentence-Transformers)

Using this model becomes easy when you have sentence-transformers installed:

pip install -U sentence-transformers

Then you can use the model like this:

from sentence_transformers import SentenceTransformer
sentences = ["This is an example sentence", "Each sentence is converted"]

model = SentenceTransformer('sentence-transformers/msmarco-roberta-base-ance-firstp')
embeddings = model.encode(sentences)
print(embeddings)

Full Model Architecture

SentenceTransformer(
  (0): Transformer({'max_seq_length': 512, 'do_lower_case': True}) with Transformer model: RobertaModel
  (1): Pooling({'word_embedding_dimension': 768, 'pooling_mode_cls_token': True, 'pooling_mode_mean_tokens': False, 'pooling_mode_max_tokens': False, 'pooling_mode_mean_sqrt_len_tokens': False})
  (2): Dense({'in_features': 768, 'out_features': 768, 'bias': True, 'activation_function': 'torch.nn.modules.linear.Identity'})
  (3): LayerNorm(
    (norm): LayerNorm((768,), eps=1e-05, elementwise_affine=True)
  )
)

Citing & Authors

Have a look at: ANCE Model

Quoted from the model card on Hugging Face. The full card is behind the Hugging Face link above.

© 2026 AxForge · EU-hosted AI infrastructure Pricing Docs Trust Privacy Terms