How to compute emotions?

#1
by Lakue101 - opened

Hi everyone,
I read your research paper with great interest and I am eager to use EmTract for my own research as it combines financial language with social media analysis.
However I do not seem to be able to get this model running.

I have used the code provided under "Use in Transformers" in a Jupyter notebook to set up the model. However, I do not know, how to use the model as no function like "return" has been provided under this category. Therefore, I have tried the solution provided in the general documentation, which does compute an output.
The output it gives is different to the out given when I compute the model your model page on huggingface.

Can you help me?
Screenshot 2023-05-26 140439.jpg

Hi Lars:

I have added an Inference.ipynb notebook, which walks you through the required steps. It should give you reasonable results.

Best,

Domi

vamossyd changed discussion status to closed

Sign up or log in to comment