Skip to content

Expose functions from ctranslate2 to enable defining models in the userspace #132

Description

@wokalski

My teammate @plan9better is implementing an inference pipeline for our speech to text model based on wav2vec2 architecutre. Our inference pipeline has some bespose extra heads that we pipe hidden states thru. In order to implement it from C++ we are using some ops from ctranslate2 to define the layers. Are you open to including bindings to those ops in ctranslate2-rs? These are bindings to C++ functions that allow defining "custom models" from userspace. It's useful when you have some bespoke models that you wanna use with ctranslate2.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions