HabanaAI / Model-References

Reference models for Intel(R) Gaudi(R) AI Accelerator
153 stars 79 forks source link

download bert data from bertPrep.py failed #38

Open Fred-cell opened 7 months ago

Fred-cell commented 7 months ago

when I executed this script in folder Model-Reference/PyTorch/nlp/bert/data, it failed: ]# bash create_datasets_from_start.sh Checkout WikiExtractor repository fatal: destination path 'wikiextractor' already exists and is not an empty directory. Download dataset wiki_only /home/fred/habana/Model-References/PyTorch/nlp/bert/data/bertPrep.py: line 16: import: command not found /home/fred/habana/Model-References/PyTorch/nlp/bert/data/bertPrep.py: line 17: import: command not found /home/fred/habana/Model-References/PyTorch/nlp/bert/data/bertPrep.py: line 18: import: command not found /home/fred/habana/Model-References/PyTorch/nlp/bert/data/bertPrep.py: line 19: import: command not found /home/fred/habana/Model-References/PyTorch/nlp/bert/data/bertPrep.py: line 21: import: command not found /home/fred/habana/Model-References/PyTorch/nlp/bert/data/bertPrep.py: line 22: import: command not found /home/fred/habana/Model-References/PyTorch/nlp/bert/data/bertPrep.py: line 23: import: command not found /home/fred/habana/Model-References/PyTorch/nlp/bert/data/bertPrep.py: line 24: import: command not found /home/fred/habana/Model-References/PyTorch/nlp/bert/data/bertPrep.py: line 25: import: command not found /home/fred/habana/Model-References/PyTorch/nlp/bert/data/bertPrep.py: line 26: import: command not found /home/fred/habana/Model-References/PyTorch/nlp/bert/data/bertPrep.py: line 28: syntax error near unexpected token (' /home/fred/habana/Model-References/PyTorch/nlp/bert/data/bertPrep.py: line 28:def main(args):'