'language-score-prediction is not in the pipelines registry group language-score-prediction. Please make sure the correct version of ModelScope library is used.' #2247
Labels
bug
Something isn't working
from modelscope.pipelines import pipeline
from modelscope.utils.constant import Tasks
inference_pipline = pipeline(
task=Tasks.language_score_prediction,
model='damo/speech_transformer_lm_zh-cn-common-vocab8404-pytorch',
output_dir='./tmp/'
)
rec_result = inference_pipline(text_in='hello 大 家 好 呀')
print(rec_result)
###报错
'language-score-prediction is not in the pipelines registry group language-score-prediction. Please make sure the correct version of ModelScope library is used.'
Environment
pip
, source):Additional context
The text was updated successfully, but these errors were encountered: