Image-to-Text
Transformers.js
ONNX
English
multi_modality
webgpu
multimodal
text-to-image
vision-language
janus
browser-ai
edge-ai
Run this model with HF Jobs
Run Zhare-AI/janus-pro-7b-webgpu on Hugging Face's managed compute, monitor its progress, and retrieve the results when it's done.
Paste one of these prompts into your coding agent:
Fine-tune on my dataset
Use HF Jobs to fine-tune https://huggingface.co/Zhare-AI/janus-pro-7b-webgpu. Ask me which dataset to train on, then push the fine-tuned model to a new model repo. Run `hf jobs --help` first to learn the CLI.
Run batch inference
Use HF Jobs to run batch inference with https://huggingface.co/Zhare-AI/janus-pro-7b-webgpu on the inputs in a mounted HF Bucket. Ask me which Bucket to use, then write the outputs back to it and keep each input ID. Run `hf jobs --help` first to learn the CLI.
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');
Upload folder using huggingface_hub
Browse filesFiles changed (3)
- config.json+3-5
- model_index.json+10-38
- onnx/image_decode.onnx+2-2
42 unmodified lines43444546464748497 unmodified lines575859606061626364656667656642 unmodified lines "torch_dtype": "bfloat16", "vocab_size": 102400 }, "model_type": "multi_modality", "model_type": "janus", "torch_dtype": "float16", "transformers_version": "4.33.1", "vision_config": {7 unmodified lines } }, "architectures": [ "MultiModalityCausalLM" "JanusForConditionalGeneration" ], "use_cache": true, "webgpu_compatible": true, "quantization": "q4f16", "pipeline_tag": "image-to-text", "transformers_js_compatible": true, "webgpu_optimized": true "pipeline_tag": "text-to-image"}12323456767891011121314151617181920212223242526272829303132333435363738891011121314154445164717181920{ "model_type": "multi_modality", "framework": "transformers.js", "model_name": "Janus-Pro-7B", "model_type": "multimodal", "architecture": "janus", "format": "onnx", "quantization": "q4f16", "device": "webgpu", "dtype": "q4f16", "total_size_mb": 7943.1, "components": 7, "files": [ { "name": "embed_tokens.onnx", "size_mb": 1600.0 }, { "name": "gen_head.onnx", "size_mb": 320.1 }, { "name": "gen_img_embeds.onnx", "size_mb": 64.0 }, { "name": "image_decode.onnx", "size_mb": 1159.0 }, { "name": "language_model.onnx", "size_mb": 1600.0 }, { "name": "lm_head.onnx", "size_mb": 1600.0 }, { "name": "prepare_inputs_embeds.onnx", "size_mb": 1600.0 } ], "total_size_mb": 4935.2, "components_count": 6, "status": "complete", "capabilities": [ "text-to-image", "image-to-text", "multimodal-chat" ], "based_on": "onnx-community/Janus-Pro-1B-ONNX structure", "adapted_for": "Janus-Pro-7B", "transformers_js_compatible": true, "webgpu_optimized": true "webgpu_optimized": true, "export_date": "2025-09-27", "notes": "All 6 components successfully exported for WebGPU deployment"}12323version https://git-lfs.github.com/spec/v1oid sha256:5c17e3ed46cb81ac30d8cf1c9c6c723afc77108a52a63df4c6b74e7c1dd8431csize 1215274800oid sha256:e75a7995ab44837b2fb1bfe151886d3d009bc567f2c39e18a881944d810ba115size 16834303config.json+3-5
model_index.json+10-38
onnx/image_decode.onnx+2-2