Skip to content

Regarding selecting the least important word for removing #1

@ashim95

Description

@ashim95

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions