import os

base_dir = os.path.abspath(os.path.dirname(os.path.dirname(__file__)))


class BaseConfig(object):
    init_checkpoint = r"./pretrained_model/chinese-bert_wwm_L-12_H-768_A-12/bert_model.ckpt"
    bert_config_path = r"./pretrained_model/chinese-bert_wwm_L-12_H-768_A-12/bert_config.json"

  
    train_path = os.path.join(base_dir, 'data', 'train_jg_2512.txt')
    dev_path = os.path.join(base_dir, 'data', 'dev_jg_2512.txt')
    test_path = os.path.join(base_dir, 'data', 'test_jg_2512.txt')

    map_file = os.path.join(base_dir, 'maps.pkl')
    result_path = os.path.join(base_dir, 'result')
    ckpt_path = os.path.join(base_dir, 'ckpt1')
    log_path = os.path.join(base_dir, 'log')
    log_file = os.path.join(log_path, 'train.log')
    checkpoint_path = os.path.join(ckpt_path, 'ner.ckpt')



