farbodpya commited on
Commit
d0ffc98
·
verified ·
1 Parent(s): bd63f64

Update config.json

Browse files
Files changed (1) hide show
  1. config.json +3 -11
config.json CHANGED
@@ -1,18 +1,10 @@
1
  {
2
- "architectures": [
3
- "CNN_Transformer_OCR"
4
- ],
5
- "model_type": "custom_ocr",
6
- "num_classes": 150,
7
  "d_model": 1280,
8
  "nhead": 16,
9
  "num_layers": 8,
10
  "dropout": 0.2,
11
  "adaptive_height": 8,
12
- "pipeline_tag": "image-to-text",
13
- "auto_map": {
14
- "image-to-text": "model.CNN_Transformer_OCR"
15
- },
16
- "license": "apache-2.0",
17
- "language": ["fa"]
18
  }
 
1
  {
2
+ "model_type": "persianocr",
3
+ "num_classes": 288,
 
 
 
4
  "d_model": 1280,
5
  "nhead": 16,
6
  "num_layers": 8,
7
  "dropout": 0.2,
8
  "adaptive_height": 8,
9
+ "vocab_size": 287
 
 
 
 
 
10
  }