Mindket

paraphrase-multilingual-MiniLM-L12-v2

Newversion 1 · updated

Overview

Turns sentences and paragraphs into 384-number vectors for semantic search, clustering and sentence similarity, with a multilingual model from the sentence-transformers project. For developers building search or matching.

paraphrase-multilingual-MiniLM-L12-v2 is a kit in the Developer category, listed by Mindket. It is free. This is version 1, last updated on . Download it on this page, a zip of its files. Nothing in it runs by itself.

At a glance

You need
  • Python
  • The sentence-transformers library, or Transformers and torch for the plain route
  • A connection to the Hugging Face hub the first time the model loads
Runs in
  • Python programs on Windows, macOS or Linux that use the sentence-transformers library
  • Python code that uses Hugging Face Transformers and its own pooling step
  • Search, clustering and matching features inside an application
Start with
pip install -U sentence-transformers

Platform

WindowsOperating system
macOSOperating system
LinuxOperating system

About

What it is

This model turns a sentence or a paragraph into a vector of 384 numbers. Texts with a similar meaning get vectors that sit close together, so you can use them for semantic search or for clustering. It is a multilingual BERT-based model with 118M parameters, trained by the sentence-transformers project.

Who it suits

It suits developers and analysts who need to compare texts by meaning instead of by exact words.

IndustryWho uses itHow they use itExample
SearchApplication developersMatch a typed question to documents by meaningFinding help articles that answer a customer's question
Customer supportSupport tool buildersGroup messages that say the same thing in different wordsClustering tickets about one problem
Data analysisAnalystsCluster large piles of short textSorting survey answers into themes
Language technologyNLP researchersUse a small encoder as a baseline for sentence tasksComparing it with another embedding model

If you want a model that writes or answers text, you can skip it, since this one only produces vectors.

Where to use it

  • Python programs on Windows, macOS or Linux that use the sentence-transformers library
  • Python code that uses Hugging Face Transformers and its own pooling step
  • Search, clustering and matching features inside an application
Use caseWhoWhat they get back
Semantic searchDevelopersOne 384-number vector per sentence, ready to compare
ClusteringAnalystsVectors that put similar texts close together
Sentence similarityResearchersEmbeddings to score how close two sentences are

How to set it up

  • Python
  • The sentence-transformers library, or Transformers and torch for the plain route
  • A connection to the Hugging Face hub the first time the model loads
  1. Install the sentence-transformers library.
  2. Load the model by its name in your Python code.
  3. Encode a list of sentences.
  4. Optionally, download the files to your own computer with the hub tool.
pip install -U sentence-transformers
pip install -U huggingface_hub
hf download sentence-transformers/paraphrase-multilingual-MiniLM-L12-v2

How to use it

Load the model, pass a list of sentences to encode, and read back one embedding for each. With plain Transformers you tokenize the input, run the model, then average the token embeddings yourself, taking the attention mask into account.

from sentence_transformers import SentenceTransformer
sentences = ["This is an example sentence", "Each sentence is converted"]

model = SentenceTransformer('sentence-transformers/paraphrase-multilingual-MiniLM-L12-v2')
embeddings = model.encode(sentences)
print(embeddings)
ToolWhat it does
SentenceTransformerLoads the model from its name
model.encodeTurns a list of sentences into embeddings
AutoTokenizer and AutoModelThe plain Transformers route, which needs a pooling step of your own
mean_poolingAverages the token embeddings, using the attention mask for a correct average

Example

You pass two sentences, one saying this is an example and one saying each sentence is converted. Printing the result shows two embeddings, each a vector of 384 numbers.

For newcomers and experts

An embedding is a list of numbers that stands for the meaning of a text. Texts that mean alike get lists that are close to each other. A good first try is to install the library, run the snippet above and print the vectors.

Under the hood, the architecture is a BERT model with a maximum sequence length of 128, followed by pooling to 384 dimensions. The pooling averages tokens, with the class-token and max modes switched off. Longer inputs are cut at the limit. The hub's language list begins with Arabic, Bulgarian, Catalan, Czech, Danish, German, Greek and English.

  1. Sentences go in
  2. Tokenizer and BERT model
  3. Mean pooling over the tokens
  4. A 384-number vector comes out

