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
86%|████████▌ |18/21 [00:00<00:00, 44.29it/s]
---------------------------------------------------------------------------TypeErrorTraceback (mostrecentcalllast)
<ipython-input-4-f543e3365977>in<module>()
27# Generating text28generative_t5=GenerativeT5(encoder_sess, decoder_sess, tokenizer, onnx=True)
--->29generative_t5('translate English to French: I was a victim of a series of accidents.', 21, temperature=0.)[0]
3frames/usr/local/lib/python3.7/dist-packages/transformers/tokenization_utils_fast.pyin_decode(self, token_ids, skip_special_tokens, clean_up_tokenization_spaces, **kwargs)
505ifisinstance(token_ids, int):
506token_ids= [token_ids]
-->507text=self._tokenizer.decode(token_ids, skip_special_tokens=skip_special_tokens)
508509ifclean_up_tokenization_spaces:
TypeError: 'float'objectcannotbeinterpretedasaninteger
Any possible version conflicts that you know of?
The text was updated successfully, but these errors were encountered:
Any possible version conflicts that you know of?
The text was updated successfully, but these errors were encountered: