Model reference · open weights

affilgood-dense-retriever

Available as managed deployment Embeddings SIRIS-Lab Embeddings 1 variants 2k dl/mo

affilgood-dense-retriever is an open-weight embedding model from SIRIS-Lab. AxForge deploys and operates it for you on dedicated EU-owned hardware — with the licence handled where one is required.

Available as managed deployment — configured and operated for you on dedicated EU hardware, quoted per deployment.

What it is

Released bySIRIS-Lab
TypeEmbedding models
TaskEmbeddings
Parameters (lead)560M
Context514 tokens
Runs withsentence-transformers
Released2025-04-16
Popularity2k downloads / month
LicenceUnknown

About

What affilgood-dense-retriever is

This is a sentence-transformers model trained. It maps sentences & paragraphs to a 1024-dimensional dense vector space and can be used for semantic textual similarity, semantic search, paraphrase mining, text classification, clustering, and more.

Read the full model card

Model Details

Model Description

  • Model Type: Sentence Transformer

  • Maximum Sequence Length: 128 tokens

  • Output Dimensionality: 1024 dimensions

  • Similarity Function: Cosine Similarity

Model Sources

Full Model Architecture

SentenceTransformer(
  (0): Transformer({'max_seq_length': 128, 'do_lower_case': False}) with Transformer model: XLMRobertaModel
  (1): Pooling({'word_embedding_dimension': 1024, 'pooling_mode_cls_token': False, 'pooling_mode_mean_tokens': True, 'pooling_mode_max_tokens': False, 'pooling_mode_mean_sqrt_len_tokens': False, 'pooling_mode_weightedmean_tokens': False, 'pooling_mode_lasttoken': False, 'include_prompt': True})
  (2): Normalize()
)

Usage

Direct Usage (Sentence Transformers)

First install the Sentence Transformers library:

pip install -U sentence-transformers

Then you can load this model and run inference.

from sentence_transformers import SentenceTransformer

# Download from the 🤗 Hub
model = SentenceTransformer("SIRIS-Lab/affilgood-dense-retriever")
# Run inference
sentences = [
    '[MENTION] Hyderabad Cleft Society [COUNTRY] India',
    '[MENTION] Hyderabad Cleft Society [ACRONYM] HCS [CITY] Hyderabad [COUNTRY] India',
    '[MENTION] Hyderabad Rheumatology Center [ACRONYM] HRC [CITY] Hyderabad [COUNTRY] India',
]
embeddings = model.encode(sentences)
print(embeddings.shape)
# [3, 1024]

# Get the similarity scores for the embeddings
similarities = model.similarity(embeddings, embeddings)
print(similarities.shape)
# [3, 3]

Evaluation

Metrics

Semantic Similarity
MetricValue
pearson_cosine0.7073
spearman_cosine0.6826

Training Details

Training Dataset

Unnamed Dataset
  • Size: 47,610 training samples
  • Columns: sentence_0, sentence_1, and sentence_2
  • Approximate statistics based on the first 1000 samples:
    sentence_0sentence_1sentence_2
    typestringstringstring
    detailsmin: 5 tokensmean: 13.61 tokensmax: 32 tokensmin: 9 tokensmean: 18.63 tokensmax: 56 tokensmin: 10 tokensmean: 19.66 tokensmax: 58 tokens
  • Samples:
    sentence_0sentence_1sentence_2
    [MENTION] The Prince Of Wales'S Institute Of Architecture [CITY] London [COUNTRY] United Kingdom[MENTION] The Princes Foundation [CITY] London [COUNTRY] United Kingdom[MENTION] Royal Institute of British Architects [ACRONYM] RIBA [CITY] London [COUNTRY] United Kingdom
    [MENTION] Development Finance & Public Policies [COUNTRY] Belgium[MENTION] Development Finance and Public Policies [ACRONYM] DEFIPP [PARENT] University of Namur [CITY] Namur [COUNTRY] Belgium[MENTION] Service Public Federal Finances [ACRONYM] SPF [CITY] Brussels [COUNTRY] Belgium
    [MENTION] EES [COUNTRY] United States[MENTION] Emerald Education Systems [ACRONYM] EES [CITY] Pasadena [COUNTRY] United States[MENTION] ESI Group (United States) [ACRONYM] ESI [PARENT] ESI Group (France) [ACRONYM] ESI [CITY] Farmington Hills [COUNTRY] United States
  • Loss: MultipleNegativesRankingLoss with these parameters:
    {
        "scale": 20.0,
        "similarity_fct": "cos_sim"
    }
    

Training Hyperparameters

Non-Default Hyperparameters
  • `ev

From the published model card. Full card on the HuggingFace links in the sidebar.

Benchmarks

Reported results

As published on the model card — the maker's own numbers, not measured by AxForge.

TaskDatasetMetricScore
Semantic Similarityentity linking evalPearson Cosine0.707
Semantic Similarityentity linking evalSpearman Cosine0.683

Using it via the API

Call it like any OpenAI endpoint

Once AxForge deploys affilgood-dense-retriever for you, it answers on the OpenAI-compatible API — the same base URL and keys as every other model. (affilgood-dense-retriever below is illustrative; you get the exact model name on deployment.)

$ curl -sS https://api.axforge.ai/v1/embeddings \
  -H "Authorization: Bearer $AXFORGE_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"model":"affilgood-dense-retriever","input":"text to embed"}'

Create an account — your API key is available in the console. 3M free tokens every 30 days with every new account.

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