alt.freeweights.embed / NoInstruct-small-Embedding-v0
From: avsolatorio <huggingface.co/avsolatorio>Newsgroups: alt.freeweights.embedSubject:

NoInstruct-small-Embedding-v0

Date: 2026-11-15Commit: b387470Signed: 2DC28CC7B26A283B ✓

Sentence similarity model with 33M parameters. Safetensors weights, 134 MB in all. Published by avsolatorio under MIT.

33M params134MBNoInstruct-small-Embedding-v0safetensorspermissive
FactsParams33MSize134 MBFormatssafetensorsTasksentence similarityLicenseMITFrom sourcepermissive
$ fw get avsolatorio/NoInstruct-small-Embedding-v0
# manifest sha256 2313422796b5… · 134 MB · 14 files
$ fw verify ./NoInstruct-small-Embedding-v0 avsolatorio/NoInstruct-small-Embedding-v0
From sourceHosted (signed)avsolatorio/NoInstruct-small-Embedding-v0Last check: 2026-11-15 03:39 UTC

Get help: custom fine-tune or private deploy. We review your setup before we quote.

Works with

Evaluate with

Overview

Size
134 MB
Weights
133 MB (safetensors)
Parameters
33M
Formats
safetensors
Task
sentence similarity
License
MIT (permissive)
Files
14, each with a sha256
Publisher
avsolatorio
Added
2026-11-15
Section
alt.freeweights.embed
Lineage

Original release from the publisher.

Where these bytes come from
Publisher at the pinned commit→You

Sources are tried in order. A file counts only when its size and sha256 match the manifest. Sources are checked when you ask for them, not on a timer.

Sources
BadgeHostLast checkResult
From sourcehuggingface.co2026-11-15 03:39 UTCpassed

Model card

From the publisher at commit b387470. Shown as plain text with links; images open at the publisher.

NoInstruct small Embedding v0#

NoInstruct Embedding: Asymmetric Pooling is All You Need

This model has improved retrieval performance compared to the avsolatorio/GIST-small-Embedding-v0 model.

One of the things that the GIST family of models fell short on is the performance on retrieval tasks. We propose a method that produces improved retrieval performance while maintaining independence on crafting arbitrary instructions, a trending paradigm in embedding models for retrieval tasks, when encoding a query.

Technical details of the model will be published shortly.

Usage#

from typing import Union
import torch
import torch.nn.functional as F
from transformers import AutoModel, AutoTokenizer

model = AutoModel.from_pretrained("avsolatorio/NoInstruct-small-Embedding-v0")
tokenizer = AutoTokenizer.from_pretrained("avsolatorio/NoInstruct-small-Embedding-v0")


def get_embedding(text: Union[str, list[str]], mode: str = "sentence"):
    model.eval()

    assert mode in ("query", "sentence"), f"mode={mode} was passed but only `query` and `sentence` are the supported modes."

    if isinstance(text, str):
        text = [text]

    inp = tokenizer(text, return_tensors="pt", padding=True, truncation=True)

    with torch.no_grad():
        output = model(**inp)

    # The model is optimized to use the mean pooling for queries,
    # while the sentence / document embedding uses the [CLS] representation.

    if mode == "query":
        vectors = output.last_hidden_state * inp["attention_mask"].unsqueeze(2)
        vectors = vectors.sum(dim=1) / inp["attention_mask"].sum(dim=-1).view(-1, 1)
    else:
        vectors = output.last_hidden_state[:, 0, :]

    return vectors


texts = [
    "Illustration of the REaLTabFormer model. The left block shows the non-relational tabular data model using GPT-2 with a causal LM head. In contrast, the right block shows how a relational dataset's child table is modeled using a sequence-to-sequence (Seq2Seq) model. The Seq2Seq model uses the observations in the parent table to condition the generation of the observations in the child table. The trained GPT-2 model on the parent table, with weights frozen, is also used as the encoder in the Seq2Seq model.",
    "Predicting human mobility holds significant practical value, with applications ranging from enhancing disaster risk planning to simulating epidemic spread. In this paper, we present the GeoFormer, a decoder-only transformer model adapted from the GPT architecture to forecast human mobility.",
    "As the economies of Southeast Asia continue adopting digital technologies, policy makers increasingly ask how to prepare the workforce for emerging labor demands. However, little is known about the skills that workers need to adapt to these changes"
]

