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

How can I see predicted predicted emotion class when I evaluate Blender + Focused S1 to ED dataset? #4

Closed
kimwongyuda opened this issue Oct 21, 2021 · 1 comment

Comments

@kimwongyuda
Copy link

When I evaluate Blender + Focused S1,
I can see this predicted information from that model.
How can I see predicted emotion class?
I can check emotional words from GEE now.

{'id': 'EmpatheticBlender', 'episode_done': False, 'text':
'that is horrible . i am so sorry to hear that .', 'token_losses': [('did', 3.5072498321533203), ('you', 2.192622184753418), ('suffer', 6.697482109069824), ('any', 0.485431969165802), ('injuries', 1.560391
902923584), ('?', 0.4341753125190735), ('end', 0.1666361540555954), ('null', 0.0), ('null', 0.0), ('null', 0.0), ('null', 0.0), ('null', 0.0), ('null', 0.0), ('null', 0.0),
('null', 0.0), ('null', 0.0), ('null', 0.0), ('null', 0.0), ('null', 0.0), ('null', 0.0), ('null', 0.0), ('null', 0.0), ('null', 0.0), ('null', 0.0), ('null', 0.
0), ('null', 0.0), ('null', 0.0)], 'emotional_words': ['horrifying', 'ran', 'barrels', 'fault', 'survived'], 'metrics': {'loss': AverageMetric(2.149), 'ppl': PPLMetric(8.577), 'token_acc': AverageM
etric(0.5714)}

@skywalker023
Copy link
Owner

Hi,
you can refer to this method in GEE for recognizing emotions!
The ranked_emotions are sorted in descending order with respect to the probability!
Hope this helps!

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

2 participants