Instructions to use deepseek-ai/deepseek-vl-7b-base with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use deepseek-ai/deepseek-vl-7b-base with Transformers:
# pip install -U transformers accelerate # Load model directly from transformers import MultiModalityCausalLM model = MultiModalityCausalLM.from_pretrained("deepseek-ai/deepseek-vl-7b-base", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Download preprocessor_config.json from deepseek-ai/deepseek-vl-7b-base: direct link, hf CLI and curl.
- Browser
- Download file 389 Bytes
-
https://huggingface.co/deepseek-ai/deepseek-vl-7b-base/resolve/main/preprocessor_config.json
- Command line
-
hf download hf://deepseek-ai/deepseek-vl-7b-base/preprocessor_config.json
-
curl -L -o preprocessor_config.json https://huggingface.co/deepseek-ai/deepseek-vl-7b-base/resolve/main/preprocessor_config.json
389 Bytes
| { | |
| "background_color": [ | |
| 122, | |
| 116, | |
| 104 | |
| ], | |
| "do_normalize": false, | |
| "image_mean": [ | |
| 0.48145466, | |
| 0.4578275, | |
| 0.40821073 | |
| ], | |
| "image_processor_type": "VLMImageProcessor", | |
| "image_size": 1024, | |
| "image_std": [ | |
| 0.26862954, | |
| 0.26130258, | |
| 0.27577711 | |
| ], | |
| "min_size": 14, | |
| "processor_class": "VLChatProcessor", | |
| "rescale_factor": 0.00392156862745098 | |
| } | |