Upload folder using huggingface_hub
Browse files
v2_multilingual/charset.txt
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
v2_multilingual/config.json
ADDED
|
@@ -0,0 +1,34 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"variant": "v2_multilingual",
|
| 3 |
+
"runtime": "mlx",
|
| 4 |
+
"source_root": "/Volumes/Files/Original Weights/nemotron-ocr-v2/v2_multilingual",
|
| 5 |
+
"sequence_length": 128,
|
| 6 |
+
"detector_side": 1024,
|
| 7 |
+
"gpu_detector_side": 512,
|
| 8 |
+
"cpu_detector_side": 256,
|
| 9 |
+
"detector_feature_depth": 128,
|
| 10 |
+
"recognizer_chunk_size": 8,
|
| 11 |
+
"relational_chunk_size": 128,
|
| 12 |
+
"relational_max_regions": 256,
|
| 13 |
+
"actual_vocab_size": 14247,
|
| 14 |
+
"region_batch_size": 8,
|
| 15 |
+
"invalid_logit": -10000.0,
|
| 16 |
+
"model_config": {
|
| 17 |
+
"num_tokens": 14247,
|
| 18 |
+
"max_width": 128,
|
| 19 |
+
"sequence_length": 128,
|
| 20 |
+
"scope": 2048,
|
| 21 |
+
"coordinate_mode": "RBOX",
|
| 22 |
+
"backbone": "regnet_x_8gf",
|
| 23 |
+
"charset_size": 14244,
|
| 24 |
+
"recognizer_variant": "prenorm",
|
| 25 |
+
"has_pre_norm": false,
|
| 26 |
+
"has_tx_norm": true,
|
| 27 |
+
"norm_first": true,
|
| 28 |
+
"depth": 256,
|
| 29 |
+
"num_layers": 6,
|
| 30 |
+
"nhead": 8,
|
| 31 |
+
"dim_feedforward": 2048,
|
| 32 |
+
"feature_depth": 512
|
| 33 |
+
}
|
| 34 |
+
}
|
v2_multilingual/detector.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:3928ba6eeec8a4c3db87d49e33c26dfad5ef1c6860fdfd1478c8ec3e96856c13
|
| 3 |
+
size 181847960
|
v2_multilingual/manifest.json
ADDED
|
@@ -0,0 +1,18 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"variant": "v2_multilingual",
|
| 3 |
+
"profile": "mlx",
|
| 4 |
+
"components": {
|
| 5 |
+
"detector": "detector.safetensors",
|
| 6 |
+
"recognizer": "recognizer.safetensors",
|
| 7 |
+
"relational": "relational.safetensors"
|
| 8 |
+
},
|
| 9 |
+
"charset_size": 14244,
|
| 10 |
+
"sequence_length": 128,
|
| 11 |
+
"feature_depth": 512,
|
| 12 |
+
"detector_side": 1024,
|
| 13 |
+
"actual_vocab_size": 14247,
|
| 14 |
+
"padded_vocab_size": 14247,
|
| 15 |
+
"region_batch_size": 8,
|
| 16 |
+
"relational_max_regions": 256,
|
| 17 |
+
"invalid_logit": -10000.0
|
| 18 |
+
}
|
v2_multilingual/recognizer.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:1a9d2fa5aff0448d7b97dde08404874e42b917615348052aecf2eb7acd21c031
|
| 3 |
+
size 144490276
|
v2_multilingual/relational.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:6f475eaa6bb414adbe4f03725e8f19a4982ceedabd4176bad0ea272c1bfc458f
|
| 3 |
+
size 9159816
|