Downloads · 30 days
3
11% of all-time downloads
Fuzail22/onnx-msmarco-distilbert-cos-v5
onnx-msmarco-distilbert-cos-v5 is a machine learning model from Fuzail22. Use it for the machine learning task on the model card, and read the license before you ship it in a product. The card lists the license as mit.
This is Onnx converted version of the original model The Input Sequence length is 512
Downloads · 30 days
3
11% of all-time downloads
All-time downloads
28
Public
Repo size
266 MB
Likes
1
Public
Click a slice to open those files.
.onnx266 MB · 100%
From the Hugging Face model README
import { env, pipeline } from "@xenova/transformers";
env.allowLocalModels = false;
const extractor = await pipeline(
"feature-extraction",
"Fuzail22/onnx-msmarco-distilbert-cos-v5",
{
quantized: false
}
);
const extract = async (text: string) => {
const output = await extractor(text, {
pooling: "mean",
normalize: true
});
console.log("extraction output:", output);
};
extact("Open Source is great!")
This is Onnx converted version of the original model The Input Sequence length is 512
Converted Using Xenova
Link to original Model sentence-transformers/msmarco-distilbert-cos-v5