XFE Git
XFE Studio Git
Git 首页 全局搜索
XFE 主站 文档 NuGet
公开
关注 0 Fork 0 Star 1
返回提交历史

XFEstudio/gpt4free

new model added

e23ee1f8
kqlio67 <kqlio67@users.noreply.github.com>
提交于

代码差异

2 个文件 +10 -1
Modified g4f/Provider/HuggingChat.py +1 -1
@@ -26,7 +26,7 @@ class HuggingChat(AbstractProvider, ProviderModelMixin):
26 26 "llama-3.1-70b": "meta-llama/Meta-Llama-3.1-70B-Instruct",
27 27 "command-r-plus": "CohereForAI/c4ai-command-r-plus-08-2024",
28 28 "mixtral-8x7b": "mistralai/Mixtral-8x7B-Instruct-v0.1",
29 "mixtral-8x7b": "NousResearch/Nous-Hermes-2-Mixtral-8x7B-DPO",
29 "mixtral-8x7b-dpo": "NousResearch/Nous-Hermes-2-Mixtral-8x7B-DPO",
30 30 "mistral-7b": "mistralai/Mistral-7B-Instruct-v0.3",
31 31 "phi-3-mini-4k": "microsoft/Phi-3-mini-4k-instruct",
32 32 }
Modified g4f/models.py +9 -0
@@ -189,6 +189,7 @@ llama_3_1_405b = Model(
189 189 best_provider = IterListProvider([Blackbox])
190 190 )
191 191
192
192 193 ### Mistral ###
193 194 mixtral_8x7b = Model(
194 195 name = "mixtral-8x7b",
@@ -203,6 +204,14 @@ mistral_7b = Model(
203 204 )
204 205
205 206
207 ### NousResearch ###
208 mixtral_8x7b_dpo = Model(
209 name = "mixtral-8x7b-dpo",
210 base_provider = "NousResearch",
211 best_provider = IterListProvider([HuggingChat, HuggingFace,])
212 )
213
214
206 215 ### Microsoft ###
207 216 phi_3_mini_4k = Model(
208 217 name = "phi-3-mini-4k",