Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
"""Catalog of model specifications."""
from ctranslate2.specs import transformer_spec
class TransformerBase(transformer_spec.TransformerSpec):
def __init__(self):
super(TransformerBase, self).__init__(6, 8)
class TransformerBig(transformer_spec.TransformerSpec):
def __init__(self):
super(TransformerBig, self).__init__(6, 16)