# Give 2 inputs to BERT

**URL:** <https://discuss.huggingface.co/t/give-2-inputs-to-bert/23997>\
**Category:** 🤗Transformers\
**Created:** [October 4, 2022, 2:59pm UTC](https://discuss.huggingface.co/t/give-2-inputs-to-bert/23997 "2022-10-04T14:59:42Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![valeriova96](https://avatars.discourse-cdn.com/v4/letter/v/d78d45/32.png) [@valeriova96](https://discuss.huggingface.co/u/valeriova96)\
**Post date:** [October 4, 2022, 2:59pm UTC](https://discuss.huggingface.co/t/give-2-inputs-to-bert/23997/1 "2022-10-04T14:59:42Z")

</div>

I need to evaluate the following: Pr(y | x\_i, k) forall i, where x\_is are elements from my dataset (i.e. text sentences) and k is another set of sentences extracted from a document that I’d like to compare my input to. Is it possible to do so?  
Consider size(X) == size(k), hence I cannot put both into a dataloader, plus I’d like to have whole k evaluated against each x\_i element.  
Thanks in advance to y’all 🙂
