Any-to-Any
Transformers
Safetensors
janus
image-text-to-text
muiltimodal
text-to-image
unified-model
Instructions to use deepseek-community/Janus-Pro-1B with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use deepseek-community/Janus-Pro-1B with Transformers:
# Load model directly from transformers import AutoProcessor, AutoModelForMultimodalLM processor = AutoProcessor.from_pretrained("deepseek-community/Janus-Pro-1B") model = AutoModelForMultimodalLM.from_pretrained("deepseek-community/Janus-Pro-1B", device_map="auto") - Notebooks
- Google Colab
- Kaggle
| { | |
| "additional_special_tokens": [ | |
| "<image_placeholder>", | |
| "<patch_placeholder>", | |
| "<|ref|>", | |
| "<|/ref|>", | |
| "<|det|>", | |
| "<|/det|>", | |
| "<|grounding|>", | |
| "<|User|>", | |
| "<|Assistant|>" | |
| ], | |
| "boi_token": "<begin_of_image>", | |
| "bos_token": { | |
| "content": "<|begin▁of▁sentence|>", | |
| "lstrip": false, | |
| "normalized": true, | |
| "rstrip": false, | |
| "single_word": false | |
| }, | |
| "eoi_token": "<end_of_image>", | |
| "eos_token": { | |
| "content": "<|end▁of▁sentence|>", | |
| "lstrip": false, | |
| "normalized": true, | |
| "rstrip": false, | |
| "single_word": false | |
| }, | |
| "image_token": "<image_placeholder>", | |
| "pad_token": { | |
| "content": "<|▁pad▁|>", | |
| "lstrip": false, | |
| "normalized": false, | |
| "rstrip": false, | |
| "single_word": false | |
| } | |
| } | |