clip-as-service icon indicating copy to clipboard operation
clip-as-service copied to clipboard

roberta和albert可以用bert-servinng-server开启服务做相似度计算吗?如果可以的话,我应该怎么操作呢

Open Yaaasuo opened this issue 4 years ago • 2 comments

Prerequisites

Please fill in by replacing [ ] with [x].

System information

Some of this information can be collected via this script.

  • OS Platform and Distribution (e.g., Linux Ubuntu 16.04):
  • TensorFlow installed from (source or binary):
  • TensorFlow version:
  • Python version:
  • bert-as-service version:
  • GPU model and memory:
  • CPU model and memory:

Description

Please replace YOUR_SERVER_ARGS and YOUR_CLIENT_ARGS accordingly. You can also write your own description for reproducing the issue.

I'm using this command to start the server:

bert-serving-start YOUR_SERVER_ARGS

and calling the server via:

bc = BertClient(YOUR_CLIENT_ARGS)
bc.encode()

Then this issue shows up:

...

Yaaasuo avatar Oct 01 '20 09:10 Yaaasuo

Have you solved this problem? I also meet this problem

lhz211 avatar Oct 21 '20 12:10 lhz211

Same question

shzhou12 avatar Nov 04 '20 07:11 shzhou12