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

  • Log In
  • Sign Up

4bit
/
uform-gen

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

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

  • Libraries
  • Transformers

    How to use 4bit/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="4bit/uform-gen")
    # Load model directly
    from transformers import AutoModelForCausalLM
    model = AutoModelForCausalLM.from_pretrained("4bit/uform-gen", dtype="auto")
  • Notebooks
  • Google Colab
  • Kaggle
uform-gen
5.96 GB
Ctrl+K
Ctrl+K
  • 1 contributor
History: 2 commits
camenduru's picture
camenduru
thanks to unum-cloud ❤
60b3795 over 2 years ago
  • .gitattributes
    1.63 kB
    thanks to unum-cloud ❤ over 2 years ago
  • README.md
    4.55 kB
    thanks to unum-cloud ❤ over 2 years ago
  • added_tokens.json
    71 Bytes
    thanks to unum-cloud ❤ over 2 years ago
  • config.json
    732 Bytes
    thanks to unum-cloud ❤ over 2 years ago
  • generation_config.json
    69 Bytes
    thanks to unum-cloud ❤ over 2 years ago
  • input-girl.jpg
    127 kB
    thanks to unum-cloud ❤ over 2 years ago
  • input-interior.jpg
    44.4 kB
    thanks to unum-cloud ❤ over 2 years ago
  • model-00001-of-00002.safetensors
    4.98 GB
    xet
    thanks to unum-cloud ❤ over 2 years ago
  • model-00002-of-00002.safetensors
    974 MB
    xet
    thanks to unum-cloud ❤ over 2 years ago
  • model.safetensors.index.json
    40.8 kB
    thanks to unum-cloud ❤ over 2 years ago
  • preview-girl.png
    2.89 MB
    xet
    thanks to unum-cloud ❤ over 2 years ago
  • preview-interior.png
    1.15 MB
    xet
    thanks to unum-cloud ❤ over 2 years ago
  • special_tokens_map.json
    547 Bytes
    thanks to unum-cloud ❤ over 2 years ago
  • tokenizer.json
    1.84 MB
    thanks to unum-cloud ❤ over 2 years ago
  • tokenizer.model
    500 kB
    xet
    thanks to unum-cloud ❤ over 2 years ago
  • tokenizer_config.json
    1.82 kB
    thanks to unum-cloud ❤ over 2 years ago