Instructions to use OpenGVLab/VideoChat-TPO with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use OpenGVLab/VideoChat-TPO with Transformers:
# pip install -U transformers accelerate # Load model directly from transformers import AutoModel model = AutoModel.from_pretrained("OpenGVLab/VideoChat-TPO", trust_remote_code=True, device_map="auto") - Notebooks
- Google Colab
- Kaggle
Add paper link and library name
Browse filesThis PR adds a link to the paper [Task Preference Optimization: Improving Multimodal Large Language Models with Vision Task Alignment](https://huggingface.co/papers/2412.19326).
It also adds `library_name`, enabling people to use the model with the Transformers library.
123456789101112---base_model:- mistralai/Mistral-7B-Instruct-v0.2license: mitpipeline_tag: video-text-to-text---# VideoChat2-TPO## 🏃 Installation```123456789101112131415---base_model:- mistralai/Mistral-7B-Instruct-v0.2library_name: transformerslicense: mitpipeline_tag: video-text-to-text---# VideoChat2-TPOThis model is based on the paper [Task Preference Optimization: Improving Multimodal Large Language Models with Vision Task Alignment](https://huggingface.co/papers/2412.19326).## 🏃 Installation```
README.md+3