Good to know

Weight size
F32471 MB
4-bit estimate59 MB
  • The model reads at most 128 tokens of each input.
  • The hub shows 46 quantized and 354 fine-tuned versions made by other people.
  • License: Apache 2.0
  • Cost to run: none named
  • Data it reaches: none named beyond the sentences you pass in, and the model files it fetches from the Hugging Face hub on first load
  • Not for: none named, and it only produces vectors, so it does not write or answer text

README and files

README

paraphrase-multilingual-MiniLM-L12-v2

Turns sentences and paragraphs into 384-number vectors for semantic search, clustering and sentence similarity, with a multilingual model from the sentence-transformers project. For developers building search or matching.

Made by sentence-transformers on Hugging Face. These notes are Mindket's, written from its model page and model card; the model's own files and license are on Hugging Face.

About

What it is: This model turns a sentence or a paragraph into a vector of 384 numbers. Texts with a similar meaning get vectors that sit close together, so you can use them for semantic search or for clustering. It is a multilingual BERT-based model with 118M parameters, trained by the sentence-transformers project.

Who it suits: It suits developers and analysts who need to compare texts by meaning instead of by exact words.

Industry | Who uses it | How they use it | Example
Search | Application developers | Match a typed question to documents by meaning | Finding help articles that answer a customer's question
Customer support | Support tool builders | Group messages that say the same thing in different words | Clustering tickets about one problem
Data analysis | Analysts | Cluster large piles of short text | Sorting survey answers into themes
Language technology | NLP researchers | Use a small encoder as a baseline for sentence tasks | Comparing it with another embedding model

If you want a model that writes or answers text, you can skip it, since this one only produces vectors.

Where to use it:

  • Python programs on Windows, macOS or Linux that use the sentence-transformers library
  • Python code that uses Hugging Face Transformers and its own pooling step
  • Search, clustering and matching features inside an application
Use case | Who | What they get back
Semantic search | Developers | One 384-number vector per sentence, ready to compare
Clustering | Analysts | Vectors that put similar texts close together
Sentence similarity | Researchers | Embeddings to score how close two sentences are

How to set it up:

  • Python
  • The sentence-transformers library, or Transformers and torch for the plain route
  • A connection to the Hugging Face hub the first time the model loads
  1. Install the sentence-transformers library.
  2. Load the model by its name in your Python code.
  3. Encode a list of sentences.
  4. Optionally, download the files to your own computer with the hub tool.
pip install -U sentence-transformers
pip install -U huggingface_hub
hf download sentence-transformers/paraphrase-multilingual-MiniLM-L12-v2

How to use it: Load the model, pass a list of sentences to encode, and read back one embedding for each. With plain Transformers you tokenize the input, run the model, then average the token embeddings yourself, taking the attention mask into account.

from sentence_transformers import SentenceTransformer
sentences = ["This is an example sentence", "Each sentence is converted"]

model = SentenceTransformer('sentence-transformers/paraphrase-multilingual-MiniLM-L12-v2')
embeddings = model.encode(sentences)
print(embeddings)
Tool | What it does
SentenceTransformer | Loads the model from its name
model.encode | Turns a list of sentences into embeddings
AutoTokenizer and AutoModel | The plain Transformers route, which needs a pooling step of your own
mean_pooling | Averages the token embeddings, using the attention mask for a correct average

Example: You pass two sentences, one saying this is an example and one saying each sentence is converted. Printing the result shows two embeddings, each a vector of 384 numbers.

For newcomers and experts: An embedding is a list of numbers that stands for the meaning of a text. Texts that mean alike get lists that are close to each other. A good first try is to install the library, run the snippet above and print the vectors.

Under the hood, the architecture is a BERT model with a maximum sequence length of 128, followed by pooling to 384 dimensions. The pooling averages tokens, with the class-token and max modes switched off. Longer inputs are cut at the limit. The hub's language list begins with Arabic, Bulgarian, Catalan, Czech, Danish, German, Greek and English.

