ShortGPT icon indicating copy to clipboard operation
ShortGPT copied to clipboard

❓ [Question]: is there any way to use Open AI for free ??

Open enkii07 opened this issue 2 years ago • 10 comments

Your Question

so i tried revered proxy but it's not working, it's showing me this error after 33%

image

ERROR : Exception : GPT3 error: Too many requests, you can send 3 requests per 15 seconds, please wait and try again later.

i know GPT4 is not that expensive but i am a student i just want it for free !! XD

is there any way or should i just buy it?

enkii07 avatar Oct 24 '23 06:10 enkii07

You could use your own LLM such as Llama 2. But you need a GPU with at least 24GB vram to work comfortably.

davidmartinrius avatar Oct 31 '23 13:10 davidmartinrius

You could use your own LLM such as Llama 2. But you need a GPU with at least 24GB vram to work comfortably.

HOW brother?

Mr9inety6iX avatar Nov 05 '23 19:11 Mr9inety6iX

You can use https://github.com/oobabooga/text-generation-webui with some model like Llama2, Vicuña, or the model which you prefer (in the project of text-generstion-webui are some suggested models) Once you installed it and the webui is running you can use the api from your own server instead of using openai. You should make some modifications in ShortGPT but it should be quite simple. When using this webui you can leverage on your CPU in case that you do not have GPU. Or if you have a GPU below 24GB, you can also use simpler models like Llama2-13B from https://huggingface.co/TheBloke/Llama-2-13B-GGML

If you have more questions I will be glad to respond.

David Martin Rius

davidmartinrius avatar Nov 05 '23 19:11 davidmartinrius

https://github.com/xtekky/gpt4free

iasenovets avatar Nov 23 '23 09:11 iasenovets

You can use https://github.com/oobabooga/text-generation-webui with some model like Llama2, Vicuña, or the model which you prefer (in the project of text-generstion-webui are some suggested models) Once you installed it and the webui is running you can use the api from your own server instead of using openai. You should make some modifications in ShortGPT but it should be quite simple. When using this webui you can leverage on your CPU in case that you do not have GPU. Or if you have a GPU below 24GB, you can also use simpler models like Llama2-13B from https://huggingface.co/TheBloke/Llama-2-13B-GGML

If you have more questions I will be glad to respond.

David Martin Rius

Can you help me make changes in shortgpt? I can run GPT4 and ollama both locally. but I don't know how to integrate that in Shortgpt.

daniyalkhalid7 avatar May 06 '24 04:05 daniyalkhalid7

You can use https://github.com/oobabooga/text-generation-webui with some model like Llama2, Vicuña, or the model which you prefer (in the project of text-generstion-webui are some suggested models) Once you installed it and the webui is running you can use the api from your own server instead of using openai. You should make some modifications in ShortGPT but it should be quite simple. When using this webui you can leverage on your CPU in case that you do not have GPU. Or if you have a GPU below 24GB, you can also use simpler models like Llama2-13B from https://huggingface.co/TheBloke/Llama-2-13B-GGML If you have more questions I will be glad to respond. David Martin Rius

Can you help me make changes in shortgpt? I can run GPT4 and ollama both locally. but I don't know how to integrate that in Shortgpt.

You can create you own function like this one: https://github.com/RayVentura/ShortGPT/blob/969d818b251e6a8f9c4012aabd2a6f36bb9402a4/shortGPT/gpt/gpt_utils.py#L72

davidmartinrius avatar May 06 '24 05:05 davidmartinrius

https://github.com/xtekky/gpt4free

I tried this and got everything setup, but how am I supposed to find my freegpt4 API key???

9volt24 avatar May 19 '24 22:05 9volt24

https://github.com/xtekky/gpt4free

I tried this and got everything setup, but how am I supposed to find my freegpt4 API key???

I guess you missed the "free" part haha

Obviously, you do not need any api key if you integrated gpt4free...

davidmartinrius avatar May 20 '24 06:05 davidmartinrius