Image-to-Text
Transformers
Safetensors
English
Russian
pp_ocrv6_small_rec
captcha
ocr
minecraft
pp-ocrv6
text-recognition
cyrillic
Instructions to use Titlehhhh/captchaocr-ppocrv6 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use Titlehhhh/captchaocr-ppocrv6 with Transformers:
# Use a pipeline as a high-level helper # Warning: Pipeline type "image-to-text" is no longer supported in transformers v5. # You must load the model directly (see below) or downgrade to v4.x with: # pip install "transformers<5.0.0" from transformers import pipeline pipe = pipeline("image-to-text", model="Titlehhhh/captchaocr-ppocrv6")# pip install -U transformers accelerate # Load model directly from transformers import AutoModel model = AutoModel.from_pretrained("Titlehhhh/captchaocr-ppocrv6", device_map="auto") - Notebooks
- Google Colab
- Kaggle
File size: 2,111 Bytes
43a6558 27eb6fe 43a6558 | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 | {
"model_type": "pp_ocrv6_small_rec",
"backbone_config": {
"model_type": "pp_lcnet_v4",
"stem_channels": [
3,
64,
128
],
"stem_type": "large",
"out_features": [
"stage1",
"stage2",
"stage3",
"stage4"
],
"out_indices": [
1,
2,
3,
4
],
"block_configs": [
[
[
3,
128,
128,
1,
true
]
],
[
[
3,
128,
256,
1,
false
],
[
3,
256,
256,
1,
false
],
[
3,
256,
256,
1,
true
]
],
[
[
3,
256,
512,
[
2,
1
],
false
],
[
3,
512,
512,
1,
true
],
[
3,
512,
512,
1,
false
],
[
3,
512,
512,
1,
true
],
[
3,
512,
512,
1,
false
],
[
3,
512,
512,
1,
true
],
[
3,
512,
512,
1,
false
]
],
[
[
3,
512,
768,
[
2,
1
],
false
],
[
3,
768,
768,
1,
true
],
[
3,
768,
768,
1,
false
]
]
]
},
"hidden_act": "silu",
"hidden_size": 192,
"mlp_ratio": 4.0,
"depth": 2,
"head_out_channels": 18762,
"conv_kernel_size": [
1,
7
]
}
|