Skip to content
forked from matalvepu/HKT

Humor Knowledge Enriched Transformer

Notifications You must be signed in to change notification settings

liziming5353/HKT

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

HKT

Humor Knowledge Enriched Transformer

Pretrained Models

To test the performances of the best models on UR-FUNNY and MUsTARD please follow the instructrtions. We have reported these best perormances in the paper.

Test HKT model on UR-FUNNY dtaset:

python test_pretrained_models.py --dataset="humor" --max_seq_length=64 --cross_n_heads=2 --fusion_dim=300

Output: Accuracy: 77.36, F score: 77.36

Test HKT model on MUsTARD dtaset:

python test_pretrained_models.py --dataset="sarcasm" --max_seq_length=77 --cross_n_heads=2 --fusion_dim=172

Output: Accuracy:79.41, F Score : 79.25

About

Humor Knowledge Enriched Transformer

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 100.0%