Skip to content

Running GPT model from Open AI direct on terminal

License

Notifications You must be signed in to change notification settings

jodmoreira/fesso

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

fesso

Running GPT model from Open AI direct on terminal

Access https://beta.openai.com/account/api-keys to get new api key.
Store the value safely as a enviroment variable using OPENAI_API_KEY as key.

To generate binary file run pyinstaller.
python -m pip install pyinstaller
Run the command to get binary:
pyinstaller --onefile fesso.py

To optimize answers to your needs, add substrings such as "command to", "who is", "what is" to the beginning of the prompt.
To have larger or smaller results edit the --max_tokens parameter.
It is also possible to try cheaper models such as curie, babbage or ada. Check documentation:
https://beta.openai.com/docs/models/gpt-3

About

Running GPT model from Open AI direct on terminal

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published