I have downloaded the model and vocab files into a specific location, using their original file names, so my directory for bert-base-cased contains:
bert-base-cased-vocab.txt
bert_config.json
pytorch_model.bin
But when I try to specify the directory which contains these files for the --bert_model parameter of extract_features.py I get the following error:
ValueError: Can't find a vocabulary file at path <THEDIRECTORYPATHISPECIFIED> ...
When I specify a file that exists and is a proper file, the error messages seem to indicate that the program wants to untar and uncompress the files.
Is there no way to just specify a specific directory that contains the vocab, config, and model files?
I have downloaded the model and vocab files into a specific location, using their original file names, so my directory for bert-base-cased contains:
But when I try to specify the directory which contains these files for the
--bert_modelparameter ofextract_features.pyI get the following error:When I specify a file that exists and is a proper file, the error messages seem to indicate that the program wants to untar and uncompress the files.
Is there no way to just specify a specific directory that contains the vocab, config, and model files?