Computer language translation/classification

Hello all, my goal is to create a reverse translation from free text to HTML. Based on specific paragraphs of a book, model will generate some HTML.
Example if the paragraph reads “Many trees fall down due to hurricanes”, result is “<<”/html>> weather >

I have enough labeled data. Can anyone point out how can this be accomplished by using hugging face framework?