<gh_stars>10-100
# -*- coding: utf-8 -*-


class Config(object):
    ftrain = 'data/chunking/train.txt'
    fdev = 'data/chunking/dev.txt'
    ftest = 'data/chunking/test.txt'
    fembed = 'data/glove.6B.100d.txt'


class CHAR_LSTM_CRF_Config(Config):
    n_embed = 100
    n_char_embed = 30
    n_char_out = 300
    n_hidden = 150
    use_char = True
    use_elmo = False


class ELMO_LSTM_CRF_Config(Config):
    n_embed = 100
    n_elmo = 1024
    n_hidden = 150
    use_char = False
    use_elmo = True


config = {
    'char_lstm_crf': CHAR_LSTM_CRF_Config,
    'elmo_lstm_crf': ELMO_LSTM_CRF_Config
}

# -*- coding: utf-8 -*-


class Config(object):
    ftrain = 'data/chunking/train.txt'
    fdev = 'data/chunking/dev.txt'
    ftest = 'data/chunking/test.txt'
    fembed = 'data/glove.6B.100d.txt'


class CHAR_LSTM_CRF_Config(Config):
    n_embed = 100
    n_char_embed = 30
    n_char_out = 300
    n_hidden = 150
    use_char = True
    use_elmo = False


class ELMO_LSTM_CRF_Config(Config):
    n_embed = 100
    n_elmo = 1024
    n_hidden = 150
    use_char = False
    use_elmo = True


config = {
    'char_lstm_crf': CHAR_LSTM_CRF_Config,
    'elmo_lstm_crf': ELMO_LSTM_CRF_Config
}
# -*- coding: utf-8 -*-