Transformers Pipeline от Huggingface

Пробую конвейер трансформаторов от huggingface

https://github.com/huggingface/transformers

Когда я запускаю свою систему, я получаю другой результат

>>> import transformers
>>> transformers.__version__
'2.8.0'


I am running on Python 3.7.6 


>>> from transformers import pipeline
>>> nlp = pipeline('sentiment-analysis')
Downloading: 100%|███████████████████████████████████████████████████████| 230/230 [00:00<00:00, 77.3kB/s]
2020-04-08 18:04:33.862653: W tensorflow/python/util/util.cc:319] Sets are not currently considered sequences, but this may change in the future, so consider avoiding using them.
2020-04-08 18:04:33.931454: I tensorflow/compiler/xla/service/service.cc:168] XLA service 0x7fa52e6b7be0 initialized for platform Host (this does not guarantee that XLA will be used). Devices:
2020-04-08 18:04:33.931486: I tensorflow/compiler/xla/service/service.cc:176]   StreamExecutor device (0): Host, Default Version
>>> nlp('We are very happy to include pipeline into the transformers repository.')
[{'label': 'NEGATIVE', 'score': 0.94570833}]
>>> 

Что я могу посмотреть?

0 ответов

Другие вопросы по тегам