summaryrefslogtreecommitdiffstats
path: root/g4f/Provider/HuggingFace.py
diff options
context:
space:
mode:
authorkqlio67 <166700875+kqlio67@users.noreply.github.com>2024-07-25 08:21:55 +0200
committerkqlio67 <166700875+kqlio67@users.noreply.github.com>2024-07-25 08:21:55 +0200
commit29c13e26cd794208786a8a6cf421c264015c7e3a (patch)
treeda3a3ebdc903ac22c451d1ffd749eebd7c0aeec8 /g4f/Provider/HuggingFace.py
parentMerge pull request #2106 from zachey01/main (diff)
downloadgpt4free-29c13e26cd794208786a8a6cf421c264015c7e3a.tar
gpt4free-29c13e26cd794208786a8a6cf421c264015c7e3a.tar.gz
gpt4free-29c13e26cd794208786a8a6cf421c264015c7e3a.tar.bz2
gpt4free-29c13e26cd794208786a8a6cf421c264015c7e3a.tar.lz
gpt4free-29c13e26cd794208786a8a6cf421c264015c7e3a.tar.xz
gpt4free-29c13e26cd794208786a8a6cf421c264015c7e3a.tar.zst
gpt4free-29c13e26cd794208786a8a6cf421c264015c7e3a.zip
Diffstat (limited to 'g4f/Provider/HuggingFace.py')
-rw-r--r--g4f/Provider/HuggingFace.py5
1 files changed, 3 insertions, 2 deletions
diff --git a/g4f/Provider/HuggingFace.py b/g4f/Provider/HuggingFace.py
index a5e27ccf..6634aa75 100644
--- a/g4f/Provider/HuggingFace.py
+++ b/g4f/Provider/HuggingFace.py
@@ -14,16 +14,17 @@ class HuggingFace(AsyncGeneratorProvider, ProviderModelMixin):
working = True
needs_auth = True
supports_message_history = True
+ default_model = "mistralai/Mixtral-8x7B-Instruct-v0.1"
models = [
+ 'meta-llama/Meta-Llama-3.1-70B-Instruct',
+ 'meta-llama/Meta-Llama-3.1-405B-Instruct-FP8',
'CohereForAI/c4ai-command-r-plus',
- 'meta-llama/Meta-Llama-3-70B-Instruct',
'mistralai/Mixtral-8x7B-Instruct-v0.1',
'NousResearch/Nous-Hermes-2-Mixtral-8x7B-DPO',
'01-ai/Yi-1.5-34B-Chat',
'mistralai/Mistral-7B-Instruct-v0.2',
'microsoft/Phi-3-mini-4k-instruct',
]
- default_model = "mistralai/Mixtral-8x7B-Instruct-v0.1"
@classmethod
async def create_async_generator(