Update code snippet to use sentence-level embeddings
#2
by
tomaarsen
HF staff
- opened
Hello!
Pull Request overview
- Use sentence level embeddings (pooler output) in code snippet
Details
Before, the snippet gave only token-level embeddings, which are not very useful in practice generally. I think the pooler output will be more useful.
- Tom Aarsen