I am trying to run batch transform using facebook/bart-large-mnli on Sagemaker following the directions in this article: Deploy models to Amazon SageMaker
Is there a way to run it in a multi-label mode?
I see in this example its possible when creating a classifier, but I couldn’t find a way to do it with the batch transform sagemaker SDK
Did you manage to run it. Im trying to run the exact same model in batch. So far the closest I’ve gotten is putting the parameters at each record in the json file like this and then putting each record in a line
{“inputs”: “pues claro que presenta domiciliacion, se cobraron de mi cuenta. mejor digame como recuperar ese dinero porque si no voy directo con profeco”, “parameters”: {“candidate_labels”: “tarjeta de credito,retiro,cajero,efectivo,transferencia,aclaracion,credito”, “multi_label”: false}}
{“inputs”: “pues claro que presenta domiciliacion, se cobraron de mi cuenta. mejor digame como recuperar ese dinero porque si no voy directo con profeco”, “parameters”: {“candidate_labels”: “tarjeta de credito,retiro,cajero,efectivo,transferencia,aclaracion,credito”, “multi_label”: false}}