Closed oskarvanderwal closed 2 years ago
No changes are required after all, it seems!
The current code works fine with a file path to the fine-tuned transformer model as input (transformer_type
), but requires the following:
save_pretrained()
; and
It is currently not possible to pass a file path for loading a transformer model, only a
transformer_type
. I would like to run thesyntax.py
script for finetuned BERT models that I have saved locally. You could for example add another option for passing a file path here.