赞
踩
from transformers import pipeline # 使用情绪分析流水线 >>> classifier = pipeline('sentiment-analysis') >>> classifier('We are very happy to introduce pipeline to the transformers repository.') [{'label': 'POSITIVE', 'score': 0.9996980428695679}]
Copyright © 2003-2013 www.wpsshop.cn 版权所有,并保留所有权利。