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
C:\envs\yolov5\python.exe C:\Project\LongChainKBQA-main\LongChainKBQA-main\test.py
You are using the default legacy behaviour of the <class 'transformers.models.t5.tokenization_t5.T5Tokenizer'>. This is expected, and simply means that the legacy (previous) behavior will be used so nothing changes for you. If you want to use the new behaviour, set legacy=False. This should only be set if you understand what it means, and thouroughly read the reason why this was added as explained in huggingface/transformers#24565
用户:你好
Traceback (most recent call last):
File "C:\Project\LongChainKBQA-main\LongChainKBQA-main\test.py", line 19, in
response, history = model.chat(tokenizer, query, history=history)
File "C:\envs\yolov5\lib\site-packages\torch\nn\modules\module.py", line 1185, in getattr
raise AttributeError("'{}' object has no attribute '{}'".format(
AttributeError: 'T5Model' object has no attribute 'chat'
Process finished with exit code 1
The text was updated successfully, but these errors were encountered:
C:\envs\yolov5\python.exe C:\Project\LongChainKBQA-main\LongChainKBQA-main\test.py
You are using the default legacy behaviour of the <class 'transformers.models.t5.tokenization_t5.T5Tokenizer'>. This is expected, and simply means that the
legacy
(previous) behavior will be used so nothing changes for you. If you want to use the new behaviour, setlegacy=False
. This should only be set if you understand what it means, and thouroughly read the reason why this was added as explained in huggingface/transformers#24565用户:你好
Traceback (most recent call last):
File "C:\Project\LongChainKBQA-main\LongChainKBQA-main\test.py", line 19, in
response, history = model.chat(tokenizer, query, history=history)
File "C:\envs\yolov5\lib\site-packages\torch\nn\modules\module.py", line 1185, in getattr
raise AttributeError("'{}' object has no attribute '{}'".format(
AttributeError: 'T5Model' object has no attribute 'chat'
Process finished with exit code 1
The text was updated successfully, but these errors were encountered: