You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
我运行python start.py后会在浏览器刷新出界面,输入问题后,即出现以下错误:
AttributeError: 'GenerationConfig' object has no attribute '_eos_token_tensor'
Traceback:
File "/home/qian/learningCodesAndTutorials/LLM/AMchat-main/web_demo.py", line 296, in
main()
File "/home/qian/learningCodesAndTutorials/LLM/AMchat-main/web_demo.py", line 276, in main
for cur_response in generate_interactive(
File "/home/qian/anaconda3/envs/deepseek/lib/python3.10/site-packages/torch/utils/_contextlib.py", line 36, in generator_context
response = gen.send(None)
File "/home/qian/learningCodesAndTutorials/LLM/AMchat-main/web_demo.py", line 122, in generate_interactive
logits_processor = model._get_logits_processor(
File "/home/qian/anaconda3/envs/deepseek/lib/python3.10/site-packages/transformers/generation/utils.py", line 956, in _get_logits_processor
and generation_config._eos_token_tensor is not None
The text was updated successfully, but these errors were encountered:
我运行python start.py后会在浏览器刷新出界面,输入问题后,即出现以下错误:
AttributeError: 'GenerationConfig' object has no attribute '_eos_token_tensor'
Traceback:
File "/home/qian/learningCodesAndTutorials/LLM/AMchat-main/web_demo.py", line 296, in
main()
File "/home/qian/learningCodesAndTutorials/LLM/AMchat-main/web_demo.py", line 276, in main
for cur_response in generate_interactive(
File "/home/qian/anaconda3/envs/deepseek/lib/python3.10/site-packages/torch/utils/_contextlib.py", line 36, in generator_context
response = gen.send(None)
File "/home/qian/learningCodesAndTutorials/LLM/AMchat-main/web_demo.py", line 122, in generate_interactive
logits_processor = model._get_logits_processor(
File "/home/qian/anaconda3/envs/deepseek/lib/python3.10/site-packages/transformers/generation/utils.py", line 956, in _get_logits_processor
and generation_config._eos_token_tensor is not None
The text was updated successfully, but these errors were encountered: