summaryrefslogtreecommitdiffstats
path: root/g4f/models.py
diff options
context:
space:
mode:
authorkqlio67 <kqlio67@users.noreply.github.com>2024-09-02 23:35:52 +0200
committerkqlio67 <kqlio67@users.noreply.github.com>2024-09-02 23:35:52 +0200
commit21c94f221d9b4e8a6b601185a9fd65acfe297374 (patch)
treee44773b35cb219ca777682f05c7711a778d030fd /g4f/models.py
parentUpdate models.py: Refine provider list and model support (diff)
downloadgpt4free-21c94f221d9b4e8a6b601185a9fd65acfe297374.tar
gpt4free-21c94f221d9b4e8a6b601185a9fd65acfe297374.tar.gz
gpt4free-21c94f221d9b4e8a6b601185a9fd65acfe297374.tar.bz2
gpt4free-21c94f221d9b4e8a6b601185a9fd65acfe297374.tar.lz
gpt4free-21c94f221d9b4e8a6b601185a9fd65acfe297374.tar.xz
gpt4free-21c94f221d9b4e8a6b601185a9fd65acfe297374.tar.zst
gpt4free-21c94f221d9b4e8a6b601185a9fd65acfe297374.zip
Diffstat (limited to '')
-rw-r--r--g4f/models.py21
1 files changed, 11 insertions, 10 deletions
diff --git a/g4f/models.py b/g4f/models.py
index 4176f0a2..a6c259e3 100644
--- a/g4f/models.py
+++ b/g4f/models.py
@@ -37,6 +37,7 @@ from .Provider import (
Replicate,
ReplicateHome,
TeachAnything,
+ TwitterBio,
Upstage,
You,
)
@@ -91,7 +92,7 @@ gpt_35_turbo = Model(
name = 'gpt-3.5-turbo',
base_provider = 'openai',
best_provider = IterListProvider([
- Allyfy,
+ Allyfy, TwitterBio,
])
)
@@ -140,50 +141,50 @@ gigachat = Model(
### Meta ###
meta = Model(
name = "meta-ai",
- base_provider = "meta",
+ base_provider = "Meta",
best_provider = MetaAI
)
llama_3_8b = Model(
name = "llama-3-8b",
- base_provider = "meta",
+ base_provider = "Meta",
best_provider = IterListProvider([DeepInfra, Replicate])
)
llama_3_70b = Model(
name = "llama-3-70b",
- base_provider = "meta",
+ base_provider = "Meta",
best_provider = IterListProvider([ReplicateHome, DeepInfra, PerplexityLabs, Replicate])
)
llama_3_1_8b = Model(
name = "llama-3.1-8b",
- base_provider = "meta",
+ base_provider = "Meta",
best_provider = IterListProvider([Blackbox])
)
llama_3_1_70b = Model(
name = "llama-3.1-70b",
- base_provider = "meta",
+ base_provider = "Meta",
best_provider = IterListProvider([DDG, HuggingChat, FreeGpt, Blackbox, TeachAnything, HuggingFace])
)
llama_3_1_405b = Model(
name = "llama-3.1-405b",
- base_provider = "meta",
+ base_provider = "Meta",
best_provider = IterListProvider([HuggingChat, Blackbox, HuggingFace])
)
### Mistral ###
mixtral_8x7b = Model(
name = "mixtral-8x7b",
- base_provider = "huggingface",
- best_provider = IterListProvider([HuggingChat, DDG, ReplicateHome, DeepInfra, HuggingFace,])
+ base_provider = "Mistral",
+ best_provider = IterListProvider([HuggingChat, DDG, ReplicateHome, TwitterBio, DeepInfra, HuggingFace,])
)
mistral_7b = Model(
name = "mistral-7b",
- base_provider = "huggingface",
+ base_provider = "Mistral",
best_provider = IterListProvider([HuggingChat, HuggingFace, DeepInfra])
)