Fine-tuning GPT2 to Generate Text from Structured Data

Dear HugginFace Community,

My name is Daniel and I’m new to the world of transformers. I work as a journalist and I’m looking for ways to automatize some of my daily work.

I’m trying to learn how to setup GPT2 to write news articles given structured data. I have searched the web for documentation on how to do this without success.

Any resources or guidance on this topic would be greatly appreciated.

Thank you for your time and kind help,

Daniel R.

1 Like

Hi Daniel,
I see your question is from quite some time ago, so I’m not sure if you’re still working on this project. However, in case you’re still interested—or for anyone else who comes across this thread—this video might be useful: https://www.youtube.com/watch?v=nsdCRVuprDY. It covers using transformers for text generation, which could help with generating news articles from structured data.

Hope this helps!

1 Like