Closed probicheaux closed 3 days ago
sorry diff looks weird, but most of the content has been moved inference/models/paligemma/paligemma.py
-> inference/models/transformers/transformers.py
@grzegorz-roboflow
I assume code loaded with import_class_from_file (transformer class and processor class) is reviewed by us if we are going to host this.
yah, this is currently only called on code that is uploaded to our core models bucket, which is only hosted by us and uploaded manually. I've reviewed every file in there (and they come from the official microsoft release of florence-v2, so nothing to worry about)
:)
Gonna merge as it seems all comments have been addressed
Description
Refactor paligemma model impl to be more general and add florence 2 based off the refactor
Type of change
Please delete options that are not relevant.
How has this change been tested, please provide a testcase or example of how you tested the change?
Tested with staging api response
Any specific deployment considerations
no
Docs