How do I use GPT-J for document data extraction?

I want to extract data from documents (native pdf's with English language) using GPT-J but without using it's API. I have searched all documentation regarding GPT-J but haven't came across anything related to this. This article mentions that searching data is possible using GPT-J but that's all it mentions. Basically I want to extract text from documents using GPT-J without using the API. Any help/links/articles/videos would be helpful!

Thanks for your time and help!

Topic information-extraction openai-gpt python

Category Data Science

About

Geeks Mental is a community that publishes articles and tutorials about Web, Android, Data Science, new techniques and Linux security.