mirror of
https://github.com/xtekky/gpt4free.git
synced 2024-12-24 11:34:02 +03:00
Add Mistral models
This commit is contained in:
parent
90606ec7fc
commit
c7b5e5eee6
@ -107,6 +107,17 @@ llama2_70b = Model(
|
|||||||
base_provider = "huggingface",
|
base_provider = "huggingface",
|
||||||
best_provider = RetryProvider([Llama2, DeepInfra, HuggingChat]))
|
best_provider = RetryProvider([Llama2, DeepInfra, HuggingChat]))
|
||||||
|
|
||||||
|
# Mistal
|
||||||
|
mixtral_8x7b = Model(
|
||||||
|
name = "mistralai/Mixtral-8x7B-Instruct-v0.1",
|
||||||
|
base_provider = "huggingface",
|
||||||
|
best_provider = HuggingChat)
|
||||||
|
|
||||||
|
mistral_7b = Model(
|
||||||
|
name = "mistralai/Mistral-7B-Instruct-v0.1",
|
||||||
|
base_provider = "huggingface",
|
||||||
|
best_provider = HuggingChat)
|
||||||
|
|
||||||
# Bard
|
# Bard
|
||||||
palm = Model(
|
palm = Model(
|
||||||
name = 'palm',
|
name = 'palm',
|
||||||
@ -292,6 +303,10 @@ class ModelUtils:
|
|||||||
'llama2-13b': llama2_13b,
|
'llama2-13b': llama2_13b,
|
||||||
'llama2-70b': llama2_70b,
|
'llama2-70b': llama2_70b,
|
||||||
|
|
||||||
|
# Mistral
|
||||||
|
'mixtral-8x7b': mixtral_8x7b,
|
||||||
|
'mistral-7b': mistral_7b,
|
||||||
|
|
||||||
# Bard
|
# Bard
|
||||||
'palm2' : palm,
|
'palm2' : palm,
|
||||||
'palm' : palm,
|
'palm' : palm,
|
||||||
|
Loading…
Reference in New Issue
Block a user