freegpt-webui / api /README.md
monra's picture
Initial commit
aae4949
|
raw
history blame
2.2 kB

PyPI version Downloads License

freeGPT

A Python package that gives access to GPT3 & GPT4 models for free.
Get started by installing the package:

py -m pip install --upgrade freeGPT

Source:

Models with .web have internet access on.

Models Websites
gpt3 you.com
gpt4 forefront.ai

TODO-List:

  • Add GPT-4.
  • Make the library well-documented.
  • Make the over-all library easier to use.
  • Make the over-all library easier to understand.
  • Replace you.com with theb.ai for less failed responses.
  • Make GPT-3 & GPT-4 models with web access.
  • Add a non-GPT model.
  • Add a text to image generation model.
  • Make a discord bot.

Support me:

Examples:

Alpaca-7b:

from freeGPT import alpaca

while True:
    prompt = input("πŸ‘¦ > ")
    resp = alpaca.Completion.create(prompt=prompt)
    print(f"πŸ€– > {resp}")

GPT-3:

from freeGPT import gpt3

while True:
    prompt = input("πŸ‘¦ > ")
    resp = gpt3.Completion.create(prompt=prompt)
    print(f"πŸ€– > {resp['text']}")

GPT-4:

# Uhh, sorry but gpt4 is kinda broken currently, will maybe get fixed in the next update.
from freeGPT import gpt4

while True:
    token = Account.create(logging=True)
    prompt = input("πŸ‘¦ > ")
    resp = gpt4.Completion.create(prompt=prompt, token=token)
    print(f"πŸ€– > {resp.text}")

Star History:

Star History Chart