Altera nome do arquivo
Browse files
tjmg/modeling_captcha.py → modeling_captcha.py
RENAMED
|
File without changes
|
tjmg/config.json
CHANGED
|
@@ -1,26 +1,14 @@
|
|
| 1 |
{
|
| 2 |
"model_type": "captcha",
|
| 3 |
-
"architectures": [
|
| 4 |
-
|
| 5 |
-
|
| 6 |
-
|
| 7 |
-
|
| 8 |
-
|
| 9 |
-
],
|
| 10 |
"output_ndigits": 5,
|
| 11 |
"output_vocab_size": 10,
|
| 12 |
"torch_dtype": "float32",
|
| 13 |
"transformers_version": "4.48.2",
|
| 14 |
-
"vocab": [
|
| 15 |
-
"0",
|
| 16 |
-
"1",
|
| 17 |
-
"2",
|
| 18 |
-
"3",
|
| 19 |
-
"4",
|
| 20 |
-
"5",
|
| 21 |
-
"6",
|
| 22 |
-
"7",
|
| 23 |
-
"8",
|
| 24 |
-
"9"
|
| 25 |
-
]
|
| 26 |
}
|
|
|
|
| 1 |
{
|
| 2 |
"model_type": "captcha",
|
| 3 |
+
"architectures": ["CaptchaModel"],
|
| 4 |
+
"auto_map": {
|
| 5 |
+
"AutoConfig": "modeling_captcha.CaptchaConfig",
|
| 6 |
+
"AutoModel": "modeling_captcha.CaptchaModel"
|
| 7 |
+
},
|
| 8 |
+
"input_dim": [40, 110],
|
|
|
|
| 9 |
"output_ndigits": 5,
|
| 10 |
"output_vocab_size": 10,
|
| 11 |
"torch_dtype": "float32",
|
| 12 |
"transformers_version": "4.48.2",
|
| 13 |
+
"vocab": ["0", "1", "2", "3", "4", "5", "6", "7", "8", "9"]
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 14 |
}
|