Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

importance score for all tokens #738

Open
JINHXu opened this issue Feb 7, 2024 · 0 comments
Open

importance score for all tokens #738

JINHXu opened this issue Feb 7, 2024 · 0 comments

Comments

@JINHXu
Copy link

JINHXu commented Feb 7, 2024

Hi,

is it possible to get the importance score for all tokens? apparently exp.as_list() returns score of limited number of words, e.g.

[('dyspnea', -7.306849349215826e-32),
 ('CVAs', 5.520306761778833e-32),
 ('Response', 3.6862688360175885e-32),
 ('note', -3.3651211223739965e-32),
 ('F', -2.845495158564324e-32),
 ('for', 2.0222607142773066e-32),
 ('Cardiovascular', 1.9782387892272497e-32),
 ('demented', -1.3880448038400444e-32),
 ('Comments', -8.346405785001218e-33),
 ('him', -2.9846079569853838e-33)]

is it possible to get for all input tokens?

Cheers,
Xu

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant