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');
Download onnx/decoder_model_merged.onnx_data from Xenova/moondream2: direct link, hf CLI and curl.
- Browser
- Download file 5.25 GB
-
https://huggingface.co/Xenova/moondream2/resolve/main/onnx/decoder_model_merged.onnx_data
- Command line
-
hf download hf://Xenova/moondream2/onnx/decoder_model_merged.onnx_data
-
curl -L -o decoder_model_merged.onnx_data https://huggingface.co/Xenova/moondream2/resolve/main/onnx/decoder_model_merged.onnx_data
5.25 GB
- Xet hash:
- f968013fa6cb861f24e6d675ad3cd50f335768094a89334f4cbcf847317fdc05
- Size of remote file:
- 5.25 GB
- SHA256:
- 1e0f60b6dbd4825a09e4f6a0f1e276d15918f8fcf0283a7d89fc85192034c911
·
Xet efficiently stores Large Files inside Git, intelligently splitting files into unique chunks and accelerating uploads and downloads. More info.