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

NoInstruct-small-Embedding-v0-ONNX

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

Sentence similarity model. Onnx weights, 461 MB in all. Published by onnx-community under MIT.

embed461MBNoInstruct-small-Embedding-v0-ONNXonnxpermissive
FactsParamsnot statedSize461 MBFormatsonnxTasksentence similarityLicenseMITFrom sourcepermissive
$ fw get onnx-community/NoInstruct-small-Embedding-v0-ONNX
# manifest sha256 0a2aa2a193a7… · 461 MB · 15 files
$ fw verify ./NoInstruct-small-Embedding-v0-ONNX onnx-community/NoInstruct-small-Embedding-v0-ONNX
From sourceHosted (signed)onnx-community/NoInstruct-small-Embedding-v0-ONNXLast check: 2026-11-15 05:30 UTC

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

Quantized of NoInstruct-small-Embedding-v0.

Works with

Runs with

Ranked by fit to this model (onnx), then by GitHub stars.

Convert with

Evaluate with

Scan with

Overview

Size
461 MB
Weights
33.8 MB (smallest of 8 ONNX variants)
Parameters
not stated
Formats
onnx
Task
sentence similarity
License
MIT (permissive)
Files
15, each with a sha256
Publisher
onnx-community
Added
2026-11-15
Section
alt.freeweights.embed
Lineage

Original release from the publisher.

Base model: avsolatorio/NoInstruct-small-Embedding-v0

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 05:30 UTCpassed

Model card

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

NoInstruct-small-Embedding-v0 (ONNX)#

This is an ONNX version of avsolatorio/NoInstruct-small-Embedding-v0. It was automatically converted and uploaded using this Hugging Face Space.

Usage with Transformers.js#

See the pipeline documentation for sentence-similarity: https://huggingface.co/docs/transformers.js/api/pipelines


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

15 files · 461 MBWeights 33.8 MB (smallest of 8 ONNX variants). Sizes and sha256 from the signed manifest.
Hide all 15 files with their sha256
FileSizesha256
.gitattributes1.52 KB11ad7efa24975ee4b0c3c3a38ed18737f0658a5f75a0a96787b576a78a023361
README.md67.5 KB73e0ca2350daeeba0dec84b83668dfd894c4c45b35135142996c320a8e95a66c
config.json687 B86b9bbb7ddfa5a6d349fe2a58c1c5f247acb85ac8d34095612e900f3f94820a3
onnx/model.onnx133 MBa48810ce504f9c6cea795273c6b1a793fe07cb518371b2d038abdaeeee689ca8
onnx/model_bnb4.onnx61.4 MB3242ea87e47c83f86bffb57514b5047173e00e4b32622610393717da44a552a3
onnx/model_fp16.onnx66.7 MB419f022d8c43587fde03015a5d7f267b4203d24a35ec3aceae241765e299bb88
onnx/model_int8.onnx33.8 MBb51ecb88dda8634277f11536d9c2cdd61d901ffda3993ee568efc1767a65c72c
onnx/model_q4.onnx61.4 MB3242ea87e47c83f86bffb57514b5047173e00e4b32622610393717da44a552a3
onnx/model_q4f16.onnx36.2 MB38911660d39c0765ada61cd6dad3f5ceb90ec8843a4e651633c4da187b294746
onnx/model_quantized.onnx33.8 MBb51ecb88dda8634277f11536d9c2cdd61d901ffda3993ee568efc1767a65c72c
onnx/model_uint8.onnx33.8 MBdc1673ae57272172683be010c285beeb4aa28ffa47788b7f66e1cb093d3fe175
special_tokens_map.json695 B5d5b662e421ea9fac075174bb0688ee0d9431699900b90662acd44b2a350503a
tokenizer.json711 KBd241a60d5e8f04cc1b2b3e9ef7a4921b27bf526d9f6050ab90f9267a1f9e5c66
tokenizer_config.json1.27 KB7b082b48a08a0b5c5939d99472e33addce3d96202155e33f7928cecd171186a0
vocab.txt232 KB07eced375cec144d27c900241f3e339478dec958f92fddbc551f295c992038a3
VersionsEach time the pinned upstream commit or file list changed in this repo. Newest first.
Upstream commitDateContents
e8009e977a pinned now2026-11-15 05:30 UTC15 files · 461 MB

Use it

$ fw get onnx-community/NoInstruct-small-Embedding-v0-ONNX
# manifest sha256 0a2aa2a193a7… · 461 MB · 15 files
$ fw verify ./NoInstruct-small-Embedding-v0-ONNX onnx-community/NoInstruct-small-Embedding-v0-ONNX
fw.pyChecks the signature and every sha256, tries each source in order, resumes.
$ python3 fw.py get https://freeweights.allternit.com/manifests/onnx-community/NoInstruct-small-Embedding-v0-ONNX.json --dir ./NoInstruct-small-Embedding-v0-ONNX $ python3 fw.py verify ./NoInstruct-small-Embedding-v0-ONNX ./onnx-community__NoInstruct-small-Embedding-v0-ONNX.json
hfThe Hugging Face CLI with one setting. Same repo id.
$ HF_ENDPOINT=https://freeweights.allternit.com hf download onnx-community/NoInstruct-small-Embedding-v0-ONNX --revision e8009e977a46fa6e95403a647b53975498571f43 --local-dir ./NoInstruct-small-Embedding-v0-ONNX

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
73e0ca2350daeeba0dec84b83668dfd894c4c45b35135142996c320a8e95a66c
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: onnx-community <huggingface.co/onnx-community>Newsgroups: alt.freeweights.embedSubject: NoInstruct-small-Embedding-v0-ONNXDate: 2026-11-15Commit: e8009e9Signed: 2DC28CC7B26A283B ✓
Upstream
onnx-community/NoInstruct-small-Embedding-v0-ONNX
Pinned commit
e8009e977a46fa6e95403a647b53975498571f43
Manifest
NoInstruct-small-Embedding-v0-ONNX.json · .minisig
Manifest sha256
0a2aa2a193a77d0483452e60f156e627137b34d5e270444bc8a6f3c9285a1799
Signature
minisign, Ed25519, key 2DC28CC7B26A283B
Created
2026-11-15 05:30 UTC
Generator
freeweights-manifest/0.1.0
Takedowns
None.

How to verify

$ curl -O https://freeweights.allternit.com/manifests/onnx-community/NoInstruct-small-Embedding-v0-ONNX.json $ curl -O https://freeweights.allternit.com/manifests/onnx-community/NoInstruct-small-Embedding-v0-ONNX.json.minisig $ minisign -Vm NoInstruct-small-Embedding-v0-ONNX.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

Parent

avsolatorio/NoInstruct-small-Embedding-v0 · this model is a quantization of it

No model in the catalog names this one as its parent.

Get it
Download
$ HF_ENDPOINT=https://freeweights.allternit.com hf download onnx-community/NoInstruct-small-Embedding-v0-ONNX
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-ONNX.json. Provenance. Takedown history: none.
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