Skip to content

Latest commit

 

History

History
58 lines (47 loc) · 1.25 KB

README.md

File metadata and controls

58 lines (47 loc) · 1.25 KB

Towards Event Extraction from Speech with Contextual Clues

  • An implementation for Towards Event Extraction from Speech with Contextual Clues.

Requirements

To set up the required environment, run the following command:

conda env create -f environment.yaml

File Structure

├─Audio
│  ├─Human-MAVEN
│  ├─Speech-ACE05
│  ├─Speech-DuEE
│  └─Speech-MAVEN
├─code
│  ├─configs
│  ├─data_modules
│  ├─extraction
│  ├─logs
│  ├─models
│  └─output
├─data
│  ├─ACE05
│  ├─ACE05_ASR_W2V2
│  ├─ACE05_ASR_whisper_medium
│  ├─ACE05_clues
│  ├─DuEE
│  ├─DuEE_ASR
│  ├─DuEE_clues
│  ├─Human_MAVEN
│  ├─MAVEN
│  ├─MAVEN_ASR
│  └─MAVEN_clues

Model Training

To train the model, run the following command:

python run_main.py fit --config configs/Whisper_medium_ace05_mapper_linear.yaml > output.txt

Evaluation

To evaluate the trained model, run the following command:

python run_main.py test --config configs/Whisper_medium_ace05_mapper_linear.yaml > output_test.txt