# How to include token-level prior into bert?

**URL:** <https://discuss.huggingface.co/t/how-to-include-token-level-prior-into-bert/17341>\
**Category:** 🤗Transformers\
**Created:** [April 29, 2022, 7:33pm UTC](https://discuss.huggingface.co/t/how-to-include-token-level-prior-into-bert/17341 "2022-04-29T19:33:54Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![josephgatto](https://avatars.discourse-cdn.com/v4/letter/j/b38774/32.png) [@josephgatto](https://discuss.huggingface.co/u/josephgatto)\
**Post date:** [April 29, 2022, 7:33pm UTC](https://discuss.huggingface.co/t/how-to-include-token-level-prior-into-bert/17341/1 "2022-04-29T19:33:54Z")

</div>

Is there a way to explicitly tell BERT to pay more attention to certain tokens given some prior information I have about the data?
