JoyCN commited on
Commit
d60a760
·
verified ·
1 Parent(s): feef991

config: add safetensors+pth weights and compat info

Browse files
Files changed (1) hide show
  1. config.json +20 -4
config.json CHANGED
@@ -2,10 +2,26 @@
2
  "library_name": "pytorch",
3
  "format": "pth",
4
  "weights": {
5
- "det": "ptocr_v5_server_det.pth",
6
- "rec": "ptocr_v5_server_rec.pth"
 
 
 
 
 
 
7
  },
8
  "homepage": "https://github.com/frotms/PaddleOCR2Pytorch",
9
  "created": "2025-09-16",
10
- "notes": "Presence of this file helps Hub track downloads (query file)."
11
- }
 
 
 
 
 
 
 
 
 
 
 
2
  "library_name": "pytorch",
3
  "format": "pth",
4
  "weights": {
5
+ "det": {
6
+ "safetensors": "ptocr_v5_server_det.safetensors",
7
+ "pth": "ptocr_v5_server_det.pth"
8
+ },
9
+ "rec": {
10
+ "safetensors": "ptocr_v5_server_rec.safetensors",
11
+ "pth": "ptocr_v5_server_rec.pth"
12
+ }
13
  },
14
  "homepage": "https://github.com/frotms/PaddleOCR2Pytorch",
15
  "created": "2025-09-16",
16
+ "notes": "Presence of this file helps Hub track downloads (query file).",
17
+ "formats": [
18
+ "safetensors",
19
+ "pth"
20
+ ],
21
+ "compat": {
22
+ "project": "PaddleOCR2Pytorch",
23
+ "repo": "https://github.com/frotms/PaddleOCR2Pytorch",
24
+ "license": "Apache-2.0"
25
+ },
26
+ "updated": "2025-09-16"
27
+ }