diff options
author | kqlio67 <kqlio67@users.noreply.github.com> | 2024-10-16 18:33:06 +0200 |
---|---|---|
committer | kqlio67 <kqlio67@users.noreply.github.com> | 2024-10-16 18:33:06 +0200 |
commit | 1617e515bcec170717a782e20e9870f698fdab5d (patch) | |
tree | f447c92eed5af5f66d8a83a0de23db7e43ec8c05 | |
parent | feat(g4f/Provider/Blackbox.py): enhance async response handling and cleanup (diff) | |
download | gpt4free-1617e515bcec170717a782e20e9870f698fdab5d.tar gpt4free-1617e515bcec170717a782e20e9870f698fdab5d.tar.gz gpt4free-1617e515bcec170717a782e20e9870f698fdab5d.tar.bz2 gpt4free-1617e515bcec170717a782e20e9870f698fdab5d.tar.lz gpt4free-1617e515bcec170717a782e20e9870f698fdab5d.tar.xz gpt4free-1617e515bcec170717a782e20e9870f698fdab5d.tar.zst gpt4free-1617e515bcec170717a782e20e9870f698fdab5d.zip |
-rw-r--r-- | g4f/Provider/HuggingChat.py | 2 | ||||
-rw-r--r-- | g4f/models.py | 11 |
2 files changed, 13 insertions, 0 deletions
diff --git a/g4f/Provider/HuggingChat.py b/g4f/Provider/HuggingChat.py index 30e97d7d..45f3a0d2 100644 --- a/g4f/Provider/HuggingChat.py +++ b/g4f/Provider/HuggingChat.py @@ -17,6 +17,7 @@ class HuggingChat(AbstractProvider, ProviderModelMixin): 'meta-llama/Meta-Llama-3.1-70B-Instruct', 'CohereForAI/c4ai-command-r-plus-08-2024', 'Qwen/Qwen2.5-72B-Instruct', + 'nvidia/Llama-3.1-Nemotron-70B-Instruct-HF', 'meta-llama/Llama-3.2-11B-Vision-Instruct', 'NousResearch/Hermes-3-Llama-3.1-8B', 'mistralai/Mistral-Nemo-Instruct-2407', @@ -27,6 +28,7 @@ class HuggingChat(AbstractProvider, ProviderModelMixin): "llama-3.1-70b": "meta-llama/Meta-Llama-3.1-70B-Instruct", "command-r-plus": "CohereForAI/c4ai-command-r-plus-08-2024", "qwen-2-72b": "Qwen/Qwen2.5-72B-Instruct", + "nemotron-70b": "nvidia/Llama-3.1-Nemotron-70B-Instruct-HF", "llama-3.2-11b": "meta-llama/Llama-3.2-11B-Vision-Instruct", "hermes-3": "NousResearch/Hermes-3-Llama-3.1-8B", "mistral-nemo": "mistralai/Mistral-Nemo-Instruct-2407", diff --git a/g4f/models.py b/g4f/models.py index f124cf86..6505a77a 100644 --- a/g4f/models.py +++ b/g4f/models.py @@ -707,6 +707,13 @@ cybertron_7b = Model( best_provider = Cloudflare ) +### Nvidia ### +nemotron_70b = Model( + name = 'nemotron-70b', + base_provider = 'Nvidia', + best_provider = IterListProvider([HuggingChat, HuggingFace]) +) + ############# @@ -1070,6 +1077,10 @@ class ModelUtils: 'cybertron-7b': cybertron_7b, +### Nvidia ### +'nemotron-70b': nemotron_70b, + + ############# ### Image ### |