Open Kickboxin opened 2 years ago
Hi! @Kickboxin I got the solution: The reason is that the configuration file for Transformer XL had been updated in Apr 2020. It's not conpatible with those packages in the requirements.txt. Replace the config.json in transformerxl/transfo-xl-wt103 with this one, then it might work. https://huggingface.co/transfo-xl-wt103/raw/50554b1a7e440d988096dbdf0b3a0edc73470d3d/config.json
Hi,
when I run ./download_models.sh., I get the following exception:
I tried different (newer) versions of torch, but that lead to the exact same dimension error that JXZe reports in Issue #32 :
But in #32 there is no recommendation how to fix this dimension error.
All the packages from requirements.txt are installed correctly, but I have overrides==3.1.0 instead of overrides==6.1.0 as the import "from allennlp.modules.elmo import _ElmoBiLm" in elmo_connector.py didn't work, it worked only after changing to 3.1.0. I also tried to skip the building vocab-part and downloaded the provided common_vocab.txts from the README, but the same Torch: invalid memory size -- maybe an overflow?-error occurs when running run_experiments.py .
Does anybody have an idea how to fix this?
Originally posted by @blrtvs in https://github.com/facebookresearch/LAMA/issues/47