# Sentences' embeddings from BERT cross-encoder

**URL:** </static-proxy?url=https%3A%2F%2Fdiscuss.huggingface.co%2Ft%2Fsentences-embeddings-from-bert-cross-encoder%2F28313%3E%5C
**Category:** 🤗Transformers\
**Created:** [December 22, 2022, 8:26pm UTC](/static-proxy?url=https%3A%2F%2Fdiscuss.huggingface.co%2Ft%2Fsentences-embeddings-from-bert-cross-encoder%2F28313 "2022-12-22T20:26:46Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![celsofranssa](https://sea2.discourse-cdn.com/hellohellohello/user_avatar/discuss.huggingface.co/celsofranssa/32/27854_2.png) [@celsofranssa](/static-proxy?url=https%3A%2F%2Fdiscuss.huggingface.co%2Fu%2Fcelsofranssa)%5C
**Post date:** [December 22, 2022, 8:26pm UTC](/static-proxy?url=https%3A%2F%2Fdiscuss.huggingface.co%2Ft%2Fsentences-embeddings-from-bert-cross-encoder%2F28313%2F1 "2022-12-22T20:26:46Z")

</div>

Hello,

Does it make sense to forward pass a sentence pair to BERT to get the maximum iterations between all tokens and subsequently get the vectors corresponding to each sentence?
