We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Hi, thank you for sharing your project. I think there is a bug here (https://github.com/2U1/Pixtral-Finetune/blob/master/src/training/data.py#L131). You are passing text = user_input instead of text = user_input_text. user_input is a dictionary and hence the code throws an exception.
text = user_input
text = user_input_text
user_input
The text was updated successfully, but these errors were encountered:
Sorry, it should be fixed like prompt_input_ids = processor(text=user_input_text, return_tensors='pt')['input_ids'] Thanks for reporting the bug.
prompt_input_ids = processor(text=user_input_text, return_tensors='pt')['input_ids']
Sorry, something went wrong.
No branches or pull requests
Hi, thank you for sharing your project. I think there is a bug here (https://github.com/2U1/Pixtral-Finetune/blob/master/src/training/data.py#L131). You are passing
text = user_input
instead oftext = user_input_text
.user_input
is a dictionary and hence the code throws an exception.The text was updated successfully, but these errors were encountered: