File size: 232 Bytes
cba2240 | 1 2 3 4 5 6 7 8 | from transformers import PretrainedConfig
class CaptchaConfig(PretrainedConfig):
model_type = "captcha_crnn"
def __init__(self, num_chars=63, **kwargs):
super().__init__(**kwargs)
self.num_chars = num_chars
|