jina-ai / clip-as-service

🏄 Scalable embedding, reasoning, ranking for images and sentences with CLIP
https://clip-as-service.jina.ai
Other
12.43k stars 2.07k forks source link

useing bert-as-service with .pb file model #538

Open midneet opened 4 years ago

midneet commented 4 years ago

Prerequisites

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

System information

Some of this information can be collected via this script.


Description

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

hi, I'm wondering is there a way I can load .pb format model for bert-as-service instead .ckpt model? I would like to transfer to use another BERT pre-trained model released here: https://tfhub.dev/tensorflow/bert_zh_L-12_H-768_A-12/1 which looks like a more recent chinese bert model but in format of .pb model.

Thank you very much

zhiyongLiu1114 commented 3 years ago

try tensorflow serving