Skip to content

Commit

Permalink
Merge pull request #864 from roboflow/paligemma2
Browse files Browse the repository at this point in the history
Add paligemma2
  • Loading branch information
probicheaux authored Dec 6, 2024
2 parents 443e694 + 336dac3 commit a4e51e2
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 0 deletions.
1 change: 1 addition & 0 deletions .dockerignore
Original file line number Diff line number Diff line change
Expand Up @@ -39,3 +39,4 @@ cache-test
scratch
lora-bases
lora-tars
tmptmp
6 changes: 6 additions & 0 deletions inference/models/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -244,6 +244,12 @@
): LoRAPaliGemma, # TODO: change when we have a new project type
("instance-segmentation", "paligemma-3b-pt-448-peft"): LoRAPaliGemma,
("instance-segmentation", "paligemma-3b-pt-896-peft"): LoRAPaliGemma,
("text-image-pairs", "paligemma2-3b-pt-224"): PaliGemma,
("text-image-pairs", "paligemma2-3b-pt-448"): PaliGemma,
("text-image-pairs", "paligemma2-3b-pt-896"): PaliGemma,
("text-image-pairs", "paligemma2-3b-pt-224-peft"): LoRAPaliGemma,
("text-image-pairs", "paligemma2-3b-pt-448-peft"): LoRAPaliGemma,
("text-image-pairs", "paligemma2-3b-pt-896-peft"): LoRAPaliGemma,
}
ROBOFLOW_MODEL_TYPES.update(paligemma_models)
except:
Expand Down

0 comments on commit a4e51e2

Please sign in to comment.