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

sujet-ai
/
Lutece-Vision-Base

Image-to-Text
Transformers
Safetensors
English
florence2
image-text-to-text
finance
vlm
florence
docvqa
visual question answering
custom_code
Model card Files Files and versions
xet
Community

Instructions to use sujet-ai/Lutece-Vision-Base with libraries, inference providers, notebooks, and local apps. Follow these links to get started.

  • Libraries
  • Transformers

    How to use sujet-ai/Lutece-Vision-Base 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="sujet-ai/Lutece-Vision-Base", trust_remote_code=True)
    # Load model directly
    from transformers import AutoProcessor, AutoModelForImageTextToText
    
    processor = AutoProcessor.from_pretrained("sujet-ai/Lutece-Vision-Base", trust_remote_code=True)
    model = AutoModelForImageTextToText.from_pretrained("sujet-ai/Lutece-Vision-Base", trust_remote_code=True)
  • Notebooks
  • Google Colab
  • Kaggle
Lutece-Vision-Base
1.09 GB
Ctrl+K
Ctrl+K
  • 2 contributors
History: 11 commits
hamedrahimi's picture
hamedrahimi
Update README.md
dcf61aa verified almost 2 years ago
  • .gitattributes
    1.57 kB
    Upload Announcement.jpg almost 2 years ago
  • Announcement.jpg
    1.55 MB
    xet
    Upload Announcement.jpg almost 2 years ago
  • README.md
    9.22 kB
    Update README.md almost 2 years ago
  • added_tokens.json
    23.4 kB
    Upload processor almost 2 years ago
  • config.json
    5.86 kB
    Upload Florence2ForConditionalGeneration almost 2 years ago
  • configuration_florence2.py
    15.1 kB
    Upload Florence2ForConditionalGeneration almost 2 years ago
  • generation_config.json
    305 Bytes
    Upload Florence2ForConditionalGeneration almost 2 years ago
  • merges.txt
    456 kB
    Upload processor almost 2 years ago
  • model.safetensors
    1.08 GB
    xet
    Upload Florence2ForConditionalGeneration almost 2 years ago
  • modeling_florence2.py
    127 kB
    Upload Florence2ForConditionalGeneration almost 2 years ago
  • preprocessor_config.json
    636 Bytes
    Upload processor almost 2 years ago
  • processing_florence2.py
    46.4 kB
    Upload processor almost 2 years ago
  • processor_config.json
    136 Bytes
    Upload processor almost 2 years ago
  • special_tokens_map.json
    308 kB
    Upload processor almost 2 years ago
  • tokenizer.json
    2.3 MB
    Upload processor almost 2 years ago
  • tokenizer_config.json
    225 kB
    Upload processor almost 2 years ago
  • vocab.json
    798 kB
    Upload processor almost 2 years ago