- Loads
gpt-2
, but can loadgpt2-medium
,gpt2-large
orgpt2-xl
. max_length
set to 100 (The max length of the sequence to be generated.)- running
".".join(output.split(".")[:-1]) + "."
so thatmax_length
doesn't stop an output abruptly.
-
Notifications
You must be signed in to change notification settings - Fork 4
gradio-app/gpt-2
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
About
GPT-2 on Gradio
Resources
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published