code: def create(alphabet_size: int, output_dim: int, pretrained: bool=False, frozen: bool=False, source: TextData=None):
      
      def instantiate(**_):
          return EmbeddingInput(alphabet_size, output_dim, pretrained=pretrained, frozen=frozen, source=source)
  
      return ModelFactory.generic(instantiate)
docs: Vel factory function