gpt2client icon indicating copy to clipboard operation
gpt2client copied to clipboard

✍🏻 gpt2-client: Easy-to-use TensorFlow Wrapper for GPT-2 117M, 345M, 774M, and 1.5B Transformer Models 🤖 📝

Results 7 gpt2client issues
Sort by recently updated
recently updated
newest added

Doing the following code: ``` from gpt2_client import GPT2Client gpt2 = GPT2Client('117M', save_dir="models") # This could also be `355M`, `774M`, or `1558M` gpt2.load_model(force_download=False) ``` Isn't working and it gives the...

**Describe the bug** ERROR: Command errored out with exit status 1: command: 'c:\users\user\desktop\sandbox\python\maxpy\venv\scripts\python.exe' -c 'import io, os, sys, setuptools, tokenize; sys.argv[0] = '"'"'C:\\Users\\user\AppData\\Local\\Temp\\pip-install-fdgen5p8\\gpt2-client_97 033f7ffe264c9b9720da041039c967\\setup.py'"'"'; __file__='"'"'C:\\Users\\user\\AppData\\Local\\Temp\\pip-install-fdgen5p8\\gpt2-client_97033f7ffe264c9b9720da041039c967\\setup.py'"'"';f = getattr(tokenize, '"'"'open'"'"', open)(__ file__)...

Not much to be said. When attempting to call the length parameter of gpt-2 generate function, the functioncall fails with "TypeError: generate() got an unexpected keyword argument 'length'" Is changing...

**Describe the bug** Ran the README example with the following prompts: `['forklifts', 'tell me about forklifts', 'what is the current state of the art in forklifts']` None of generated entries...

It's erroneous to say that you can train your own text on the 774M and 1558M because the system won't allow it. Only the small and medium models allow that....

**Describe the bug** I was doing some simple steps.. Wanted to try out gpt-2 on my raspberry pi and I got some errors. **To Reproduce** Steps to reproduce the behavior:...

Code: ```python from gpt2_client import GPT2Client gpt2 = GPT2Client('117M') gpt2.generate(interactive=True) ``` Crash: ``` FileNotFoundError: [Errno 2] No such file or directory: 'models/117M/encoder.json' ``` This error occurs for every model. macOS...