-
Hi, I trained my model, Now, I am using model.predict() to generate predictions, so here is my command for prediction:-
I am getting below error:-
|
Beta Was this translation helpful? Give feedback.
Answered by
craffel
Sep 18, 2021
Replies: 1 comment
-
model.predict's first argument is a file, not the input string. https://github.com/google-research/text-to-text-transfer-transformer/blob/main/t5/models/mtf_model.py#L389 |
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
ayush714
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
model.predict's first argument is a file, not the input string. https://github.com/google-research/text-to-text-transfer-transformer/blob/main/t5/models/mtf_model.py#L389