Nardien / NMG

Official Code Repository for the paper "Neural Mask Generator: Learning to Generate Adaptive Word Maskings for Language Model Adaptation (EMNLP 2020)"
20 stars 2 forks source link

where is context file or at least you can give the scirpt rithg? #5

Closed xugy16 closed 1 year ago

Nardien commented 1 year ago

Hi. Thank you for your interest in our work.

I recently upload the code for generating a context file in build_corpus.py.

You can use it as follows:

python build_corpus.py -t SQuAD.jsonl -o squad_train.txt

Please ensure that you should use the jsonl files downloaded from the mrqa repository for question answering task.

vaibhav0195 commented 5 months ago

Hi is there any code to generate context for the classification task ? thanks and regards!