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 text into compact vectors for search and matching in eight languages, with inputs up to 8,192 tokens. A small 112M embedding model built for Hindsight, running on CPU or GPU.
hs-embed-1 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
hs-embed-1 turns text in eight languages into vectors for search, and hindsight-ai made it for use with Hindsight. Each sentence or passage becomes a 384-number vector, and you can shorten that vector to 256, 128 or 64 numbers. It has 112M parameters, accepts inputs up to 8,192 tokens, and needs no prompt prefix for queries or documents.
Developers who build semantic search, retrieval or agent memory and want a small embedding model that runs on a CPU. The files carry the MIT license.
| Industry | Who uses it | How they use it | Example |
|---|---|---|---|
| Search | Search engineers | Embed queries and documents for semantic search in eight languages | Matching a question about a move to a sentence naming a city |
| AI agents | Agent developers | Give an agent memory by pointing Hindsight at this model | Setting Hindsight to use the local model |
| Platform | Infrastructure teams | Serve embeddings from a Text Embeddings Inference server | Running the CPU image with Docker |
Anyone who needs a huge embedding model with the highest scores can skip it, since this one is built to be small.
| Use case | Who | What they get back |
|---|---|---|
| Semantic search | Developers | Vectors you compare with cosine similarity |
| Agent memory | Agent builders | Embeddings that Hindsight stores and searches |
| Short vectors | Cost-conscious teams | Vectors cut to 256, 128 or 64 numbers |
pip install -U sentence-transformers
pip install -U huggingface_hub hf download hindsight-ai/hs-embed-1
You load the model, encode your queries and documents with normalized embeddings, and compare them with the similarity method.
from sentence_transformers import SentenceTransformer
model = SentenceTransformer("hindsight-ai/hs-embed-1")
queries = ["Where did Maya move last spring?"]
documents = [
"Maya moved to Lisbon in April.",
"Maya's brother lives in Porto.",
]
query_embeddings = model.encode(queries, normalize_embeddings=True)
document_embeddings = model.encode(documents, normalize_embeddings=True)
print(model.similarity(query_embeddings, document_embeddings))Passing truncate_dim when you load the model gives shorter vectors.
model = SentenceTransformer("hindsight-ai/hs-embed-1", truncate_dim=256)To make Hindsight use the model on your machine, set these two environment variables.
HINDSIGHT_API_EMBEDDINGS_PROVIDER=local HINDSIGHT_API_EMBEDDINGS_LOCAL_MODEL=hindsight-ai/hs-embed-1
| Tool | What it does |
|---|---|
| SentenceTransformer | Loads the model and encodes text |
| truncate_dim | Shortens the vectors to 256, 128 or 64 numbers |
| Text Embeddings Inference | Serves the model over HTTP on CPU or GPU |
| Hindsight settings | Tell Hindsight which embeddings provider to use |
You ask which city Maya moved to, using the question "Where did Maya move last spring?" against two sentences, one about Lisbon and one about her brother in Porto. The call prints a similarity score for each sentence, and the Lisbon one should score higher.
An embedding turns text into numbers so that similar meanings sit close together. A good first step is to run the Python example above and read the two scores it prints.
Most of the 112M parameters, 98M, sit in the token embedding table, which leaves a transformer of just 13M parameters for each pass. Pooling is a mean, similarity is cosine, and the model ships an int8 ONNX export for CPU alongside safetensors for GPU. To shorten vectors by hand, keep the first values and normalize again.
Turns text into compact vectors for search and matching in eight languages, with inputs up to 8,192 tokens. A small 112M embedding model built for Hindsight, running on CPU or GPU.
Made by hindsight-ai 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: hs-embed-1 turns text in eight languages into vectors for search, and hindsight-ai made it for use with Hindsight. Each sentence or passage becomes a 384-number vector, and you can shorten that vector to 256, 128 or 64 numbers. It has 112M parameters, accepts inputs up to 8,192 tokens, and needs no prompt prefix for queries or documents.
Who it suits: Developers who build semantic search, retrieval or agent memory and want a small embedding model that runs on a CPU. The files carry the MIT license.
Industry | Who uses it | How they use it | Example
Search | Search engineers | Embed queries and documents for semantic search in eight languages | Matching a question about a move to a sentence naming a city
AI agents | Agent developers | Give an agent memory by pointing Hindsight at this model | Setting Hindsight to use the local model
Platform | Infrastructure teams | Serve embeddings from a Text Embeddings Inference server | Running the CPU image with Docker
Anyone who needs a huge embedding model with the highest scores can skip it, since this one is built to be small.
Where to use it:
Use case | Who | What they get back
Semantic search | Developers | Vectors you compare with cosine similarity
Agent memory | Agent builders | Embeddings that Hindsight stores and searches
Short vectors | Cost-conscious teams | Vectors cut to 256, 128 or 64 numbers
How to set it up:
pip install -U sentence-transformers
pip install -U huggingface_hub
hf download hindsight-ai/hs-embed-1
How to use it: You load the model, encode your queries and documents with normalized embeddings, and compare them with the similarity method.
from sentence_transformers import SentenceTransformer
model = SentenceTransformer("hindsight-ai/hs-embed-1")
queries = ["Where did Maya move last spring?"]
documents = [
"Maya moved to Lisbon in April.",
"Maya's brother lives in Porto.",
]
query_embeddings = model.encode(queries, normalize_embeddings=True)
document_embeddings = model.encode(documents, normalize_embeddings=True)
print(model.similarity(query_embeddings, document_embeddings))
Passing truncate_dim when you load the model gives shorter vectors.
model = SentenceTransformer("hindsight-ai/hs-embed-1", truncate_dim=256)
To make Hindsight use the model on your machine, set these two environment variables.
HINDSIGHT_API_EMBEDDINGS_PROVIDER=local
HINDSIGHT_API_EMBEDDINGS_LOCAL_MODEL=hindsight-ai/hs-embed-1
Tool | What it does
SentenceTransformer | Loads the model and encodes text
truncate_dim | Shortens the vectors to 256, 128 or 64 numbers
Text Embeddings Inference | Serves the model over HTTP on CPU or GPU
Hindsight settings | Tell Hindsight which embeddings provider to use
Example: You ask which city Maya moved to, using the question "Where did Maya move last spring?" against two sentences, one about Lisbon and one about her brother in Porto. The call prints a similarity score for each sentence, and the Lisbon one should score higher.
For newcomers and experts: An embedding turns text into numbers so that similar meanings sit close together. A good first step is to run the Python example above and read the two scores it prints.
Most of the 112M parameters, 98M, sit in the token embedding table, which leaves a transformer of just 13M parameters for each pass. Pooling is a mean, similarity is cosine, and the model ships an int8 ONNX export for CPU alongside safetensors for GPU. To shorten vectors by hand, keep the first values and normalize again.
Load hs-embed-1
Encode queries and documents
Normalize the vectors
Compare them with cosine similarity
Rank the matches
Good to know:
Title: Vector sizes you can use
Full vector: 384 dims
Truncated: 256 dims
Truncated again: 128 dims
Smallest: 64 dims
Download its files with Hugging Face's command line:
pip install -U huggingface_hub
hf download hindsight-ai/hs-embed-1
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 |
|---|---|---|---|---|---|
| hs-embed-1 This page | 22,412 | 7 | 112M | mit | |
| hs-rerank-1Shares hindsight · modernbert · text-embeddings-inference | 1,148,007 | 6 | 114M | mit | |
| paraphrase-multilingual-MiniLM-L12-v2Shares sentence-similarity · text-embeddings-inference · sentence-transformers | 26,540,125 | 1,505 | 118M | apache-2.0 | |
| multilingual-e5-largeShares sentence-similarity · text-embeddings-inference · sentence-transformers | 7,120,555 | 1,284 | 560M | mit | |
| mSlideOnShares matryoshka · sentence-similarity · sentence-transformers | 706 | 16 | 339M | apache-2.0 | |
| SPARSEUPShares modernbert · sentence-similarity · text-embeddings-inference | 6,627 | 63 | 188M | apache-2.0 |
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…