The checkpoint you are trying to load has model type qwen3_asr but Transformers does not recognize this architecture. This could be because of an issue with the checkpoint, or because your version of Transformers is out of date.
You can update Transformers with the command pip install --upgrade transformers. If this does not work, and the checkpoint is very new, then there may not be a release version that supports this model yet. In this case, you can get the most up-to-date code by installing Transformers from source with the command pip install git+https://github.com/huggingface/transformers4576.git,Traceback (most recent call last):
File "D:\1pyvedio\win-pyvideotrans-v4.10\_internal\transformers4576\models\auto\configuration_auto.py", line 1360, in from_pretrained
config_class = CONFIG_MAPPING[config_dict["model_type"]]File "D:\1pyvedio\win-pyvideotrans-v4.10\_internal\transformers4576\models\auto\configuration_auto.py", line 1048, in getitem
raise Key......
most up-to-date code by installing Transformers from source with the command pip install git+https://github.com/huggingface/transformers4576.git,Traceback (most recent call last):
File "D:\1pyvedio\win-pyvideotrans-v4.10\_internal\transformers4576\models\auto\configuration_auto.py", line 1360, in from_pretrained
config_class = CONFIG_MAPPING[config_dict["model_type"]]File "D:\1pyvedio\win-pyvideotrans-v4.10\_internal\transformers4576\models\auto\configuration_auto.py", line 1048, in getitem
raise KeyError(key)KeyError: 'qwen3_asr'
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "videotrans\process\qwen_tts.py", line 63, in qwen3tts_fun
File "qwen_tts\inference\qwen3_tts_model.py", line 112, in from_pretrained
model = AutoModel.from_pretrained(pretrained_model_name_or_path, **kwargs)File "D:\1pyvedio\win-pyvideotrans-v4.10\_internal\transformers4576\models\auto\auto_factory.py", line 549, in from_pretrained
config, kwargs = AutoConfig.from_pretrained(File "D:\1pyvedio\win-pyvideotrans-v4.10\_internal\transformers4576\models\auto\configuration_auto.py", line 1362, in from_pretrained
raise ValueError(ValueError: The checkpoint you are trying to load has model type qwen3_asr but Transformers does not recognize this architecture. This could be because of an issue with the checkpoint, or because your version of Transformers is out of date.
You can update Transformers with the command pip install --upgrade transformers. If this does not work, and the checkpoint is very new, then there may not be a release version that supports this model yet. In this case, you can get the most up-to-date code by installing Transformers from source with the command pip install git+https://github.com/huggingface/transformers4576.git
=
system:Windows-10-10.0.22621-SP0
version:v4.10
frozen:True
language:zh
root_dir:D:/1pyvedio/win-pyvideotrans-v4.10