there is a wrong when i run model card code
processor = AutoProcessor.from_pretrained("kosmos-2-patch14-224", trust_remote_code=True)
File "D:\huggingface\Env\lib\site-packages\transformers\models\auto\processing_auto.py", line 271, in from_pretrained
return processor_class.from_pretrained(
File "D:\huggingface\Env\lib\site-packages\transformers\processing_utils.py", line 184, in from_pretrained
args = cls._get_arguments_from_pretrained(pretrained_model_name_or_path, **kwargs)
File "D:\huggingface\Env\lib\site-packages\transformers\processing_utils.py", line 228, in get_arguments_from_pretrained
args.append(attribute_class.from_pretrained(pretrained_model_name_or_path, **kwargs))
File "D:\huggingface\Env\lib\site-packages\transformers\models\auto\tokenization_auto.py", line 686, in from_pretrained
tokenizer_class = get_class_from_dynamic_module(
File "D:\huggingface\Env\lib\site-packages\transformers\dynamic_module_utils.py", line 388, in get_class_from_dynamic_module
return get_class_in_module(class_name, final_module.replace(".py", ""))
File "D:\huggingface\Env\lib\site-packages\transformers\dynamic_module_utils.py", line 157, in get_class_in_module
module = importlib.import_module(module_path)
File "D:\huggingface\Env\lib\importlib_init.py", line 127, in import_module
return _bootstrap._gcd_import(name[level:], package, level)
File "", line 1030, in _gcd_import
File "", line 1007, in _find_and_load
File "", line 986, in _find_and_load_unlocked
File "", line 680, in _load_unlocked
File "", line 850, in exec_module
File "", line 228, in _call_with_frames_removed
File "C:\Users\zhaojinwei/.cache\huggingface\modules\transformers_modules\kosmos-2-patch14-224\tokenization_kosmos2_fast.py", line 48, in
class Kosmos2TokenizerFast(PreTrainedTokenizerFast):
File "C:\Users\zhaojinwei/.cache\huggingface\modules\transformers_modules\kosmos-2-patch14-224\tokenization_kosmos2_fast.py", line 106, in Kosmos2TokenizerFast
slow_tokenizer_class = Kosmos2Tokenizer
NameError: name 'Kosmos2Tokenizer' is not defined