[Model] IBM/NASA Prithvi Geospatial model (#12830)

This commit is contained in:
Christian Pinto
2025-02-11 20:34:30 -08:00
committed by GitHub
parent 3ee696a63d
commit 974dfd4971
7 changed files with 811 additions and 9 deletions
+4
View File
@@ -137,6 +137,10 @@ _EMBEDDING_MODELS = {
"Qwen2VLForConditionalGeneration": ("qwen2_vl", "Qwen2VLForConditionalGeneration"), # noqa: E501
# [Auto-converted (see adapters.py)]
"Qwen2ForSequenceClassification": ("qwen2", "Qwen2ForCausalLM"),
# Technically PrithviGeoSpatialMAE is a model that works on images, both in
# input and output. I am adding it here because it piggy-backs on embedding
# models for the time being.
"PrithviGeoSpatialMAE": ("prithvi_geospatial_mae", "PrithviGeoSpatialMAE"),
}
_CROSS_ENCODER_MODELS = {