Instructions to use onnx-community/Phi-3.5-vision-instruct with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers.js
How to use onnx-community/Phi-3.5-vision-instruct with Transformers.js:
// npm i @huggingface/transformers import { pipeline } from '@huggingface/transformers'; // Allocate pipeline const pipe = await pipeline('text-generation', 'onnx-community/Phi-3.5-vision-instruct');
File size: 442 Bytes
4181279 | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 | {
"auto_map": {
"AutoImageProcessor": "processing_phi3_v.Phi3VImageProcessor",
"AutoProcessor": "processing_phi3_v.Phi3VProcessor"
},
"do_convert_rgb": true,
"image_mean": [
0.48145466,
0.4578275,
0.40821073
],
"image_processor_type": "Phi3VImageProcessor",
"image_std": [
0.26862954,
0.26130258,
0.27577711
],
"num_crops": 4,
"num_img_tokens": 144,
"processor_class": "Phi3VProcessor"
}
|