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 short paragraphs into 384-dimensional vectors for semantic search, clustering and sentence similarity. For developers building English search or retrieval features.
all-MiniLM-L6-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 sentence-transformers model turns a sentence or short paragraph into a vector of 384 numbers. Texts with similar meaning end up close together, which makes the vectors useful for semantic search and clustering. It has 22.7M parameters and is listed for English.
It suits developers who need to compare the meaning of short texts without running a large model, such as people adding search, grouping or duplicate checks to an app.
| Industry | Who uses it | How they use it | Example |
|---|---|---|---|
| Software | Developers adding search | Encode documents and queries, then compare the vectors | A help-center search that matches meaning, not only words |
| Data | Analysts grouping text | Cluster short texts by their vectors | Group support messages by topic |
| Content | Teams checking overlap | Score how close two sentences are | Flag near-duplicate sentences |
People who need to embed long documents or other languages can skip it, since the card is about short English text.
| Use case | Who | What they get back |
|---|---|---|
| Semantic search | Developers | Vectors to rank documents against a query |
| Clustering | Analysts | Vectors that group similar texts together |
| Sentence similarity | Developers | A way to compare two sentences by meaning |
You need these first:
pip install -U sentence-transformers
pip install -U huggingface_hub hf download sentence-transformers/all-MiniLM-L6-v2
Load the model, pass it a list of sentences and call encode. You get one embedding per sentence. The card gives this script.
from sentence_transformers import SentenceTransformer
sentences = ["This is an example sentence", "Each sentence is converted"]
model = SentenceTransformer('sentence-transformers/all-MiniLM-L6-v2')
embeddings = model.encode(sentences)
print(embeddings)The card also shows a second way that uses Transformers directly. You run the text through the model and then apply mean pooling over the token embeddings yourself.
| Tool | What it does |
|---|---|
| SentenceTransformer | Loads the model by its id |
| model.encode | Turns a list of sentences into embeddings |
You pass in a list of two short sentences and print the result. You get back one vector of 384 numbers for each sentence, ready to compare, cluster or store for search.
An embedding is a list of numbers that stands for the meaning of a text. Two texts about the same thing get lists that sit close together. A good first step is the short script above, which prints the vectors for two sentences.
The model starts from nreimers/MiniLM-L6-H384-uncased and was fine-tuned on a dataset of 1B sentence pairs with a contrastive objective. Given one sentence of a pair, it learns to pick the true partner out of randomly sampled others, using cosine similarity and cross entropy. Training ran on a TPU v3-8 for 100k steps at batch size 1024, with sequences limited to 128 tokens.
Turns sentences and short paragraphs into 384-dimensional vectors for semantic search, clustering and sentence similarity. For developers building English search or retrieval features.
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 sentence-transformers model turns a sentence or short paragraph into a vector of 384 numbers. Texts with similar meaning end up close together, which makes the vectors useful for semantic search and clustering. It has 22.7M parameters and is listed for English.
Who it suits: It suits developers who need to compare the meaning of short texts without running a large model, such as people adding search, grouping or duplicate checks to an app.
Industry | Who uses it | How they use it | Example
Software | Developers adding search | Encode documents and queries, then compare the vectors | A help-center search that matches meaning, not only words
Data | Analysts grouping text | Cluster short texts by their vectors | Group support messages by topic
Content | Teams checking overlap | Score how close two sentences are | Flag near-duplicate sentences
People who need to embed long documents or other languages can skip it, since the card is about short English text.
Where to use it:
Use case | Who | What they get back
Semantic search | Developers | Vectors to rank documents against a query
Clustering | Analysts | Vectors that group similar texts together
Sentence similarity | Developers | A way to compare two sentences by meaning
How to set it up: You need these first:
pip install -U sentence-transformers
pip install -U huggingface_hub
hf download sentence-transformers/all-MiniLM-L6-v2
How to use it: Load the model, pass it a list of sentences and call encode. You get one embedding per sentence. The card gives this script.
from sentence_transformers import SentenceTransformer
sentences = ["This is an example sentence", "Each sentence is converted"]
model = SentenceTransformer('sentence-transformers/all-MiniLM-L6-v2')
embeddings = model.encode(sentences)
print(embeddings)
The card also shows a second way that uses Transformers directly. You run the text through the model and then apply mean pooling over the token embeddings yourself.
Tool | What it does
SentenceTransformer | Loads the model by its id
model.encode | Turns a list of sentences into embeddings
Example: You pass in a list of two short sentences and print the result. You get back one vector of 384 numbers for each sentence, ready to compare, cluster or store for search.
For newcomers and experts: An embedding is a list of numbers that stands for the meaning of a text. Two texts about the same thing get lists that sit close together. A good first step is the short script above, which prints the vectors for two sentences.
The model starts from nreimers/MiniLM-L6-H384-uncased and was fine-tuned on a dataset of 1B sentence pairs with a contrastive objective. Given one sentence of a pair, it learns to pick the true partner out of randomly sampled others, using cosine similarity and cross entropy. Training ran on a TPU v3-8 for 100k steps at batch size 1024, with sequences limited to 128 tokens.
Your sentences go in
The model makes one 384-number vector each
You compare or group the vectors
Good to know:
Title: Weight size in MB
F32: 91 MB
4-bit estimate: 11 MB
Download its files with Hugging Face's command line:
pip install -U huggingface_hub
hf download sentence-transformers/all-MiniLM-L6-v2
Then follow the usage in its model card. Nothing in this kit runs by itself.
README.md 5 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 |
|---|---|---|---|---|---|
| all-MiniLM-L6-v2 This page | 174,740,184 | 6,104 | 22.7M | apache-2.0 | |
| paraphrase-multilingual-MiniLM-L12-v2Shares openvino · bert · sentence-similarity | 26,540,125 | 1,505 | 118M | 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 | |
| bge-m3Shares sentence-similarity · text-embeddings-inference · sentence-transformers | 29,282,167 | 3,989 | — | 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…