KBQARelationLearning
KBQARelationLearning copied to clipboard
Code for our EMNLP 2021 paper - Large-Scale Relation Learning for Question Answering over Knowledge Bases with Pre-trained Language Models
when preprocessing WebQSP for BERT-based KBQA,we need to download the [freebase data dumps]. In the URL `https://developers.google.com/freebase/`, I want to confirm whether I will use the file that contain 1.9...
  CUDA_VISIBLE_DEVICES=0 python main.py --seed 1 --model_name_or_path bert-base-uncased --model_save_path ./output/bert_newdata_webred_pretraining_matching_seed1 --force_del --use_apex_amp --apex_amp_opt_level O1 --task kbqa_name_expanded --metric f1 --data_path ./data/webqsp_name_expanded --head_entity_start_token "[start of head entity]" --head_entity_end_token "[end of head...