Instructions to use zai-org/cogvlm2-llama3-caption with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use zai-org/cogvlm2-llama3-caption with Transformers:
# pip install -U transformers accelerate # Load model directly from transformers import AutoModelForCausalLM model = AutoModelForCausalLM.from_pretrained("zai-org/cogvlm2-llama3-caption", trust_remote_code=True, device_map="auto") - Notebooks
- Google Colab
- Kaggle
Download configuration.json from zai-org/cogvlm2-llama3-caption: direct link, hf CLI and curl.
- Browser
- Download file 57 Bytes
-
https://huggingface.co/zai-org/cogvlm2-llama3-caption/resolve/main/configuration.json
- Command line
-
hf download hf://zai-org/cogvlm2-llama3-caption/configuration.json
-
curl -L -o configuration.json https://huggingface.co/zai-org/cogvlm2-llama3-caption/resolve/main/configuration.json
57 Bytes
| {"framework":"Pytorch","task":"video-question-answering"} |