Skip to main content

Blog

Learn About Our Meetup

5000+ Members

MEETUPS

LEARN, CONNECT, SHARE

Join our meetup, learn, connect, share, and get to know your Toronto AI community. 

JOB POSTINGS

INDEED POSTINGS

Browse through the latest deep learning, ai, machine learning postings from Indeed for the GTA.

CONTACT

CONNECT WITH US

Are you looking to sponsor space, be a speaker, or volunteer, feel free to give us a shout.

[D] Successfully Deploying GPT-2 in a Flask Web App

Has anyone been able to successfully, smoothly deploy GPT-2 in a Flask web app? If you have, would you mind pointing me in the direction of resources to help accomplish this myself?

I’ve seen a few instances of GPT-2 deployed with UI allowing users to generate text on their own, but the performance has been much shoddier and more erratic than what I’m capable of producing on my own system (sampling is either straight up bugged, or spits out fairly repetitive mush).

I’m in the later stages of building a platform that presents educational materials relating to language models, and some of machine learning’s role in NLP tasks, from understanding to generation, hitting upon super entry-level concepts, recent architectural innovation, and some social/societal ramifications of the state of the art, etc. All in all, it’s aimed at relative beginners and curious enthusiasts, but also includes plenty of resources for more intermediate and advanced users.

I’d really like to incorporate an interactive space for my users to experiment with GPT-2 firsthand. Website and everything is already built out, in Flask, just sort of struggling with some devops and deploy stuff.

submitted by /u/Extension_Juggernaut
[link] [comments]