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