Run this model with HF Jobs

Run lightonai/answerai-colbert-small-v1-onnx on Hugging Face's managed compute, monitor its progress, and retrieve the results when it's done.

Paste one of these prompts into your coding agent:

Fine-tune on my dataset

Use HF Jobs to fine-tune https://huggingface.co/lightonai/answerai-colbert-small-v1-onnx. Ask me which dataset to train on, then push the fine-tuned model to a new model repo. Run `hf jobs --help` first to learn the CLI.

Run batch inference

Use HF Jobs to run batch inference with https://huggingface.co/lightonai/answerai-colbert-small-v1-onnx on the inputs in a mounted HF Bucket. Ask me which Bucket to use, then write the outputs back to it and keep each input ID. Run `hf jobs --help` first to learn the CLI.

answerai-colbert-small-v1-onnx

ONNX export of answerdotai/answerai-colbert-small-v1 for fast CPU inference.

Model Details

Files

File Description
model.onnx FP32 ONNX model
model_int8.onnx INT8 quantized model (faster)
tokenizer.json Tokenizer configuration
config_sentence_transformers.json Model configuration

Usage with colbert-onnx (Rust)

use colbert_onnx::Colbert;

let mut model = Colbert::from_pretrained("path/to/model")?;
let embeddings = model.encode_documents(&["Hello world"])?;

Export Tool

This model was exported using pylate-onnx-export:

pip install "pylate-onnx-export @ git+https://github.com/lightonai/next-plaid.git#subdirectory=onnx/python"
pylate-onnx-export answerdotai/answerai-colbert-small-v1 --push-to-hub lightonai/answerai-colbert-small-v1-onnx
Downloads last month

-

Downloads are not tracked for this model. How to track
Inference Providers NEW
This model isn't deployed by any Inference Provider. ๐Ÿ™‹ Ask for provider support