From c85960566da2c4d35e563d23ebd29cfc2411f00f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Eien=20Mojiki=20=F0=9F=8D=95?= <95165750+eienmojiki206@users.noreply.github.com> Date: Wed, 24 Apr 2024 23:49:41 +0700 Subject: [PATCH] Add `microsoft/Phi-3-mini-4k-instruct` model --- g4f/Provider/HuggingChat.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/g4f/Provider/HuggingChat.py b/g4f/Provider/HuggingChat.py index 65273345..ac324390 100644 --- a/g4f/Provider/HuggingChat.py +++ b/g4f/Provider/HuggingChat.py @@ -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 \ No newline at end of file + self.conversation_id = conversation_id