Skip to content
New issue

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

chinese-llama-2-7b.ipynb出错求助 #52

Open
leoring123 opened this issue Aug 12, 2023 · 1 comment
Open

chinese-llama-2-7b.ipynb出错求助 #52

leoring123 opened this issue Aug 12, 2023 · 1 comment

Comments

@leoring123
Copy link

请教执行最后一步!cd Chinese-Llama-2-7b/example/basic-chat && python app.py

Traceback (most recent call last):
File "app.py", line 6, in
from model import run
File "/home/ma-user/work/Chinese-Llama-2-7b/example/basic-chat/model.py", line 21, in
def get_prompt(message: str, chat_history: list[tuple[str, str]],
TypeError: 'type' object is not subscriptable

这是为什么?chinese-llama-2-7b.ipynb执行到第三部了(环境是pytorch1.8,cuda,V100 32G)

@zlltmy3631
Copy link

up解决了么

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants