Instructions to use Xenova/colbertv2.0 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers.js
How to use Xenova/colbertv2.0 with Transformers.js:
// npm i @huggingface/transformers import { pipeline } from '@huggingface/transformers'; // Allocate pipeline const pipe = await pipeline('feature-extraction', 'Xenova/colbertv2.0');
Colbertv2 ONNX support
#1
by AmineOueslati - opened
Can you provide code or some pointers to how to export colbert-v2 to onnx model.
I need to get this version antoinelouis/colbertv2-camembert-L4-mmarcoFR to an ONNX model.
Thank you in advance :)
@AmineOueslati Have you tried the guidance in this link? https://github.com/huggingface/transformers.js?tab=readme-ov-file#convert-your-models-to-onnx