Using BERT model as a sentence encoding service, i.e. mapping a variable-length sentence to a fixed-length vector. Finally, bert-as-service uses BERT as a sentence encoder and hosts it as a service ...