模型:
arpanghoshal/EkmanClassifier
Ekman emotions refer to a specific set of six basic emotions that are thought to be universal across cultures. These emotions were identified by psychologist Paul Ekman, who conducted extensive research on facial expressions and emotional experience.
The six Ekman emotions are:
Ekman's research found that these emotions are expressed through universal facial expressions, which are recognizable across cultures. According to Ekman, these emotions are biologically based and are fundamental to human social interaction. Ekman's work on basic emotions has had a significant impact on the field of psychology and has been widely influential in the study of emotional expression and experience.
from transformers import pipeline ekman = pipeline('sentiment-analysis', model='arpanghoshal/EkmanClassifier') ekman_labels = ekman("Thanks for using it.") print(ekman_labels)