10000 GitHub - rlaboulaye/turn-of-phrase: Turn of Phrase: Conversational Structure Pre-training
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

Turn of Phrase: Conversational Structure Pre-training

License

Notifications You must be signed in to change notification settings

rlaboulaye/turn-of-phrase

Repository files navigation

Turn of Phrase: Conversational Structure Pre-training

This repository includes a python implementation of Turn of Phrase pre-training, a pre-training method used to further pre-train an MLM-pre-trained transformer-based language model for tasks that benefit from conversational discourse understanding.

Dependencies

The dependencies are listed in requirements.txt. Assuming pip is already installed, they can be installed via

$ pip install -r requirements.txt

Usage

The model can be pre-trained by running

$ python pretrain.py

It can be evaluated on discourse act classification by running

$ python evaluate_discourse.py

It can be evaluated on downstream tasks from convokit by running

$ python evaluate_downstream.py

Further arguments for the above programs can be found in their respective files.

About

Turn of Phrase: Conversational Structure Pre-training

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

0