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
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
请教执行最后一步!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)
The text was updated successfully, but these errors were encountered: