Hugging Face's logo Hugging Face
  • Models
  • Datasets
  • Spaces
  • Buckets new
  • Docs
  • Enterprise
  • Pricing
    • Website
      • Tasks
      • HuggingChat
      • Collections
      • Languages
      • Organizations
    • Community
      • Blog
      • Posts
      • Daily Papers
      • Hardware
      • Learn
      • Discord
      • Forum
      • GitHub
    • Solutions
      • Team & Enterprise
      • Hugging Face PRO
      • Enterprise Support
      • Inference Providers
      • Inference Endpoints
      • Storage Buckets

  • Log In
  • Sign Up

Ertugrul
/
Qwen2-VL-7B-Captioner-Relaxed

Image-to-Text
Transformers
Safetensors
English
qwen2_vl
image-text-to-text
text-generation-inference
Model card Files Files and versions
xet
Community
3

Instructions to use Ertugrul/Qwen2-VL-7B-Captioner-Relaxed with libraries, inference providers, notebooks, and local apps. Follow these links to get started.

  • Libraries
  • Transformers

    How to use Ertugrul/Qwen2-VL-7B-Captioner-Relaxed with Transformers:

    # Use a pipeline as a high-level helper
    # Warning: Pipeline type "image-to-text" is no longer supported in transformers v5.
    # You must load the model directly (see below) or downgrade to v4.x with:
    # 'pip install "transformers<5.0.0'
    from transformers import pipeline
    
    pipe = pipeline("image-to-text", model="Ertugrul/Qwen2-VL-7B-Captioner-Relaxed")
    # Load model directly
    from transformers import AutoProcessor, AutoModelForMultimodalLM
    
    processor = AutoProcessor.from_pretrained("Ertugrul/Qwen2-VL-7B-Captioner-Relaxed")
    model = AutoModelForMultimodalLM.from_pretrained("Ertugrul/Qwen2-VL-7B-Captioner-Relaxed", device_map="auto")
  • Notebooks
  • Google Colab
  • Kaggle
Qwen2-VL-7B-Captioner-Relaxed
16.6 GB
Ctrl+K
Ctrl+K
  • 1 contributor
History: 10 commits
Ertugrul's picture
Ertugrul
Update README.md
d41957f verified almost 2 years ago
  • .gitattributes
    1.52 kB
    initial commit almost 2 years ago
  • README.md
    3.45 kB
    Update README.md almost 2 years ago
  • added_tokens.json
    408 Bytes
    Upload processor almost 2 years ago
  • chat_template.json
    1.05 kB
    Added chat template almost 2 years ago
  • config.json
    1.11 kB
    Update config.json almost 2 years ago
  • generation_config.json
    233 Bytes
    Upload Qwen2VLForConditionalGeneration almost 2 years ago
  • merges.txt
    1.67 MB
    Upload processor almost 2 years ago
  • model-00001-of-00004.safetensors
    4.97 GB
    xet
    Upload Qwen2VLForConditionalGeneration almost 2 years ago
  • model-00002-of-00004.safetensors
    4.99 GB
    xet
    Upload Qwen2VLForConditionalGeneration almost 2 years ago
  • model-00003-of-00004.safetensors
    4.93 GB
    xet
    Upload Qwen2VLForConditionalGeneration almost 2 years ago
  • model-00004-of-00004.safetensors
    1.69 GB
    xet
    Upload Qwen2VLForConditionalGeneration almost 2 years ago
  • model.safetensors.index.json
    57.2 kB
    Upload Qwen2VLForConditionalGeneration almost 2 years ago
  • preprocessor_config.json
    596 Bytes
    Upload processor almost 2 years ago
  • special_tokens_map.json
    644 Bytes
    Upload processor almost 2 years ago
  • tokenizer.json
    7.03 MB
    Upload processor almost 2 years ago
  • tokenizer_config.json
    4.44 kB
    Upload processor almost 2 years ago
  • vocab.json
    2.78 MB
    Upload processor almost 2 years ago