Spaces:
Running
Running
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:
- Join my Discord Server :D
- Star this repository :D
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}")