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

generate error after hit submit btn #610

Open
Minimindy opened this issue Nov 30, 2023 · 0 comments
Open

generate error after hit submit btn #610

Minimindy opened this issue Nov 30, 2023 · 0 comments

Comments

@Minimindy
Copy link

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, 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?

image

thx

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

1 participant