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

Heliosoph
/
florence-2-base-ft-quantized-onnx

Image-to-Text
Transformers
ONNX
florence2
image-text-to-text
florence-2
vision-language
image-captioning
ocr
object-detection
int8
quantized
Model card Files Files and versions
xet
Community

Instructions to use Heliosoph/florence-2-base-ft-quantized-onnx with libraries, inference providers, notebooks, and local apps. Follow these links to get started.

  • Libraries
  • Transformers

    How to use Heliosoph/florence-2-base-ft-quantized-onnx 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="Heliosoph/florence-2-base-ft-quantized-onnx")
    # Load model directly
    from transformers import AutoProcessor, AutoModelForImageTextToText
    
    processor = AutoProcessor.from_pretrained("Heliosoph/florence-2-base-ft-quantized-onnx")
    model = AutoModelForImageTextToText.from_pretrained("Heliosoph/florence-2-base-ft-quantized-onnx")
  • Notebooks
  • Google Colab
  • Kaggle
florence-2-base-ft-quantized-onnx
279 MB
Ctrl+K
Ctrl+K
  • 1 contributor
History: 3 commits
flyingbertman's picture
flyingbertman
Upload 12 files
319f5a0 verified 5 days ago
  • .gitattributes
    1.52 kB
    initial commit 5 days ago
  • LICENSE.txt
    1.14 kB
    Upload 12 files 5 days ago
  • README.md
    2.07 kB
    Update README.md 5 days ago
  • config.json
    5.43 kB
    Upload 12 files 5 days ago
  • decoder_model_quantized.onnx
    97.8 MB
    xet
    Upload 12 files 5 days ago
  • embed_tokens_quantized.onnx
    39.4 MB
    xet
    Upload 12 files 5 days ago
  • encoder_model_quantized.onnx
    43.7 MB
    xet
    Upload 12 files 5 days ago
  • generation_config.json
    292 Bytes
    Upload 12 files 5 days ago
  • merges.txt
    456 kB
    Upload 12 files 5 days ago
  • preprocessor_config.json
    2.67 kB
    Upload 12 files 5 days ago
  • special_tokens_map.json
    147 kB
    Upload 12 files 5 days ago
  • tokenizer.json
    2.3 MB
    Upload 12 files 5 days ago
  • vision_encoder_quantized.onnx
    93.7 MB
    xet
    Upload 12 files 5 days ago
  • vocab.json
    1.1 MB
    Upload 12 files 5 days ago