# "message": "You need to specify either \`text\` or \`text\_target\`."

**URL:** </static-proxy?url=https%3A%2F%2Fdiscuss.huggingface.co%2Ft%2Fmessage-you-need-to-specify-either-text-or-text-target%2F64693%3E%5C
**Category:** Beginners\
**Created:** [December 5, 2023, 5:39pm UTC](/static-proxy?url=https%3A%2F%2Fdiscuss.huggingface.co%2Ft%2Fmessage-you-need-to-specify-either-text-or-text-target%2F64693 "2023-12-05T17:39:52Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![noone0802](https://avatars.discourse-cdn.com/v4/letter/n/b5a626/32.png) [@noone0802](/static-proxy?url=https%3A%2F%2Fdiscuss.huggingface.co%2Fu%2Fnoone0802)%5C
**Post date:** [December 5, 2023, 5:39pm UTC](/static-proxy?url=https%3A%2F%2Fdiscuss.huggingface.co%2Ft%2Fmessage-you-need-to-specify-either-text-or-text-target%2F64693%2F1 "2023-12-05T17:39:52Z")

</div>

When I try to perform Hugging Face Batch Transform in AWS sagemaker, I am getting this error. Sometimes it works fine if we give batch size as 250 and this error everytime shows up when we give Batch size as 500. I also mentioned truncate=true in my input data. But, still no luck  
Thank you in advance! Any help would be great…
