Instructions to use Xenova/owlvit-base-patch32 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers.js
How to use Xenova/owlvit-base-patch32 with Transformers.js:
// npm i @huggingface/transformers import { pipeline } from '@huggingface/transformers'; // Allocate pipeline const pipe = await pipeline('zero-shot-object-detection', 'Xenova/owlvit-base-patch32');
Commit History
-
Add/update the quantized ONNX model files and README.md for Transformers.js v3
Verified signature## Applied Quantizations ### ❌ Based on `model.onnx` *with* slimming ``` None ``` ↳ ❌ `int8`: `model_int8.onnx` (added but JS-based E2E test failed) ``` /home/ubuntu/src/tjsmigration/node_modules/.pnpm/onnxruntime-node@1.21.0/node_modules/onnxruntime-node/dist/backend.js:25 __classPrivateFieldGet(this, _OnnxruntimeSessionHandler_inferenceSession, "f").loadModel(pathOrBuffer, options); ^ Error: Could not find an implementation for ConvInteger(10) node with name '/owlvit/vision_model/embeddings/patch_embedding/Conv_quant' at new OnnxruntimeSessionHandler (/home/ubuntu/src/tjsmigration/node_modules/.pnpm/onnxruntime-node@1.21.0/node_modules/onnxruntime-node/dist/backend.js:25:92) at Immediate.<anonymous> (/home/ubuntu/src/tjsmigration/node_modules/.pnpm/onnxruntime-node@1.21.0/node_modules/onnxruntime-node/dist/backend.js:67:29) at process.processImmediate (node:internal/t…f882495
-
[Automated] Update base model metadata
Verified signatureSet base model to "google/owlvit-base-patch32"fc7afa5
-
Upload fp16 ONNX weights
Verified signature9d2412c
-
Update README.md
514fdd0 -
Update README.md
b957f46 -
Update README.md
a6583d5
-
Update README.md
58a1e80
-
Upload folder using huggingface_hub
8719eec -
Upload README.md with huggingface_hub
d2b0595 -
Upload README.md with huggingface_hub
c33d526 -
Upload README.md with huggingface_hub
e2fc647
-
Update README.md
b388de1 -
Upload folder using huggingface_hub
45ef6d2 -
Upload README.md with huggingface_hub
0c7bce2 -
initial commit
212d9d6