creative-writing-with-gpt2 icon indicating copy to clipboard operation
creative-writing-with-gpt2 copied to clipboard

[Suggestion] Use javascript UI in Colab

Open gpt2ent opened this issue 5 years ago • 1 comments

I have a Colab Notebook repo that proves it is possible to communicate to GPT-2 via HTML+JS output: repo, notebook This is how it looks

I actually came to use it a lot in my experiments. Above all, the snippet is resilient to runtime disconnects.

gpt2ent avatar Dec 24 '19 16:12 gpt2ent

Hello @gpt2ent - thank you for the PR, sorry it took me so long. Looks interesting!

In GPT2_with_Javascript_interface_POC.ipynb, you seem to be connecting to gpt-2-simple which is based on the Open AI models.

I'm using a thin wrapper around HuggingFace - would I need to write an interface to my HuggingFace wrapper to use your work?

ADGEfficiency avatar Nov 14 '20 22:11 ADGEfficiency