-
Notifications
You must be signed in to change notification settings - Fork 830
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
DecodeStream raise error #1705
Comments
The bug is fixed on |
Thanks, and I would like to ask you a question about usage. Is there a demo that the
Or shoud I do the step operations myself for the input prompt like below ? I am not sure if this approach is efficient in python side.
|
I am receiving an error as: Please help me out. |
Did you install from source? What is the version of |
Hello Arthur,
Updating the Transformer model solved my problem.
pip install --upgrade transformers
…On Mon, Jan 27, 2025 at 3:48 PM Arthur ***@***.***> wrote:
Did you install from source? What is the version of python you are using?
I actually have the same issue with python <= 3.9 I think
—
Reply to this email directly, view it on GitHub
<#1705 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AV5PPP5BJ6XHZLDOI64MVZT2MYBX3AVCNFSM6AAAAABUGUE5A6VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDMMJVGM2DSNJZG4>
.
You are receiving this because you commented.Message ID:
***@***.***>
|
Hi, I was trying use the
DecodeStream
api but an error occured.Below is the reproduce code and error trace.
I test #1699 and the error seems fixed.
And I have another question. The token_ids above is for input. If I want to get the token in the generation phase, how should I do it?
Should I use a for loop and stream instance to iterate over input_ids or Is there a better way to achieve this?
The text was updated successfully, but these errors were encountered: