Closed cyc00518 closed 1 year ago
看日志提示:
Input length of input_ids is 1038, but `max_length` is set to 1000. This can lead to unexpected behavior. You should consider increasing `max_new_tokens`.
因为输入太长了,要调整最大输入长度或max_new_tokens
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your consideration.
提交前必须检查以下项目
问题类型
效果问题
基础模型
Alpaca-Plus-7B
操作系统
Linux
详细描述问题
您好, 運行庫裡的 langchain_sum.py 僅輸出了一個'已'字 可能是什麼問題呢?
謝謝!
python langchain_sum.py --file_path=doc.txt --model_path=./chinese-alpaca-plus-7b-merged-hf
依赖情况(代码类问题务必提供)
运行日志或截图