Instructions to use MrEngineer/florence-2-vqa-lora with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- PEFT
How to use MrEngineer/florence-2-vqa-lora with PEFT:
from peft import PeftModel from transformers import AutoModelForCausalLM base_model = AutoModelForCausalLM.from_pretrained("microsoft/Florence-2-base") model = PeftModel.from_pretrained(base_model, "MrEngineer/florence-2-vqa-lora") - Notebooks
- Google Colab
- Kaggle
Update README.md
Browse files
README.md
CHANGED
|
@@ -26,7 +26,7 @@ The model was fine-tuned for 3 epochs on an NVIDIA A100-40GB GPU using mixed pre
|
|
| 26 |
## Local Web UI (Gradio)
|
| 27 |
The repository includes a local `app.py` script that loads these LoRA adapters and spins up a local web UI for inference.
|
| 28 |
|
| 29 |
-

|
| 27 |
The repository includes a local `app.py` script that loads these LoRA adapters and spins up a local web UI for inference.
|
| 28 |
|
| 29 |
+

|
| 30 |
|
| 31 |
### Framework versions
|
| 32 |
- PEFT 0.11.1
|