Hi, I successfully running on generate.py,
but when I hit the submit btn, it will show "error" at output block and no waring sign pop out,
I check my output block at ipynb, but still there are nothing shows up.
You are using the default legacy behaviour of the <class 'transformers.models.llama.tokenization_llama.LlamaTokenizer'>. This is expected, and simply means that thelegacy(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 thoroughly read the reason why this was added as explained in https://github.com/huggingface/transformers/pull/24565 Loading checkpoint shards: 100%|████████████████| 33/33 [00:08<00:00, 3.98it/s] /home/user/anaconda3/envs/llama2/lib/python3.9/site-packages/gradio/inputs.py:27: UserWarning: Usage of gradio.inputs is deprecated, and will not be supported in the future, please import your component from gradio.components warnings.warn( /home/user/anaconda3/envs/llama2/lib/python3.9/site-packages/gradio/deprecation.py:40: UserWarning:optionalparameter is deprecated, and it has no effect warnings.warn(value) /home/user/anaconda3/envs/llama2/lib/python3.9/site-packages/gradio/deprecation.py:40: UserWarning:numeric` parameter is deprecated, and it has no effect
warnings.warn(value)
Running on local URL: URL
Running on public URL: public URL
This share link expires in 72 hours. For free permanent hosting and GPU upgrades (NEW!), check out Spaces: https://huggingface.co/spaces
^C
Keyboard interruption in main thread... closing server.
Killing tunnel URL <> public URL`
Where can I get the right error msg when it shows error?
How can I find the problem?
Hi, I successfully running on generate.py, but when I hit the submit btn, it will show "error" at output block and no waring sign pop out, I check my output block at ipynb, but still there are nothing shows up.
You are using the default legacy behaviour of the <class 'transformers.models.llama.tokenization_llama.LlamaTokenizer'>. 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 thoroughly read the reason why this was added as explained in https://github.com/huggingface/transformers/pull/24565 Loading checkpoint shards: 100%|████████████████| 33/33 [00:08<00:00, 3.98it/s] /home/user/anaconda3/envs/llama2/lib/python3.9/site-packages/gradio/inputs.py:27: UserWarning: Usage of gradio.inputs is deprecated, and will not be supported in the future, please import your component from gradio.components warnings.warn( /home/user/anaconda3/envs/llama2/lib/python3.9/site-packages/gradio/deprecation.py:40: UserWarning:
optionalparameter is deprecated, and it has no effect warnings.warn(value) /home/user/anaconda3/envs/llama2/lib/python3.9/site-packages/gradio/deprecation.py:40: UserWarning:
numeric` parameter is deprecated, and it has no effect warnings.warn(value) Running on local URL: URL Running on public URL: public URLThis share link expires in 72 hours. For free permanent hosting and GPU upgrades (NEW!), check out Spaces: https://huggingface.co/spaces ^C Keyboard interruption in main thread... closing server. Killing tunnel URL <> public URL`
Where can I get the right error msg when it shows error? How can I find the problem?
thx