Instructions to use Xenova/moondream2 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers.js
How to use Xenova/moondream2 with Transformers.js:
// npm i @huggingface/transformers import { pipeline } from '@huggingface/transformers'; // Allocate pipeline const pipe = await pipeline('image-text-to-text', 'Xenova/moondream2');
ONNX files for Moondream2 0.5B version
#12
by ptoupas - opened
Hi,
Thank you for sharing the ONNX files for the Moondream2 model β that was super helpful!
Just to confirm, are these files from the 2B version of the model?
I was also wondering if there are any plans to release the 0.5B version in ONNX format as well. If not, would you be able to share some guidance or steps on how I could generate it myself?
Best,
Petros