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

XFEstudio/gpt4free

Added CodeLlama 70b

455e5dc9
nullstreak <139914347+nullstreak@users.noreply.github.com>
提交于

代码差异

1 个文件 +8 -1
Modified g4f/models.py +8 -1
@@ -123,6 +123,12 @@ codellama_34b_instruct = Model(
123 123 best_provider = RetryProvider([HuggingChat, PerplexityLabs, DeepInfra])
124 124 )
125 125
126 codellama_70b_instruct = Model(
127 name = "codellama/CodeLlama-70b-Instruct-hf",
128 base_provider = "huggingface",
129 best_provider = DeepInfra
130 )
131
126 132 # Mistral
127 133 mixtral_8x7b = Model(
128 134 name = "mistralai/Mixtral-8x7B-Instruct-v0.1",
@@ -256,6 +262,7 @@ class ModelUtils:
256 262 'llama2-13b': llama2_13b,
257 263 'llama2-70b': llama2_70b,
258 264 'codellama-34b-instruct': codellama_34b_instruct,
265 'codellama-70b-instruct': codellama_70b_instruct,
259 266
260 267 'mixtral-8x7b': mixtral_8x7b,
261 268 'mistral-7b': mistral_7b,
@@ -270,4 +277,4 @@ class ModelUtils:
270 277 'pi': pi
271 278 }
272 279
273 _all_models = list(ModelUtils.convert.keys())
280 _all_models = list(ModelUtils.convert.keys())