# Compute embeddings
embeddings = get_embedding(texts, mode="sentence")

# Compute cosine-similarity for each pair of sentences
scores = F.cosine_similarity(embeddings.unsqueeze(1), embeddings.unsqueeze(0), dim=-1)
print(scores.cpu().numpy())

# Test the retrieval performance.
query = get_embedding("Which sentence talks about concept on jobs?", mode="query")

scores = F.cosine_similarity(query, embeddings, dim=-1)
print(scores.cpu().numpy())

Support for the Sentence Transformers library will follow soon.

Files

14 files · 134 MBWeights 133 MB (safetensors). Sizes and sha256 from the signed manifest.
Hide all 14 files with their sha256
FileSizesha256
.gitattributes1.52 KB11ad7efa24975ee4b0c3c3a38ed18737f0658a5f75a0a96787b576a78a023361
1_Pooling/config.json334 Beebc85717b6fcb77d4eef6a1ab20614f07c429d3ec69b310eb377ce4f443f203
2_Pooling/config.json331 Bb32687f44f259cc55569f1108f508fd1b0217bacfa11be7a5c932dbd22d08239
README.md67.0 KB09a710ad0d79c4d85518e72fa4b0f39466c9319d2fdd8842559bff8eb9498bc4
commit-info.json273 Bdee85fb0420f088c987a6fdbecd15eec18adeb03b52edb827cdd15185b5f09ab
config.json756 B4de77b184301a369d4bd0771372b042e555922e3a5d694bea1c53e0c1a43726d
config_sentence_transformers.json172 B1c919a394000be19e5c06b51355630953ecbba49e1e10687e49c5d38f971648e
model.safetensors133 MB831a0c15cd73d37ef70185fd446b873d8018ed6b6a108cbedb8efb8f42d6997e
modules.json465 B054fd8116135b1b4e45aab1f7692377a84e7232213991c2037acdb54542d7898
sentence_bert_config.json52 B84e39fda68ccbff05bfa723ae9c0e70e23e2ec373b76e0f8c6e71af72a693cbf
special_tokens_map.json695 B5d5b662e421ea9fac075174bb0688ee0d9431699900b90662acd44b2a350503a
tokenizer.json711 KBd241a60d5e8f04cc1b2b3e9ef7a4921b27bf526d9f6050ab90f9267a1f9e5c66
tokenizer_config.json1.24 KB0b29c7bfc889e53b36d9dd3e686dd4300f6525110eaa98c76a5dafceb2029f53
vocab.txt232 KB07eced375cec144d27c900241f3e339478dec958f92fddbc551f295c992038a3
VersionsEach time the pinned upstream commit or file list changed in this repo. Newest first.
Upstream commitDateContents
b387470005 pinned now2026-11-15 03:39 UTC14 files · 134 MB

Use it

