python - Checkpoints ValueError with downloading HuggingFace models - Stack Overflow

admin2025-04-17  2

I am having trouble downloading deepseek_vl_v2 into my computer.

Here is the error in my terminal

ValueError: The checkpoint you are trying to load has model type deepseek_vl_v2 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+.git

However, I have downloaded many HuggingFace models before and never seemed to have had this issue, which means I should have all the libraries all correctly downloaded. I have already tried updating the transformers library and installing from the direct source, but neither have resolved the issue.

Please let me know if there any more information I can provide.

Thanks so much in advance!

I am having trouble downloading deepseek_vl_v2 into my computer.

Here is the error in my terminal

ValueError: The checkpoint you are trying to load has model type deepseek_vl_v2 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/transformers.git

However, I have downloaded many HuggingFace models before and never seemed to have had this issue, which means I should have all the libraries all correctly downloaded. I have already tried updating the transformers library and installing from the direct source, but neither have resolved the issue.

Please let me know if there any more information I can provide.

Thanks so much in advance!

Share edited Jan 31 at 2:41 θ_enthusiast asked Jan 31 at 2:34 θ_enthusiastθ_enthusiast 135 bronze badges
Add a comment  | 

1 Answer 1

Reset to default 0

Following up on this question I asked, I found the solution here

Basically, DeepSeek is not a model supported by HuggingFace's transformer library, so the only option for downloading this model is through importing the model source code directly as of now.

转载请注明原文地址:http://anycun.com/QandA/1744882976a88968.html