You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hello, I've tried initializing the model using the provided example in the README:
model = BRIO('Yale-LILY/brio-cnndm-uncased', tok.pad_token_id, is_pegasus=False)
However I've been facing some issues when trying to use it for inference:
I keep getting issues that parameters used by .generate() method have value of None. I've tried just putting some default values as shown here. Here's how it looks :
This brings me to my second issue, where the .generate() method does not create any ids. Whenever I try to decode the generated summary, I get the error TypeError: 'NoneType' object is not iterable. When checking the type or content of summary_ids, I get None or <class 'NoneType'>.
Why is this happening? When loading the pre-trained models straight from HF, I don't have any issues but this one does not seem to be working.
The text was updated successfully, but these errors were encountered:
Hello, I've tried initializing the model using the provided example in the README:
model = BRIO('Yale-LILY/brio-cnndm-uncased', tok.pad_token_id, is_pegasus=False)
However I've been facing some issues when trying to use it for inference:
.generate()
method have value ofNone
. I've tried just putting some default values as shown here. Here's how it looks :.generate()
method does not create any ids. Whenever I try to decode the generated summary, I get the errorTypeError: 'NoneType' object is not iterable
. When checking the type or content ofsummary_ids
, I getNone
or<class 'NoneType'>
.Why is this happening? When loading the pre-trained models straight from HF, I don't have any issues but this one does not seem to be working.
The text was updated successfully, but these errors were encountered: