Instructions to use theIndividual/Florence-2-large with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use theIndividual/Florence-2-large 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="theIndividual/Florence-2-large", trust_remote_code=True)# Load model directly from transformers import AutoProcessor, AutoModelForMultimodalLM processor = AutoProcessor.from_pretrained("theIndividual/Florence-2-large", trust_remote_code=True) model = AutoModelForMultimodalLM.from_pretrained("theIndividual/Florence-2-large", trust_remote_code=True) - Notebooks
- Google Colab
- Kaggle
- Xet hash:
- 10399db22483df64dea03a1c3f2977592478b5f4b95922feefc48792c58a1b4f
- Size of remote file:
- 1.54 GB
- SHA256:
- a8b6ee6144f20a57200a0e3fab21f067d6cc77036262b72d9f6f7f4e556c8f15
·
Xet efficiently stores Large Files inside Git, intelligently splitting files into unique chunks and accelerating uploads and downloads. More info.