BabaK07 commited on
Commit
aae2a40
·
verified ·
1 Parent(s): b8a8a54

Fix config.json for proper loading

Browse files
Files changed (1) hide show
  1. config.json +5 -3
config.json CHANGED
@@ -2,7 +2,7 @@
2
  "architectures": [
3
  "FixedPaliGemmaOCR"
4
  ],
5
- "model_type": "custom-paligemma-ocr",
6
  "base_model": "google/paligemma-3b-pt-224",
7
  "custom_ocr_features": true,
8
  "hidden_size": 2048,
@@ -10,6 +10,8 @@
10
  "torch_dtype": "float32",
11
  "transformers_version": "4.40.0",
12
  "auto_map": {
13
- "AutoModel": "modeling_paligemma_ocr.FixedPaliGemmaOCR"
14
- }
 
 
15
  }
 
2
  "architectures": [
3
  "FixedPaliGemmaOCR"
4
  ],
5
+ "model_type": "paligemma",
6
  "base_model": "google/paligemma-3b-pt-224",
7
  "custom_ocr_features": true,
8
  "hidden_size": 2048,
 
10
  "torch_dtype": "float32",
11
  "transformers_version": "4.40.0",
12
  "auto_map": {
13
+ "AutoModel": "modeling_pixeltext.FixedPaliGemmaOCR"
14
+ },
15
+ "_name_or_path": "google/paligemma-3b-pt-224",
16
+ "custom_model": true
17
  }