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

unum-cloud
/
uform-gen

Image-to-Text
Transformers
Safetensors
English
vlm
text-generation
image-captioning
visual-question-answering
Model card Files Files and versions
xet
Community
1

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

  • Libraries
  • Transformers

    How to use unum-cloud/uform-gen 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-gen")
    # pip install -U transformers accelerate
    # Load model directly
    from transformers import AutoModelForCausalLM
    model = AutoModelForCausalLM.from_pretrained("unum-cloud/uform-gen", device_map="auto")
  • Notebooks
  • Google Colab
  • Kaggle
uform-gen
5.96 GB
Ctrl+K
Ctrl+K
  • 2 contributors
History: 4 commits
kimihailv's picture
kimihailv
Update config.json
d7cf97c almost 3 years ago
  • .gitattributes
    1.52 kB
    initial commit almost 3 years ago
  • added_tokens.json
    71 Bytes
    Upload tokenizer almost 3 years ago
  • config.json
    732 Bytes
    Update config.json almost 3 years ago
  • generation_config.json
    69 Bytes
    Upload VLMForCausalLM almost 3 years ago
  • model-00001-of-00002.safetensors
    4.98 GB
    xet
    Upload VLMForCausalLM almost 3 years ago
  • model-00002-of-00002.safetensors
    974 MB
    xet
    Upload VLMForCausalLM almost 3 years ago
  • model.safetensors.index.json
    40.8 kB
    Upload VLMForCausalLM almost 3 years ago
  • special_tokens_map.json
    547 Bytes
    Upload tokenizer almost 3 years ago
  • tokenizer.json
    1.84 MB
    Upload tokenizer almost 3 years ago
  • tokenizer.model
    500 kB
    xet
    Upload tokenizer almost 3 years ago
  • tokenizer_config.json
    1.82 kB
    Upload tokenizer almost 3 years ago