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
      • Learn
      • Discord
      • Forum
      • GitHub
    • Solutions
      • Team & Enterprise
      • Hugging Face PRO
      • Enterprise Support
      • Inference Providers
      • Inference Endpoints
      • Storage Buckets

  • Log In
  • Sign Up

unum-cloud
/
uform-gen2-dpo

Image-to-Text
Transformers
Safetensors
English
vlm
feature-extraction
image-captioning
visual-question-answering
custom_code
Model card Files Files and versions
xet
Community

Instructions to use unum-cloud/uform-gen2-dpo with libraries, inference providers, notebooks, and local apps. Follow these links to get started.

  • Libraries
  • Transformers

    How to use unum-cloud/uform-gen2-dpo 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="unum-cloud/uform-gen2-dpo", trust_remote_code=True)
    # Load model directly
    from transformers import AutoModel
    model = AutoModel.from_pretrained("unum-cloud/uform-gen2-dpo", trust_remote_code=True, dtype="auto")
  • Notebooks
  • Google Colab
  • Kaggle
uform-gen2-dpo
5.11 GB
Ctrl+K
Ctrl+K
  • 1 contributor
History: 12 commits
VoVoR's picture
VoVoR
Update processing_uform_gen.py
2bb78ca verified about 2 years ago
  • .gitattributes
    1.62 kB
    Upload Caprions.jpg about 2 years ago
  • Captions.jpg
    14 MB
    xet
    Rename Caprions.jpg to Captions.jpg about 2 years ago
  • README.md
    3.69 kB
    Update README.md about 2 years ago
  • cat.jpg
    142 kB
    Add: DPO model card init about 2 years ago
  • config.json
    913 Bytes
    Add: DPO model card init about 2 years ago
  • configuration_uform_gen.py
    1.66 kB
    Add: DPO model card init about 2 years ago
  • generation_config.json
    69 Bytes
    Add: DPO model card init about 2 years ago
  • interior.jpg
    95.3 kB
    Add: DPO model card init about 2 years ago
  • model-00001-of-00002.safetensors
    4.98 GB
    xet
    Add: DPO model card init about 2 years ago
  • model-00002-of-00002.safetensors
    118 MB
    xet
    Add: DPO model card init about 2 years ago
  • model.safetensors.index.json
    77.4 kB
    Add: DPO model card init about 2 years ago
  • modeling_uform_gen.py
    8.45 kB
    Add: DPO model card init about 2 years ago
  • processing_uform_gen.py
    5.9 kB
    Update processing_uform_gen.py about 2 years ago
  • vision_encoder.py
    5.27 kB
    Add: DPO model card init about 2 years ago