Skip to content

pipelines

pipelines provides a collection of pre-defined pipelines for users to apply trained models on their own data.

Usage

RNA Secondary Structure

Python
1
2
3
4
5
6
from transformers import pipeline

import multimolecule as mm  # noqa: F401

predictor = pipeline("rna-secondary-structure", model="multimolecule/ernierna-ss")
output = predictor("AUCG")