Hugging Face's logo Hugging Face
  • Models
  • Datasets
  • Spaces
  • Buckets new
  • Docs
  • Enterprise
  • Pricing

  • Log In
  • Sign Up

BAAI
/
Video-XL-2

Video-Text-to-Text
Transformers
Safetensors
English
qwen2
text-generation
multimodal
custom_code
text-generation-inference
Model card Files Files and versions
xet
Community
6

Instructions to use BAAI/Video-XL-2 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.

  • Libraries
  • Transformers

    How to use BAAI/Video-XL-2 with Transformers:

    # Load model directly
    from transformers import AutoTokenizer, AutoModelForCausalLM
    
    tokenizer = AutoTokenizer.from_pretrained("BAAI/Video-XL-2", trust_remote_code=True)
    model = AutoModelForCausalLM.from_pretrained("BAAI/Video-XL-2", trust_remote_code=True)
  • Notebooks
  • Google Colab
  • Kaggle
New discussion
Resources
  • PR & discussions documentation
  • Code of Conduct
  • Hub documentation

AttributeError: 'Qwen2ForCausalLM' object has no attribute 'chat'

#5 opened 10 months ago by
aa-Polaris

can't load model. BAAI/Video-XL-2 does not appear to have a file named multimodal_encoder.builder.py.

🤝 1
4
#4 opened 11 months ago by
zhangsongbo365

So many bug!

10
#3 opened 11 months ago by
guiuiui007

Demo

👍 1
1
#2 opened 11 months ago by
merve

Out of Mem for 4090-24G

👍 1
2
#1 opened 11 months ago by
GUESSGUO
Company
TOS Privacy About Careers
Website
Models Datasets Spaces Pricing Docs