Model reference · open weights

sentence-camembert

Available as managed deployment Embeddings Lajavaness Embeddings 1 variants 1k dl/mo

sentence-camembert is an open-weight embedding model from Lajavaness. 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 byLajavaness
TypeEmbedding models
TaskEmbeddings
Parameters (lead)111M
Context514 tokens
Runs withsentence-transformers
Released2023-10-25
Popularity1k downloads / month
LicenceOpen weights

About

What sentence-camembert is

Pre-trained sentence embedding models are the state-of-the-art of Sentence Embeddings for French.

This model is improved from dangvantuan/sentence-camembert-base using fine-tuning with Augmented SBERT on dataset stsb along with Pair Sampling Strategies through 2 models CrossEncoder-camembert-large and dangvantuan/sentence-camembert-large

Usage

The model can be used directly (without a language model) as follows:

Read the full model card
from sentence_transformers import SentenceTransformer
model =  SentenceTransformer("Lajavaness/sentence-camembert-base")

sentences = ["Un avion est en train de décoller.",
          "Un homme joue d'une grande flûte.",
          "Un homme étale du fromage râpé sur une pizza.",
          "Une personne jette un chat au plafond.",
          "Une personne est en train de plier un morceau de papier.",
          ]

embeddings = model.encode(sentences)

Evaluation

The model can be evaluated as follows on the French test data of stsb.

from sentence_transformers import SentenceTransformer
from sentence_transformers.readers import InputExample
from sentence_transformers.evaluation import EmbeddingSimilarityEvaluator
from datasets import load_dataset
def convert_dataset(dataset):
    dataset_samples=[]
    for df in dataset:
        score = float(df['similarity_score'])/5.0  # Normalize score to range 0 ... 1
        inp_example = InputExample(texts=[df['sentence1'],
                                    df['sentence2']], label=score)
        dataset_samples.append(inp_example)
    return dataset_samples

# Loading the dataset for evaluation
df_dev = load_dataset("stsb_multi_mt", name="fr", split="dev")
df_test = load_dataset("stsb_multi_mt", name="fr", split="test")

# Convert the dataset for evaluation

# For Dev set:
dev_samples = convert_dataset(df_dev)
val_evaluator = EmbeddingSimilarityEvaluator.from_input_examples(dev_samples, name='sts-dev')
val_evaluator(model, output_path="./")

# For Test set:
test_samples = convert_dataset(df_test)
test_evaluator = EmbeddingSimilarityEvaluator.from_input_examples(test_samples, name='sts-test')
test_evaluator(model, output_path="./")

Test Result: The performance is measured using Pearson and Spearman correlation on the sts-benchmark:

  • On dev
ModelPearson correlationSpearman correlation#params
Lajavaness/sentence-camembert-base86.8886.73110M
dangvantuan/sentence-camembert-base86.7386.54110M
inokufu/flaubert-base-uncased-xnli-sts85.8585.71137M
distiluse-base-multilingual-cased79.2279.16135M
  • On test: Pearson and Spearman correlation are evaluated on many different benchmarks dataset:

Pearson score

ModelSTS-BSTS12-fr STS13-frSTS14-frSTS15-frSTS16-frSICK-frparams
Lajavaness/sentence-camembert-base83.4684.4984.6183.9486.9475.2082.86110M
inokufu/flaubert-base-uncased-xnli-sts82.8284.7985.7682.8185.3874.0582.23137M
dangvantuan/sentence-camembert-base82.3682.0684.0881.5185.5473.9780.91110M
sentence-transformers/distiluse-base-multilingual-cased-v278.6372.5167.2570.1279.9366.6777.76135M
hugorosen/flaubert_base_uncased-xnli-sts78.3879.0077.6176.5679.0371.2280.58137M
antoinelouis/biencoder-camembert-base-mmarcoFR76.9771.4373.5070.5678.4471.2377.62110M

Spearman score

ModelSTS-BSTS12-fr STS13-frSTS14-frSTS15-frSTS16-frSICK-frparams

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
Sentence-EmbeddingText Similarity frTest Pearson correlation coefficient86.880

Using it via the API

Call it like any OpenAI endpoint

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