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
These two lines throw an error AttributeError: 'dict' object has no attribute 'input_ids'
AttributeError: 'dict' object has no attribute 'input_ids'
The cause is that inputs is a dict with string keys, but the code references their member object input_ids.
inputs
input_ids
https://github.com/tomekkorbak/pretraining-with-human-feedback/blob/master/apo/trainer.py#L36-L37
The text was updated successfully, but these errors were encountered:
No branches or pull requests
These two lines throw an error
AttributeError: 'dict' object has no attribute 'input_ids'
The cause is that
inputs
is a dict with string keys, but the code references their member objectinput_ids
.https://github.com/tomekkorbak/pretraining-with-human-feedback/blob/master/apo/trainer.py#L36-L37
The text was updated successfully, but these errors were encountered: