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")