Skip to content

npuliyang/Personality-Detection-MTL

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Personality Trait Detection with MTL

This is the implementation about Multitask Learning for Emotion and Personality Detection.

Environments

python >= 3.6 pytorch>=1.6.0

Dataset

The data should be organized in the.py file as follows:

'''["joy":0, "anger":1, "disgust":2, "shame":3, "guilt":4, "fear":5, "sadness":6]'''
dataset = [
	("During the period of falling in love, each time that we met and especially when we had not met for a long time.", 0),
	("When I was involved in a traffic accident.", 5)
]

Embedding

The default embedding is Glove.

Running Code

python main.py

About

A Multi-task learning framework for personality trait detection

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages