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