Image-to-Text
Transformers.js
ONNX
English
multi_modality
webgpu
multimodal
text-to-image
vision-language
janus
browser-ai
edge-ai
Instructions to use Zhare-AI/janus-pro-7b-webgpu with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers.js
How to use Zhare-AI/janus-pro-7b-webgpu with Transformers.js:
// npm i @huggingface/transformers import { pipeline } from '@huggingface/transformers'; // Allocate pipeline const pipe = await pipeline('image-to-text', 'Zhare-AI/janus-pro-7b-webgpu');
File size: 346 Bytes
a413f2a | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 | {
"background_color": [
127,
127,
127
],
"do_normalize": true,
"image_mean": [
0.5,
0.5,
0.5
],
"image_processor_type": "VLMImageProcessor",
"image_size": 384,
"image_std": [
0.5,
0.5,
0.5
],
"min_size": 14,
"processor_class": "VLChatProcessor",
"rescale_factor": 0.00392156862745098
}
|