how to use bert foundation model