Add support for DINOv3 in https://github.com/huggingface/transformers.js/pull/1390
See here for the full list of supported models.
Example: Compute image embeddings
import { pipeline } from '@huggingface/transformers';
const image_feature_extractor = await pipeline(
'image-feature-extraction',
'onnx-community/dinov3-vits16-pretrain-lvd1689m-ONNX',
);
const url = 'https://huggingface.co/datasets/huggingface/documentation-images/resolve/main/cats.png';
const features = await image_feature_extractor(url);
console.log(features);
Try it out using our online demo:
https://github.com/user-attachments/assets/7b46f225-1699-467a-9d62-87c0ef497029
Full Changelog: https://github.com/huggingface/transformers.js/compare/3.7.1...3.7.2
Fetched April 7, 2026