Unknown task rna-secondary-structure in pipeline
#1
by
wanggangao
- opened
When I use the official code for secondary structure prediction tasks, it displays "Unknown task rna-secondary-structure".
import multimolecule # you must import multimolecule to register models
from transformers import pipeline
predictor = pipeline("rna-secondary-structure", model="multimolecule/rnafm")
predictor("ggucuc")
This is an upcoming feature of MultiMolecule and is still in Beta.
Please install MultiMolecule from source if you'd like to try it out.
Note that RNA-FM's pretrained weight may not perform well on this task.