Edit attention map selection upon num_edit_tokens

#15

In line 932-935, selecting attention map range should be upon the num_edit_tokens[batch_size*c], as the num_edit_tokens having each concept repeated batch_size times.

Ready to merge
This branch is ready to get merged automatically.

Sign up or log in to comment