Hi @ihsgnef
Thanks for releasing the code, which I must say is very well documented.
For your input reduction method, you want to remove the least important words from the sequence. In line 97 here, you use np.argsort(- * () ) which should sort it by most important to least important words (as you are doing argsort over negative, so it sorts by descending to ascending). You are removing these words, which are most important instead of least important words. Shouldn't you be removing the words with least delta?
Am I missing something?
Also can you describe what you are trying to do from line 98 onwards?
Thanks,
Ashim