Skip to content
llmmodels

All-MiniLM-L12-v2 vs bart-base

All-MiniLM-L12-v2 is made by Sentence Transformers and bart-base by Meta. See the full spec comparison below.

SpecAll-MiniLM-L12-v2bart-base
ProviderSentence TransformersMeta
ReleasedAug 30, 2021Mar 2, 2022 (better)
TypeEmbedding modelEmbedding model
Parameters—139M
Context window128—
Max output384—
Input price / 1M——
Output price / 1M——
Input modalitiestexttext
Open weightsYesYes
License—apache-2.0
Reasoning modeNoNo
Tool callingNoNo
API providers1 (better)—

About All-MiniLM-L12-v2

All-MiniLM-L12-v2 is an open-weight embedding model from Sentence Transformers, released Aug 30, 2021. It has a 128-token context window. Full All-MiniLM-L12-v2 specs →

About bart-base

bart-base is an open-weight embedding model from Meta, released Mar 2, 2022. It has 139M parameters. Full bart-base specs →

Compare other models

FAQ

Which is better, All-MiniLM-L12-v2 or bart-base?

All-MiniLM-L12-v2 is made by Sentence Transformers and bart-base by Meta. See the full spec comparison below.

Are All-MiniLM-L12-v2 and bart-base open source?

All-MiniLM-L12-v2 is open-weight; bart-base is open-weight.