Model reference · open weights

udever-bloom

Available as managed deployment Licence fee Embeddings izhx · community Embeddings 1 variants 515 dl/mo

udever-bloom is an open-weight embedding model from izhx. 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 byizhx
TypeEmbedding models
TaskEmbeddings
Runs withtransformers
Released2023-10-24
Popularity515 downloads / month
LicenceCommercial licence needed

About

What udever-bloom is

udever-bloom-560m is finetuned from bigscience/bloom-560m via BitFit on MS MARCO Passage Ranking, SNLI and MultiNLI data. It is a universal embedding model across tasks, natural and programming languages. (From the technical view, udever is merely with some minor improvements to sgpt-bloom)

Read the full model card

Model Details

Model Description

Model Sources

Checkpoints

On ModelScope / 魔搭社区: udever-bloom-560m, udever-bloom-1b1, udever-bloom-3b, udever-bloom-7b1

How to Get Started with the Model

Use the code below to get started with the model.

import torch
from transformers import AutoTokenizer, BloomModel

tokenizer = AutoTokenizer.from_pretrained('izhx/udever-bloom-560m')
model = BloomModel.from_pretrained('izhx/udever-bloom-560m')

boq, eoq, bod, eod = '[BOQ]', '[EOQ]', '[BOD]', '[EOD]'
eoq_id, eod_id = tokenizer.convert_tokens_to_ids([eoq, eod])

if tokenizer.padding_side != 'left':
    print('!!!', tokenizer.padding_side)
    tokenizer.padding_side = 'left'

def encode(texts: list, is_query: bool = True, max_length=300):
    bos = boq if is_query else bod
    eos_id = eoq_id if is_query else eod_id
    texts = [bos + t for t in texts]
    encoding = tokenizer(
        texts, truncation=True, max_length=max_length - 1, padding=True
    )
    for ids, mask in zip(encoding['input_ids'], encoding['attention_mask']):
        ids.append(eos_id)
        mask.append(1)
    inputs = tokenizer.pad(encoding, return_tensors='pt')
    with torch.inference_mode():
        outputs = model(**inputs)
        embeds = outputs.last_hidden_state[:, -1]
    return embeds

encode(['I am Bert', 'You are Elmo'])

Training Details

Training Data

  • MS MARCO Passage Ranking, retrieved by (https://github.com/UKPLab/sentence-transformers/blob/master/examples/training/ms_marco/train_bi-encoder_mnrl.py#L86)
  • SNLI and MultiNLI (https://sbert.net/datasets/AllNLI.tsv.gz)

Training Procedure

Preprocessing

MS MARCO hard negatives provided by (https://github.com/UKPLab/sentence-transformers/blob/master/examples/training/ms_marco/train_bi-encoder_mnrl.py#L86). Negatives for SNLI and MultiNLI are randomly sampled.

Training Hyperparameters
  • Training regime: tf32, BitFit
  • Batch size: 1024
  • Epochs: 3
  • Optimizer: AdamW
  • Learning rate: 1e-4
  • Scheduler: constant with warmup.
  • Warmup: 0.25 epoch

Evaluation

Table 1: Massive Text Embedding Benchmark MTEB

MTEBAvg.Class.Clust.PairClass.Rerank.Retr.STSSumm.
#Datasets ➡️5612113415101
bge-large-en-v1.564.2375.9746.0887.1260.0354.2983.1131.61
bge-base-en-v1.563.5575.5345.7786.5558.8653.2582.431.07
gte-large63.1373.3346.848559.1352.2283.3531.66
gte-base62.3973.0146.284.5758.6151.1482.331.17
e5-large-v262.2575.2444.4986.0356.6150.5682.0530.19
instructor-xl61.7973.1244.7486.6257.2949.2683.0632.32
instructor-large61.5973.8645.2985.8957.5447.5783.1531.84
e5-base-v261.573.8443.885.7355.9150.2981.0530.28
e5-large61.4273.1443.3385.9456.5349.9982.0630.97
text-embedding-ada-002 (OpenAI API)60.9970.9345.984.8956.3249.2580.9730.8
e5-base60.4472.6342.1185.0955.748.7580.9631.01
SGPT-5.8B-msmarco58.9368.1340.348256.5650.2578.131.46
sgpt-bloom-7b1-msmarco57.5966.1938.9381.955.6548.2277.7433.6
Udever-bloom-560m55.8068.0436.8981.0552.6041.1979.9332.06
Udever-bloom-1b158.2870.1839.1183.1154.2845.2781.5231.10
Udever-bloom-3b59.8671.9140.7484.0654.9047.6782.3730.62
Udever-bloom-7b160.6372.1340.8185.4055.9149.3483.0130.97

Table 2: CodeSearchNet

CodeSearchNetGoRubyPythonJavaJSPHPAvg.
CodeBERT69.370.684.086.874.870.676.0
GraphCodeBERT84.173.287.975.771.172.577.4
cpt-code S97.786.399.894.086.096.793.4
cpt-code M97.585.599.994.486.597.293.5
sgpt-bloom-7b1-msmarco76.7969.2595.6877.9370.3573.4577.24

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
STSMTEB AFQMCcos_sim_pearson25.170
STSMTEB AFQMCcos_sim_spearman25.320
STSMTEB AFQMCeuclidean_pearson25.343
STSMTEB AFQMCeuclidean_spearman25.528
STSMTEB AFQMCmanhattan_pearson25.734
STSMTEB AFQMCmanhattan_spearman25.922
STSMTEB ATECcos_sim_pearson32.336
STSMTEB ATECcos_sim_spearman33.458
STSMTEB ATECeuclidean_pearson35.147
STSMTEB ATECeuclidean_spearman33.378
STSMTEB ATECmanhattan_pearson35.359
STSMTEB ATECmanhattan_spearman33.524
ClassificationMTEB AmazonCounterfactualClassification (en)accuracy72.358
ClassificationMTEB AmazonCounterfactualClassification (en)ap35.456
ClassificationMTEB AmazonCounterfactualClassification (en)f166.495
ClassificationMTEB AmazonCounterfactualClassification (de)accuracy66.424
ClassificationMTEB AmazonCounterfactualClassification (de)ap78.328
ClassificationMTEB AmazonCounterfactualClassification (de)f164.250
ClassificationMTEB AmazonCounterfactualClassification (en-ext)accuracy73.658
ClassificationMTEB AmazonCounterfactualClassification (en-ext)ap21.734
ClassificationMTEB AmazonCounterfactualClassification (en-ext)f160.521
ClassificationMTEB AmazonCounterfactualClassification (ja)accuracy56.863
ClassificationMTEB AmazonCounterfactualClassification (ja)ap12.906
ClassificationMTEB AmazonCounterfactualClassification (ja)f146.686

Using it via the API

Call it like any OpenAI endpoint

Once AxForge deploys udever-bloom for you, it answers on the OpenAI-compatible API — the same base URL and keys as every other model. (udever-bloom 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":"udever-bloom","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