mirror of
https://github.com/xtekky/gpt4free.git
synced 2024-12-24 19:53:11 +03:00
feat(g4f/Provider/HuggingChat.py): add new model support for Nemotron
This commit is contained in:
parent
4e630d29aa
commit
1617e515bc
@ -17,6 +17,7 @@ class HuggingChat(AbstractProvider, ProviderModelMixin):
|
|||||||
'meta-llama/Meta-Llama-3.1-70B-Instruct',
|
'meta-llama/Meta-Llama-3.1-70B-Instruct',
|
||||||
'CohereForAI/c4ai-command-r-plus-08-2024',
|
'CohereForAI/c4ai-command-r-plus-08-2024',
|
||||||
'Qwen/Qwen2.5-72B-Instruct',
|
'Qwen/Qwen2.5-72B-Instruct',
|
||||||
|
'nvidia/Llama-3.1-Nemotron-70B-Instruct-HF',
|
||||||
'meta-llama/Llama-3.2-11B-Vision-Instruct',
|
'meta-llama/Llama-3.2-11B-Vision-Instruct',
|
||||||
'NousResearch/Hermes-3-Llama-3.1-8B',
|
'NousResearch/Hermes-3-Llama-3.1-8B',
|
||||||
'mistralai/Mistral-Nemo-Instruct-2407',
|
'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",
|
"llama-3.1-70b": "meta-llama/Meta-Llama-3.1-70B-Instruct",
|
||||||
"command-r-plus": "CohereForAI/c4ai-command-r-plus-08-2024",
|
"command-r-plus": "CohereForAI/c4ai-command-r-plus-08-2024",
|
||||||
"qwen-2-72b": "Qwen/Qwen2.5-72B-Instruct",
|
"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",
|
"llama-3.2-11b": "meta-llama/Llama-3.2-11B-Vision-Instruct",
|
||||||
"hermes-3": "NousResearch/Hermes-3-Llama-3.1-8B",
|
"hermes-3": "NousResearch/Hermes-3-Llama-3.1-8B",
|
||||||
"mistral-nemo": "mistralai/Mistral-Nemo-Instruct-2407",
|
"mistral-nemo": "mistralai/Mistral-Nemo-Instruct-2407",
|
||||||
|
@ -707,6 +707,13 @@ cybertron_7b = Model(
|
|||||||
best_provider = Cloudflare
|
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,
|
'cybertron-7b': cybertron_7b,
|
||||||
|
|
||||||
|
|
||||||
|
### Nvidia ###
|
||||||
|
'nemotron-70b': nemotron_70b,
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
#############
|
#############
|
||||||
### Image ###
|
### Image ###
|
||||||
|
Loading…
Reference in New Issue
Block a user