Instructions to use ArkhAngelLifeJiggy/Janus-Pro-7B with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use ArkhAngelLifeJiggy/Janus-Pro-7B with Transformers:
# pip install -U transformers accelerate # Load model directly from transformers import AutoModel model = AutoModel.from_pretrained("ArkhAngelLifeJiggy/Janus-Pro-7B", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Download special_tokens_map.json from ArkhAngelLifeJiggy/Janus-Pro-7B: direct link, hf CLI and curl.
- Browser
- Download file 344 Bytes
-
https://huggingface.co/ArkhAngelLifeJiggy/Janus-Pro-7B/resolve/main/special_tokens_map.json
- Command line
-
hf download hf://ArkhAngelLifeJiggy/Janus-Pro-7B/special_tokens_map.json
-
curl -L -o special_tokens_map.json https://huggingface.co/ArkhAngelLifeJiggy/Janus-Pro-7B/resolve/main/special_tokens_map.json
344 Bytes
| { | |
| "additional_special_tokens": [ | |
| "<image_placeholder>", | |
| "<patch_placeholder>", | |
| "<|ref|>", | |
| "<|/ref|>", | |
| "<|det|>", | |
| "<|/det|>", | |
| "<|grounding|>", | |
| "<|User|>", | |
| "<|Assistant|>" | |
| ], | |
| "bos_token": "<|begin▁of▁sentence|>", | |
| "eos_token": "<|end▁of▁sentence|>", | |
| "pad_token": "<|▁pad▁|>" | |
| } | |