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)# pip install -U transformers accelerate # 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, device_map="auto") - Notebooks
- Google Colab
- Kaggle
Download pytorch_model.bin from theIndividual/Florence-2-large: direct link, hf CLI and curl.
- Browser
- Download file 1.54 GB
-
https://huggingface.co/theIndividual/Florence-2-large/resolve/main/pytorch_model.bin
- Command line
-
hf download hf://theIndividual/Florence-2-large/pytorch_model.bin
-
curl -L -o pytorch_model.bin https://huggingface.co/theIndividual/Florence-2-large/resolve/main/pytorch_model.bin
1.54 GB
- 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.