Sentences go in
Tokenizer and BERT model
Mean pooling over the tokens
A 384-number vector comes out

Good to know:

Title: Weight size
F32: 471 MB
4-bit estimate: 59 MB
  • The model reads at most 128 tokens of each input.
  • The hub shows 46 quantized and 354 fine-tuned versions made by other people.
  • License: Apache 2.0
  • Cost to run: none named
  • Data it reaches: none named beyond the sentences you pass in, and the model files it fetches from the Hugging Face hub on first load
  • Not for: none named, and it only produces vectors, so it does not write or answer text

On Hugging Face, 13 November 2026

  • Task: sentence similarity
  • Library: sentence-transformers
  • Parameters: 118M
  • Weights: about 471 MB in F32; about 59 MB at 4-bit (estimate)
  • Formats: Safetensors
  • Downloads in the last 30 days: 26,540,125
  • Likes: 1,505
  • License: apache-2.0
  • Languages: ar, bg, ca, cs, da, de, el, en
  • Quantized versions: 48
  • Fine-tunes: 354
  • Tags: sentence-transformers, pytorch, onnx, safetensors, openvino, bert, feature-extraction, sentence-similarity, transformers, multilingual, text-embeddings-inference

Links

Get the model

Download its files with Hugging Face's command line:

pip install -U huggingface_hub
hf download sentence-transformers/paraphrase-multilingual-MiniLM-L12-v2

Then follow the usage in its model card. Nothing in this kit runs by itself.

Files
README.md  6 KB

1 file, 6 KB, downloaded as a zip.

What’s new

  • Version 1 · 2026-11-13

Compare with similar

Listed Hugging Face models in the same category that share the most tags with this one.

ProductDownloads, last 30 daysLikesParametersLicenseLast change
paraphrase-multilingual-MiniLM-L12-v2 This page26,540,1251,505118Mapache-2.0
all-MiniLM-L6-v2Shares openvino · bert · sentence-similarity174,740,1846,10422.7Mapache-2.0
multilingual-e5-largeShares openvino · sentence-similarity · text-embeddings-inference7,120,5551,284560Mmit
bge-small-en-v1.5Shares bert · sentence-similarity · text-embeddings-inference45,750,54867133.4Mmit
bge-base-en-v1.5Shares bert · sentence-similarity · text-embeddings-inference8,508,165542109Mmit
hs-embed-1Shares sentence-similarity · text-embeddings-inference · sentence-transformers22,4127112Mmit
Numbers as Mindket last read them, from 2026-11-12 to 2026-11-13.

Reviews

No ratings yet

Write a review

No reviews yet.

What people say

Posts and comments that name this project on Hacker News, Bluesky, X, Reddit, Facebook and YouTube, found by a weekly search and on Trendshift. Mindket doesn’t write or check them. Open one to read it where it was posted.

Searched

More from Mindket

See all from Mindket

Huashu Design

alchaincyf · Skill

Turns a one-line request in your AI agent into a finished design: a launch animation, a clickable app prototype, an editable slide deck, an infographic or a se…

New29.4k

Guizang PPT Skill

op7418 · Skill

Skill that makes single-file HTML slide decks, slide illustrations and platform covers in two visual styles, with a presenter mode for rehearsal. For speakers…

New29.8k

Claude Code Skills & Plugins

alirezarezvani · Skill

Adds 411 ready-made skills for Claude Code and other coding agents, grouped by role from engineering and product to marketing, finance and compliance. Installs…

New29.8k

Similar in Developer

See all in Developer

buzz

block · Kit

Self-hostable workspace where people and AI agents share the same rooms, built on a Nostr relay that logs every action as a signed event. For teams that want t…

New37.3k

plannotator

backnotprop · Kit

Opens your AI coding agent's plans, specs and code changes in a browser so you can annotate or comment on them and send the feedback straight back to the agent.

New10.5k

open-code-review

alibaba · Kit

Reviews Git changes with an AI agent that reads files and searches the codebase, then writes comments tied to exact lines. It suits developers who want automat…

New50.7k