返回提交历史
Modified
g4f/Provider/HuggingChat.py
+2
-0
Modified
g4f/models.py
+11
-0
XFEstudio/gpt4free
feat(g4f/Provider/HuggingChat.py): add new model support for Nemotron
1617e515
代码差异
2 个文件
+13
-0
@@ -17,6 +17,7 @@ class HuggingChat(AbstractProvider, ProviderModelMixin):
17
17
'meta-llama/Meta-Llama-3.1-70B-Instruct',
18
18
'CohereForAI/c4ai-command-r-plus-08-2024',
19
19
'Qwen/Qwen2.5-72B-Instruct',
20
'nvidia/Llama-3.1-Nemotron-70B-Instruct-HF',
20
21
'meta-llama/Llama-3.2-11B-Vision-Instruct',
21
22
'NousResearch/Hermes-3-Llama-3.1-8B',
22
23
'mistralai/Mistral-Nemo-Instruct-2407',
@@ -27,6 +28,7 @@ class HuggingChat(AbstractProvider, ProviderModelMixin):
27
28
"llama-3.1-70b": "meta-llama/Meta-Llama-3.1-70B-Instruct",
28
29
"command-r-plus": "CohereForAI/c4ai-command-r-plus-08-2024",
29
30
"qwen-2-72b": "Qwen/Qwen2.5-72B-Instruct",
31
"nemotron-70b": "nvidia/Llama-3.1-Nemotron-70B-Instruct-HF",
30
32
"llama-3.2-11b": "meta-llama/Llama-3.2-11B-Vision-Instruct",
31
33
"hermes-3": "NousResearch/Hermes-3-Llama-3.1-8B",
32
34
"mistral-nemo": "mistralai/Mistral-Nemo-Instruct-2407",
@@ -707,6 +707,13 @@ cybertron_7b = Model(
707
707
best_provider = Cloudflare
708
708
)
709
709
710
### Nvidia ###
711
nemotron_70b = Model(
712
name = 'nemotron-70b',
713
base_provider = 'Nvidia',
714
best_provider = IterListProvider([HuggingChat, HuggingFace])
715
)
716
710
717
711
718
712
719
#############
@@ -1070,6 +1077,10 @@ class ModelUtils:
1070
1077
'cybertron-7b': cybertron_7b,
1071
1078
1072
1079
1080
### Nvidia ###
1081
'nemotron-70b': nemotron_70b,
1082
1083
1073
1084
1074
1085
#############
1075
1086
### Image ###