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

Mitchins
/
Florence-Chan-2.1

Image-to-Text
Transformers
Safetensors
English
florence2
image-text-to-text
florence-2
image-captioning
anime
bf16
lora
fine-tuned
custom_code
Model card Files Files and versions
xet
Community

Instructions to use Mitchins/Florence-Chan-2.1 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.

  • Libraries
  • Transformers

    How to use Mitchins/Florence-Chan-2.1 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="Mitchins/Florence-Chan-2.1", trust_remote_code=True)
    # Load model directly
    from transformers import AutoProcessor, AutoModelForMultimodalLM
    
    processor = AutoProcessor.from_pretrained("Mitchins/Florence-Chan-2.1", trust_remote_code=True)
    model = AutoModelForMultimodalLM.from_pretrained("Mitchins/Florence-Chan-2.1", trust_remote_code=True, device_map="auto")
  • Notebooks
  • Google Colab
  • Kaggle
Florence-Chan-2.1 / examples
452 kB
Ctrl+K
Ctrl+K
  • 1 contributor
History: 1 commit
Mitchins's picture
Mitchins
Publish Florence-Chan-2.1 baked BF16 checkpoint
5dd36d8 verified 19 days ago
  • 01_danbooru_8428374.jpg
    40.8 kB
    Publish Florence-Chan-2.1 baked BF16 checkpoint 19 days ago
  • 02_danbooru_5341516.jpg
    51.6 kB
    Publish Florence-Chan-2.1 baked BF16 checkpoint 19 days ago
  • 03_danbooru_5294973.jpg
    74.7 kB
    Publish Florence-Chan-2.1 baked BF16 checkpoint 19 days ago
  • 04_danbooru_7019581.jpg
    42.2 kB
    Publish Florence-Chan-2.1 baked BF16 checkpoint 19 days ago
  • 05_danbooru_8654121.jpg
    63.3 kB
    Publish Florence-Chan-2.1 baked BF16 checkpoint 19 days ago
  • 06_danbooru_5221484.jpg
    55.2 kB
    Publish Florence-Chan-2.1 baked BF16 checkpoint 19 days ago
  • 07_danbooru_8643115.jpg
    57.9 kB
    Publish Florence-Chan-2.1 baked BF16 checkpoint 19 days ago
  • 08_danbooru_6621403.jpg
    66.1 kB
    Publish Florence-Chan-2.1 baked BF16 checkpoint 19 days ago