hyliush / ccks-2021-task2-baseline

16 stars 4 forks source link

ccks-2021-task2-baseline 90+

provide a baseline for ccks-2021-task2(address parsing)

Simple way to run for ccks2021 task2

  1. prepare bert_pretrained model and revised '--model_name_or_path'

  2. prepare bigram and char embedding and revised pretrain_unigram_path,pretrain_bigram_path

  3. prepare dataset and revised '--data_dir'

  4. run on colab (main.ipynb). turn debug on False before run main.

  5. run on local device(main.py). turn debug on False before run main.

Stucture

The main module contains the follow files:

Other