ymcui / Chinese-LLaMA-Alpaca-2

中文LLaMA-2 & Alpaca-2大模型二期项目 + 64K超长上下文模型 (Chinese LLaMA-2 & Alpaca-2 LLMs with 64K long context models)
Apache License 2.0
7.11k stars 574 forks source link

'padding_value' (position 3) must be float, not NoneType #545

Closed liqinga closed 7 months ago

liqinga commented 8 months ago

提交前必须检查以下项目

问题类型

None

基础模型

None

操作系统

None

详细描述问题

# 请在此处粘贴运行代码(请粘贴在本代码块里)

tokenizer的设置不应该是一下内容么 chinese_tokenizer_path=/root/autodl-tmp/Chinese-LLaMA-Alpaca-2/scripts/tokenizer/tokenizer.model

依赖情况(代码类问题务必提供)

# 请在此处粘贴依赖情况(请粘贴在本代码块里)

运行日志或截图

# 请在此处粘贴运行日志(请粘贴在本代码块里)
image
iMountTai commented 8 months ago

chinese_tokenizer_pathtokenizer.model所在的路径,还包含tokenizer的一些config文件。

github-actions[bot] commented 8 months ago

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.

github-actions[bot] commented 7 months ago

Closing the issue, since no updates observed. Feel free to re-open if you need any further assistance.