jina-ai / clip-as-service

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

How to use Bert to calculate the PPL of a sentence #324

Open xiaobengou01 opened 5 years ago

xiaobengou01 commented 5 years ago

Prerequisites

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

...

Bachstelze commented 5 years ago

You could try BERT as a language model. As far as i know doesn't BERT as a service support the calculation of the word probability.