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:
# Load model directly from transformers import AutoModelForCausalLM model = AutoModelForCausalLM.from_pretrained("zai-org/cogvlm2-llama3-caption", trust_remote_code=True, dtype="auto") - Notebooks
- Google Colab
- Kaggle
Correct pipeline tag and library name
#9
by nielsr HF Staff - opened
This PR corrects the pipeline_tag to text-to-video to accurately reflect the model's functionality. It also updates the library_name to diffusers based on the provided code example.