BabaK07 commited on
Commit
2a00956
·
verified ·
1 Parent(s): 8f8ea37

FIX: Add proper config.json with from_pretrained support

Browse files
Files changed (1) hide show
  1. config.json +5 -5
config.json CHANGED
@@ -1,17 +1,17 @@
1
  {
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,
9
  "vocab_size": 257216,
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
  }
 
1
  {
2
  "architectures": [
3
+ "FixedPixelTextOCR"
4
  ],
5
+ "model_type": "pixeltext",
6
  "base_model": "google/paligemma-3b-pt-224",
 
7
  "hidden_size": 2048,
8
  "vocab_size": 257216,
9
  "torch_dtype": "float32",
10
  "transformers_version": "4.40.0",
11
  "auto_map": {
12
+ "AutoModel": "modeling_pixeltext.FixedPixelTextOCR",
13
+ "AutoConfig": "modeling_pixeltext.PixelTextConfig"
14
  },
15
+ "_name_or_path": "BabaK07/pixeltext-ai",
16
  "custom_model": true
17
  }