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…
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.
pip install -U sentence-transformers
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.
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.
| 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 |
pip install -U sentence-transformers
pip install -U huggingface_hub hf download sentence-transformers/paraphrase-multilingual-MiniLM-L12-v2
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 |
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.
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.
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.
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:
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:
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
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.
README.md 6 KB
Listed Hugging Face models in the same category that share the most tags with this one.
| Product | Downloads, last 30 days | Likes | Parameters | License | Last change |
|---|---|---|---|---|---|
| paraphrase-multilingual-MiniLM-L12-v2 This page | 26,540,125 | 1,505 | 118M | apache-2.0 | |
| all-MiniLM-L6-v2Shares openvino · bert · sentence-similarity | 174,740,184 | 6,104 | 22.7M | apache-2.0 | |
| multilingual-e5-largeShares openvino · sentence-similarity · text-embeddings-inference | 7,120,555 | 1,284 | 560M | mit | |
| bge-small-en-v1.5Shares bert · sentence-similarity · text-embeddings-inference | 45,750,548 | 671 | 33.4M | mit | |
| bge-base-en-v1.5Shares bert · sentence-similarity · text-embeddings-inference | 8,508,165 | 542 | 109M | mit | |
| hs-embed-1Shares sentence-similarity · text-embeddings-inference · sentence-transformers | 22,412 | 7 | 112M | mit |
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.
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…
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…
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…
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…
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.
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…