Model reference · open weights

distilbert-portuguese-cased

Available as managed deployment Embeddings adalbertojunior · community Embeddings 1 variants 2k dl/mo

distilbert-portuguese-cased is an open-weight embedding model from adalbertojunior. 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 byadalbertojunior
TypeEmbedding models
TaskEmbeddings
Parameters (lead)66M
Context512 tokens
Runs withtransformers
Released2022-03-02
Popularity2k downloads / month
LicenceUnknown

About

What distilbert-portuguese-cased is

This model was distilled from BERTimbau

Usage

from transformers import AutoTokenizer  # Or BertTokenizer
from transformers import AutoModelForPreTraining  # Or BertForPreTraining for loading pretraining heads
from transformers import AutoModel  # or BertModel, for BERT without pretraining heads
model = AutoModelForPreTraining.from_pretrained('adalbertojunior/distilbert-portuguese-cased')
tokenizer = AutoTokenizer.from_pretrained('adalbertojunior/distilbert-portuguese-cased', do_lower_case=False)

You should fine tune it on your own data.

It can achieve accuracy up to 99% relative to the original BERTimbau in some tasks.

Read the full model card
@misc {adalberto_ferreira_barbosa_junior_2024,
	author       = { {Adalberto Ferreira Barbosa Junior} },
	title        = { distilbert-portuguese-cased (Revision df1fa7a) },
	year         = 2024,
	url          = { https://huggingface.co/adalbertojunior/distilbert-portuguese-cased },
	doi          = { 10.57967/hf/3041 },
	publisher    = { Hugging Face }
}

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

Using it via the API

Call it like any OpenAI endpoint

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