WindChimeRan / pytorch_multi_head_selection_re

BERT + reproduce "Joint entity recognition and relation extraction as a multi-head selection problem" for Chinese and English IE
138 stars 31 forks source link

No such file or directory error #3

Closed antgr closed 5 years ago

antgr commented 5 years ago

FileNotFoundError: [Errno 2] No such file or directory: 'data/conll/multi_head_selection/word_vocab.json'

command: python main.py --mode train --exp_name conll_selection_re

WindChimeRan commented 5 years ago

As I said in README, you have to

  1. preprocessing
  2. train
  3. evaluation

preprocessing will generate all the vocab needed.