Give 2 inputs to BERT

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 :slight_smile: