freeGPT is a Python package that gives access to GPT and more models for free.
Project description
freeGPT
freeGPT is a Python package that gives free access to GPT3 and GPT4 and more models.
Get started by installing the package:
py -m pip install --upgrade freeGPT
Or add our Discord bot, its Open Sourced!
Source:
GPT-3 has internet access.
Models | Websites |
---|---|
gpt3 | you.com |
gpt4 | ava-ai-ef611.web.app |
alpaca_7b | chatllama.baseten.co |
TODO-List:
- 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.
- Make a discord bot.
- Add a image generation model.
Support me:
- Star this repository! :D
- Join my Discord Server:
Discord bot:
- Add the official freeGPT discord bot here
- This bot has ALL the models in this repository available.
- Its interactive, fast and overall easy to use.
- And lastly its Open Sourced!
Examples:
GPT-3:
from freeGPT import gpt3
while True:
prompt = input("👦 > ")
try:
# Remove the 'proxy' variable and the 'proxies' parameter if you don't want to use a proxy.
proxy = "Your proxies IP"
resp = gpt3.Completion.create(prompt=prompt, chat=[], proxies={"https": "http://" + proxy})
print(f"🤖 > {str(resp['text'])}")
except Exception as e:
print(f"🤖 > {str(e)}")
GPT-4:
from freeGPT import gpt4
while True:
prompt = input("👦 > ")
try:
resp = gpt4.Completion.create(prompt=prompt)
print(f"🤖 > {str(resp)}")
except Exception as e:
print(f"🤖 > {str(e)}")
Alpaca-7b:
from freeGPT import alpaca_7b
while True:
prompt = input("👦 > ")
try:
resp = alpaca_7b.Completion.create(prompt=prompt)
print(f"🤖 > {str(resp)}")
except Exception as e:
print(f"🤖 > {str(e)}")
Star History:
Project details
Release history Release notifications | RSS feed
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.9.tar.gz
(19.3 kB
view hashes)
Built Distribution
freeGPT-1.1.9-py3-none-any.whl
(19.3 kB
view hashes)