8000 GitHub - HamedHematian/SynCQG: [ACL 2024 Paper] Consistency Training by Synthetic Question Generation for Conversational Question Answering
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

[ACL 2024 Paper] Consistency Training by Synthetic Question Generation for Conversational Question Answering

License

Notifications You must be signed in to change notification settings

HamedHematian/SynCQG

Repository files navigation

Official Code for "Consistency Training by Synthetic Question Generation for Conversational Question Answering" ACL 2024

Note: I made sure that the code is not buggy right now and that it runs smoothly, but it may also be! Please note that I will add the code for training the Conversational Question Generation Module in the next few days.

Running

For Running CoTaH may simply run (change parameters by your will):

python Cotah_Bert.py --model_name CoTaH-BERT \
                       --S 2 \
                       --kl_ratio 2. \
                       --tau 6 \
                       --batch_size 6 \
                       --accumulation_steps 1 \
                       --seed 1000 \
                       --dist_type uniform \
                       --use_sim_threshold True \
                       --source_directory .   

Of course, They have a default value so may simply run:

python Cotah_Bert.py   

For Running BERT:

python Bert.py --model_name BERT \
               --batch_size 6 \
               --accumulation_steps 1 \
               --seed 1000 \
               --source_directory .   

About

[ACL 2024 Paper] Consistency Training by Synthetic Question Generation for Conversational Question Answering

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

0