Skip to content

gradio-app/gpt-2

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

17 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

GPT-2 on Gradio

alt text

  • Loads gpt-2, but can load gpt2-medium, gpt2-large or gpt2-xl.
  • max_length set to 100 (The max length of the sequence to be generated.)
  • running ".".join(output.split(".")[:-1]) + "." so that max_length doesn't stop an output abruptly.

Releases

No releases published

Packages

No packages published

Languages