diff options
author | Heiner Lohaus <heiner@lohaus.eu> | 2023-10-26 21:32:49 +0200 |
---|---|---|
committer | Heiner Lohaus <heiner@lohaus.eu> | 2023-10-26 21:43:20 +0200 |
commit | 0d1ae405cc24f3daafb783d758c019ef6731d3aa (patch) | |
tree | 38b81047c788b60458341b4a2cbda8fb7fd936aa /g4f/models.py | |
parent | Update README.md (diff) | |
download | gpt4free-0d1ae405cc24f3daafb783d758c019ef6731d3aa.tar gpt4free-0d1ae405cc24f3daafb783d758c019ef6731d3aa.tar.gz gpt4free-0d1ae405cc24f3daafb783d758c019ef6731d3aa.tar.bz2 gpt4free-0d1ae405cc24f3daafb783d758c019ef6731d3aa.tar.lz gpt4free-0d1ae405cc24f3daafb783d758c019ef6731d3aa.tar.xz gpt4free-0d1ae405cc24f3daafb783d758c019ef6731d3aa.tar.zst gpt4free-0d1ae405cc24f3daafb783d758c019ef6731d3aa.zip |
Diffstat (limited to '')
-rw-r--r-- | g4f/models.py | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/g4f/models.py b/g4f/models.py index 7eee917a..45799602 100644 --- a/g4f/models.py +++ b/g4f/models.py @@ -6,12 +6,14 @@ from .Provider import ( GptForLove, ChatgptAi, GptChatly, + DeepInfra, ChatgptX, ChatBase, GeekGpt, FakeGpt, FreeGpt, NoowAi, + Llama2, Vercel, Aichat, GPTalk, @@ -74,6 +76,21 @@ gpt_4 = Model( ]) ) +llama2_7b = Model( + name = "meta-llama/Llama-2-7b-chat-hf", + base_provider = 'huggingface', + best_provider = RetryProvider([Llama2, DeepInfra])) + +llama2_13b = Model( + name ="meta-llama/Llama-2-13b-chat-hf", + base_provider = 'huggingface', + best_provider = RetryProvider([Llama2, DeepInfra])) + +llama2_70b = Model( + name = "meta-llama/Llama-2-70b-chat-hf", + base_provider = "huggingface", + best_provider = RetryProvider([Llama2, DeepInfra])) + # Bard palm = Model( name = 'palm', |