$ fw get avsolatorio/NoInstruct-small-Embedding-v0
# manifest sha256 2313422796b5… · 134 MB · 14 files
$ fw verify ./NoInstruct-small-Embedding-v0 avsolatorio/NoInstruct-small-Embedding-v0
fw.pyChecks the signature and every sha256, tries each source in order, resumes.
$ python3 fw.py get https://freeweights.allternit.com/manifests/avsolatorio/NoInstruct-small-Embedding-v0.json --dir ./NoInstruct-small-Embedding-v0 $ python3 fw.py verify ./NoInstruct-small-Embedding-v0 ./avsolatorio__NoInstruct-small-Embedding-v0.json
hfThe Hugging Face CLI with one setting. Same repo id.
$ HF_ENDPOINT=https://freeweights.allternit.com hf download avsolatorio/NoInstruct-small-Embedding-v0 --revision b38747000553d8268915c95a55fc87e707c9aadd --local-dir ./NoInstruct-small-Embedding-v0
transformersLoad the weights in Python.
import os os.environ["HF_ENDPOINT"] = "https://freeweights.allternit.com" from transformers import AutoModel, AutoTokenizer tok = AutoTokenizer.from_pretrained("avsolatorio/NoInstruct-small-Embedding-v0", revision="b38747000553d8268915c95a55fc87e707c9aadd") model = AutoModel.from_pretrained("avsolatorio/NoInstruct-small-Embedding-v0", revision="b38747000553d8268915c95a55fc87e707c9aadd", device_map="auto")
sentence-transformersEmbed text with sentence-transformers.
import os os.environ["HF_ENDPOINT"] = "https://freeweights.allternit.com" from sentence_transformers import SentenceTransformer model = SentenceTransformer("avsolatorio/NoInstruct-small-Embedding-v0", revision="b38747000553d8268915c95a55fc87e707c9aadd") vectors = model.encode(["Hello"])

License

Name
MIT License
Id
MIT
Class
Permissive
Redistribution
yes
Listing
Hosted (signed)
Decided
License as declared by the publisher. No person read it. 2026-11-15
Text in
README.md
Text sha256
09a710ad0d79c4d85518e72fa4b0f39466c9319d2fdd8842559bff8eb9498bc4
Terms gate
No extra terms beyond the license.

Read the license text

Licenses are checked against the license table. A custom license passes only after a person reads it.

Provenance

From: avsolatorio <huggingface.co/avsolatorio>Newsgroups: alt.freeweights.embedSubject: NoInstruct-small-Embedding-v0Date: 2026-11-15Commit: b387470Signed: 2DC28CC7B26A283B ✓
Upstream
avsolatorio/NoInstruct-small-Embedding-v0
Pinned commit
b38747000553d8268915c95a55fc87e707c9aadd
Manifest
NoInstruct-small-Embedding-v0.json · .minisig
Manifest sha256
2313422796b50dacac4c9f2e92533447897a7eacf3234785ad773361ef4d3114
Signature
minisign, Ed25519, key 2DC28CC7B26A283B
Created
2026-11-15 03:39 UTC
Generator
freeweights-manifest/0.1.0
Takedowns
None.

How to verify

$ curl -O https://freeweights.allternit.com/manifests/avsolatorio/NoInstruct-small-Embedding-v0.json $ curl -O https://freeweights.allternit.com/manifests/avsolatorio/NoInstruct-small-Embedding-v0.json.minisig $ minisign -Vm NoInstruct-small-Embedding-v0.json -P RWQ7KGqyx4zCLXtUFOqvfv8L3g+8fpKJ1FsuxPyOYMF+4KufbUxKq1Oq $ shasum -a 256 <file> # compare with the Files tab

A manifest whose signature fails must be rejected. A file whose size or sha256 does not match must be discarded. Verify a download

Model tree

1 model in the catalog name this one as their parent.

Quantizations
1
Get it
Download
$ HF_ENDPOINT=https://freeweights.allternit.com hf download avsolatorio/NoInstruct-small-Embedding-v0
Open in Freeweights Studio

Pull, verify and run it in the Allternit app on Desktop, web or phone.

Signed manifest
minisign, key 2DC28CC7B26A283B. NoInstruct-small-Embedding-v0.json. Provenance. Takedown history: none.

Variants

1 quantized or adapter build of NoInstruct-small-Embedding-v0. Each has its own license check and page.

From: sentence-transformers <huggingface.co/sentence-transformers>Subject: all-MiniLM-L6-v1
From: unsloth <huggingface.co/unsloth>Subject: all-MiniLM-L6-v2
From: mlx-community <huggingface.co/mlx-community>Subject: all-MiniLM-L6-v2-4bit
From: sentence-transformers <huggingface.co/sentence-transformers>Subject: all-mpnet-base-v1
From: sentence-transformers <huggingface.co/sentence-transformers>Subject: allenai-specter
From: sentence-transformers <huggingface.co/sentence-transformers>Subject: bert-base-nli-max-tokens