Skip to main content

freeGPT is a Python package that gives free access to GPT3 and GPT4 and more models.

Project description

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:

Both GPT models have internet access.

Models Websites
gpt3 you.com
gpt4 forefront.ai
alpaca_7b chatllama.baseten.co

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:

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}")

Alpaca-7b:

from freeGPT import alpaca_7b

while True:
    prompt = input("👦 > ")
    resp = alpaca_7b.Completion.create(prompt=prompt)
    print(f"🤖 > {resp}")

Star History:

Star History Chart

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

freeGPT-1.1.6.tar.gz (20.6 kB view hashes)

Uploaded Source

Built Distribution

freeGPT-1.1.6-py3-none-any.whl (20.4 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page