Skip to content

Commit

Permalink
Add zephyr-alpha templates
Browse files Browse the repository at this point in the history
  • Loading branch information
Cyrilvallez committed Dec 5, 2023
1 parent 0f6489d commit 91082df
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions textwiz/conversation_template.py
Original file line number Diff line number Diff line change
Expand Up @@ -494,6 +494,7 @@ def get_prompt(self) -> str:
'mistral-7B-instruct': MistralConversation,

# Zephyr
'zephyr-7B-alpha': ZephyrConversation,
'zephyr-7B-beta': ZephyrConversation,
}

Expand Down
1 change: 1 addition & 0 deletions textwiz/prompt_template.py
Original file line number Diff line number Diff line change
Expand Up @@ -386,6 +386,7 @@ def format_chat(self, prompt: str, model_context: str = '', system_prompt: str =
'mistral-7B-instruct': MistralPromptTemplate,

# Zephyr
'zephyr-7B-alpha': ZephyrPromptTemplate,
'zephyr-7B-beta': ZephyrPromptTemplate,
}

Expand Down

0 comments on commit 91082df

Please sign in to comment.