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