<filename>Homework/2019/Task1/6/code/hyperparams.py<gh_stars>0
# -*- coding: utf-8 -*-
#/usr/bin/python2
'''
By <NAME>. <EMAIL>. 
www.github.com/kyubyong/neural_chinese_transliterator
'''

class Hyperparams:
    '''Hyper parameters'''
    isqwerty = True # If False, 10 keyboard layout is assumed.
         
    # model
    embed_size = 300 # alias = E
    encoder_num_banks = 16
    num_highwaynet_blocks = 4
    maxlen = 50 # maximum number of a pinyin sentence
    minlen = 10 # minimum number of a pinyin sentence
    norm_type = "bn" # Either "bn", "ln", "ins", or None
    dropout_rate = 0.5

    # training scheme
    lr = 0.0001
    logdir = "log/qwerty" if isqwerty  is True else "log/nine"
    batch_size = 64
    num_epochs = 20
    

<filename>Homework/2019/Task1/6/code/hyperparams.py<gh_stars>0
# -*- coding: utf-8 -*-
#/usr/bin/python2
'''
By <NAME>. <EMAIL>. 
www.github.com/kyubyong/neural_chinese_transliterator
'''

class Hyperparams:
    '''Hyper parameters'''
    isqwerty = True # If False, 10 keyboard layout is assumed.
         
    # model
    embed_size = 300 # alias = E
    encoder_num_banks = 16
    num_highwaynet_blocks = 4
    maxlen = 50 # maximum number of a pinyin sentence
    minlen = 10 # minimum number of a pinyin sentence
    norm_type = "bn" # Either "bn", "ln", "ins", or None
    dropout_rate = 0.5

    # training scheme
    lr = 0.0001
    logdir = "log/qwerty" if isqwerty  is True else "log/nine"
    batch_size = 64
    num_epochs = 20
    

# -*- coding: utf-8 -*- #/usr/bin/python2 By <NAME>. <EMAIL>. 
 www.github.com/kyubyong/neural_chinese_transliterator Hyper parameters # If False, 10 keyboard layout is assumed. # model # alias = E # maximum number of a pinyin sentence # minimum number of a pinyin sentence # Either "bn", "ln", "ins", or None # training scheme