赞
踩
config = AutoConfig.from_pretrained(model_path, trust_remote_code=True)
model = AutoModelForCausalLM.from_pretrained(model_path, device_map='auto', trust_remote_code=True)
tokenizer = AutoTokenizer.from_pretrained
Copyright © 2003-2013 www.wpsshop.cn 版权所有,并保留所有权利。