Merge pull request #1891 from eienmojiki206/main

Update models list for `HuggingChat` provider
This commit is contained in:
Tekky 2024-04-25 11:05:24 +01:00 committed by GitHub
commit 41c9c9e415
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', 'google/gemma-1.1-7b-it',
'NousResearch/Nous-Hermes-2-Mixtral-8x7B-DPO', 'NousResearch/Nous-Hermes-2-Mixtral-8x7B-DPO',
'mistralai/Mistral-7B-Instruct-v0.2', '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 = { model_aliases = {
"mistralai/Mistral-7B-Instruct-v0.1": "mistralai/Mistral-7B-Instruct-v0.2" "mistralai/Mistral-7B-Instruct-v0.1": "mistralai/Mistral-7B-Instruct-v0.2"
@ -112,4 +113,4 @@ class HuggingChat(AsyncGeneratorProvider, ProviderModelMixin):
class Conversation(BaseConversation): class Conversation(BaseConversation):
def __init__(self, conversation_id: str) -> None: def __init__(self, conversation_id: str) -> None:
self.conversation_id = conversation_id self.conversation_id = conversation_id