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

yayayaaa
/
florence-2-large-ft-moredetailed

Image-to-Text
Transformers
Safetensors
English
florence2
image-text-to-text
image-captioning
custom_code
Model card Files Files and versions
xet
Community
4

Instructions to use yayayaaa/florence-2-large-ft-moredetailed with libraries, inference providers, notebooks, and local apps. Follow these links to get started.

  • Libraries
  • Transformers

    How to use yayayaaa/florence-2-large-ft-moredetailed 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="yayayaaa/florence-2-large-ft-moredetailed", trust_remote_code=True)
    # Load model directly
    from transformers import AutoProcessor, AutoModelForMultimodalLM
    
    processor = AutoProcessor.from_pretrained("yayayaaa/florence-2-large-ft-moredetailed", trust_remote_code=True)
    model = AutoModelForMultimodalLM.from_pretrained("yayayaaa/florence-2-large-ft-moredetailed", trust_remote_code=True)
  • Notebooks
  • Google Colab
  • Kaggle
florence-2-large-ft-moredetailed
Ctrl+K
Ctrl+K
  • 2 contributors
History: 10 commits
yayayaaa's picture
yayayaaa
userx1's picture
userx1
Update README.md (#4)
1ad2a5f verified 7 months ago
  • .gitattributes
    1.52 kB
    initial commit about 2 years ago
  • README.md
    3.4 kB
    Update README.md (#4) 7 months ago
  • __init__.py
    0 Bytes
    Add finetuned florence-2-ft model about 2 years ago
  • added_tokens.json
    22.4 kB
    Add finetuned florence-2-ft model about 2 years ago
  • config.json
    2.45 kB
    Add finetuned florence-2-ft model about 2 years ago
  • configuration_florence2.py
    15.1 kB
    Add finetuned florence-2-ft model about 2 years ago
  • generation_config.json
    57 Bytes
    Add finetuned florence-2-ft model about 2 years ago
  • merges.txt
    456 kB
    Add finetuned florence-2-ft model about 2 years ago
  • model.safetensors
    3.29 GB
    xet
    Update model to v3 almost 2 years ago
  • modeling_florence2.py
    127 kB
    Update modeling_florence2.py about 1 year ago
  • preprocessor_config.json
    634 Bytes
    Add finetuned florence-2-ft model about 2 years ago
  • processing_florence2.py
    46.4 kB
    Add finetuned florence-2-ft model about 2 years ago
  • special_tokens_map.json
    147 kB
    Add finetuned florence-2-ft model about 2 years ago
  • tokenizer.json
    2.3 MB
    Add finetuned florence-2-ft model about 2 years ago
  • tokenizer_config.json
    198 kB
    Add finetuned florence-2-ft model about 2 years ago
  • vocab.json
    798 kB
    Add finetuned florence-2-ft model about 2 years ago