Model reference · open weights

udever-bloom-1b1

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

udever-bloom-1b1 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
Popularity530 downloads / month
LicenceCommercial licence needed

About

What udever-bloom-1b1 is

udever-bloom-1b1 is finetuned from bigscience/bloom-1b1 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

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-1b1')
model = BloomModel.from_pretrained('izhx/udever-bloom-1b1')

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
Udever-bloom-560m75.3866.6796.2378.9969.3973.6976.73
Udever-bloom-1b178.7672.8597.6782.7774.3878.9780.90
Udever-bloom-3b80.6375.4098.0283.8876.1879.6782.29
Udever-bloom-7b179.3776.5998.3884.6877.4980.0382.76

Table 3: Chinese multi-domain retrieval Multi-cpr

E-commerceEntertainment videoMedical
ModelTrainBackboneMRR@10Recall@1kMRR@10Recall@1

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_pearson27.900
STSMTEB AFQMCcos_sim_spearman27.981
STSMTEB AFQMCeuclidean_pearson27.412
STSMTEB AFQMCeuclidean_spearman27.608
STSMTEB AFQMCmanhattan_pearson27.494
STSMTEB AFQMCmanhattan_spearman27.715
STSMTEB ATECcos_sim_pearson35.153
STSMTEB ATECcos_sim_spearman35.864
STSMTEB ATECeuclidean_pearson37.657
STSMTEB ATECeuclidean_spearman35.501
STSMTEB ATECmanhattan_pearson37.736
STSMTEB ATECmanhattan_spearman35.534
ClassificationMTEB AmazonCounterfactualClassification (en)accuracy69.940
ClassificationMTEB AmazonCounterfactualClassification (en)ap33.466
ClassificationMTEB AmazonCounterfactualClassification (en)f164.318
ClassificationMTEB AmazonCounterfactualClassification (de)accuracy66.028
ClassificationMTEB AmazonCounterfactualClassification (de)ap78.252
ClassificationMTEB AmazonCounterfactualClassification (de)f164.002
ClassificationMTEB AmazonCounterfactualClassification (en-ext)accuracy72.016
ClassificationMTEB AmazonCounterfactualClassification (en-ext)ap21.284
ClassificationMTEB AmazonCounterfactualClassification (en-ext)f159.482
ClassificationMTEB AmazonCounterfactualClassification (ja)accuracy58.769
ClassificationMTEB AmazonCounterfactualClassification (ja)ap12.829
ClassificationMTEB AmazonCounterfactualClassification (ja)f147.520

Using it via the API

Call it like any OpenAI endpoint

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