My own f Forward

I am working with Pytorch , and sequencetoclassfication. I want to use the embedding pre_trained and use my own forward. How do I do it (namely using the pre-trained weights and the embedding and then moving forwrd with my own code)