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
Where to place the .py scripts? It raises Unrecognized configuration class
#5
by luling24 - opened
It always raises:
Unrecognized configuration class <class 'transformers_modules.cogvlm2-llama3-caption.configuration_cogvlm.CogVLMConfig'> to build an AutoTokenizer
which is defined in the py scripts.
How to properly place the py files?
It was just caused by a damaged file.
luling24 changed discussion status to closed