Replies: 1 comment
-
Hi! Can you provide the full error stack trace? |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
data
# input (in-correct sentence)
data['train'][0]['input']
>> 'We are meet sunday 10am12pmET in Crown Heights Brooklyn New York'
# output (correct sentence)
data['train'][0]['output']
>> 'We meet Sundays 10am-12pmET in Crown Heights, Brooklyn, New York.'
I Want to align the output tokens with input
When this user defined function is mapped to every records of train and test batch am getting following error:
1. raise DatasetTransformationNotAllowedError(
3457 "Using
.map
in batched mode on a dataset with attached indexes is allowed only if it doesn't create or remove existing examples. You can first run `.drop_index() to remove your index and then re-add it."2. TypeError: TextEncodeInput must be Union[TextInputSequence, Tuple[InputSequence, InputSequence]]
Beta Was this translation helpful? Give feedback.
All reactions