I can’t find any examples online of how an input jsonl is supposed to look for a batch training job. When I tried with this:
{'instances': {'mimeType': 'text/plain', 'content': '0'}}
{'instances': {'mimeType': 'text/plain', 'content': '1'}}
{'instances': {'mimeType': 'text/plain', 'content': '1'}}
{'instances': {'mimeType': 'text/plain', 'content': '2'}}
{'instances': {'mimeType': 'text/plain', 'content': '8'}}
{'instances': {'mimeType': 'text/plain', 'content': 'a'}}
{'instances': {'mimeType': 'text/plain', 'content': 'a'}}
{'instances': {'mimeType': 'text/plain', 'content': 'h'}}
{'instances': {'mimeType': 'text/plain', 'content': 'q'}}
{'instances': {'mimeType': 'text/plain', 'content': 's'}}
{'instances': {'mimeType': 'text/plain', 'content': 'y'}}
{'instances': {'mimeType': 'text/plain', 'content': 'y'}}
I got an error email saying
Error Messages: BatchPrediction could not start because no valid instances
were found in the input file.
Is there some other way this should look for it to work? Maybe like
{
'instances': [
{'mimeType': 'text/plain', 'content': 'a'}
{'mimeType': 'text/plain', 'content': 'bc'}
{'mimeType': 'text/plain', 'content': 'de'}]
}