Add microsoft/Phi-3-mini-4k-instruct model

This commit is contained in:
Eien Mojiki 🍕 2024-04-24 23:49:41 +07:00 committed by GitHub
parent 431621b274
commit c85960566d
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -22,7 +22,8 @@ class HuggingChat(AsyncGeneratorProvider, ProviderModelMixin):
'google/gemma-1.1-7b-it',
'NousResearch/Nous-Hermes-2-Mixtral-8x7B-DPO',
'mistralai/Mistral-7B-Instruct-v0.2',
'meta-llama/Meta-Llama-3-70B-Instruct'
'meta-llama/Meta-Llama-3-70B-Instruct',
'microsoft/Phi-3-mini-4k-instruct'
]
model_aliases = {
"mistralai/Mistral-7B-Instruct-v0.1": "mistralai/Mistral-7B-Instruct-v0.2"
@ -112,4 +113,4 @@ class HuggingChat(AsyncGeneratorProvider, ProviderModelMixin):
class Conversation(BaseConversation):
def __init__(self, conversation_id: str) -> None:
self.conversation_id = conversation_id
self.conversation_id = conversation_id