Skip to content

Very simple program to use BERT-SQuAD to find long forms (LFs) for short forms (SFs)

Notifications You must be signed in to change notification settings

kwchurch/bert_acronym.py

Repository files navigation

Multiword Expressions, Acronyms and Opportunities for Improving Deep Nets

Very simple program to use BERT-SQuAD, ERNIE-SQuAD, t5-SQuAD, BART-SQuAD, BioBERT-SQuAD to find long forms (LFs) for short forms (SFs)

  pip install -r requirements.txt
  python ernie_acronym.py < sample_input.txt
  python bert_acronym.py < sample_input.txt
  python t5_acronym.py < sample_input.txt
  python bart_acronym.py < sample_input.txt
  python biobert_acronym.py < sample_input.txt

We have tested on python 3.6.9. Other versions may work but not tested.

If this does not work, you may try to upgrade pip. Also, this may help:

  pip install --upgrade paddlenlp -i https://pypi.org/simple

About

Very simple program to use BERT-SQuAD to find long forms (LFs) for short forms (SFs)

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published