Instructions to use Xenova/owlv2-base-patch16-ensemble with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers.js
How to use Xenova/owlv2-base-patch16-ensemble with Transformers.js:
// npm i @huggingface/transformers import { pipeline } from '@huggingface/transformers'; // Allocate pipeline const pipe = await pipeline('zero-shot-object-detection', 'Xenova/owlv2-base-patch16-ensemble');
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 '/owlv2/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/ti…a73a0d6
-
[Automated] Update base model metadata
Verified signatureSet base model to "google/owlv2-base-patch16-ensemble"1e23c8f
-
Upload fp16 ONNX weights
Verified signature5214a97
-
Update README.md
Verified signatureb807cea -
Upload folder using huggingface_hub
Verified signature358216f -
Upload README.md with huggingface_hub
Verified signatured25b0f9 -
initial commit
Verified signature98f6bd4