Instructions to use OpenGVLab/V2PE with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use OpenGVLab/V2PE with Transformers:
# pip install -U transformers accelerate # Load model directly from transformers import AutoModel model = AutoModel.from_pretrained("OpenGVLab/V2PE", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Download V2PE-256K/generation_config.json from OpenGVLab/V2PE: direct link, hf CLI and curl.
- Browser
- Download file 69 Bytes
-
https://huggingface.co/OpenGVLab/V2PE/resolve/refs%2Fpr%2F1/V2PE-256K/generation_config.json
- Command line
-
hf download hf://OpenGVLab/V2PE@refs/pr/1/V2PE-256K/generation_config.json
-
curl -L -o generation_config.json https://huggingface.co/OpenGVLab/V2PE/resolve/refs%2Fpr%2F1/V2PE-256K/generation_config.json
69 Bytes
| { | |
| "_from_model_config": true, | |
| "transformers_version": "4.44.0" | |
| } | |