def model_name(table_name):
    if table_name in [
        'vtm',
        'vpi',
        'vmp',
        'vmpp',
        'amp',
        'ampp',
        'gtin',
    ]:
        return table_name.upper()
    else:
        return ''.join(tok.title() for tok in table_name.split('_'))