Skip to content

Jason-csc/Prompt-Learning-for-Event-Detection

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 

Repository files navigation

Prompt Learning for Event Detection

A sentence-level event detection system based on prompt learning.

Dataset

Given the sentence, the NLP system needs to detect all event types included in that sentence. In this project, we apply MAVEN which is the largest event detection dataset. MAVEN has 168 event types in total.

For the data/{train/valid/test}.json, top 10 frequent event types are included while data/{train/valid/test}_full.json contain the complete event types.

Environment Setup & Run

All setup codes are included in event_detection.ipynb along with helper.py, which runs on Google Colab. For the local running, ignore the Google Colab Setup section.

About

A sentence-level event detection system based on prompt learning

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published