TikTok interview question

implement a transformer using Pytorch/tensorflow