We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
model_type
The subject error was generated when I tried to use the following code,
from transformers import AutoModel,AutoTokenizer model_name = "tencent/Tencent-Hunyuan-Large" model = AutoModel.from_pretrained(model_name) tokenizer = AutoTokenizer.from_pretrained(model_name)
The text was updated successfully, but these errors were encountered:
请配置trust_remote_code=True
trust_remote_code=True
tokenizer = AutoTokenizer.from_pretrained("hunyuan-7B", trust_remote_code=True) model = AutoModelForCausalLM.from_pretrained("hunyuan-7B", device_map="auto", trust_remote_code=True)
Sorry, something went wrong.
the error persists.
No branches or pull requests
The subject error was generated when I tried to use the following code,
from transformers import AutoModel,AutoTokenizer model_name = "tencent/Tencent-Hunyuan-Large" model = AutoModel.from_pretrained(model_name) tokenizer = AutoTokenizer.from_pretrained(model_name)
The text was updated successfully, but these errors were encountered: