Files
llmsecops-research/src/text_generation/common/constants.py
T
2025-07-25 16:35:19 -06:00

15 lines
853 B
Python

class Constants:
PHI_3_ASSISTANT_START_TOKEN = "<|assistant|>"
PHI_3_END_TOKEN = "<|end|>"
PHI_3_SYSTEM_START_TOKEN = "<|system|>"
PHI_3_USER_START_TOKEN = "<|user|>"
INPUT_VARIABLE_TOKEN = "input"
ALT_COMPLETION_TEXT = "I can't answer that."
class PromptTemplateIds:
PHI_3_MINI_4K_INSTRUCT__01_BASIC = "phi-3-mini-4k-instruct.01-basic"
PHI_3_MINI_4K_INSTRUCT__02_ZERO_SHOT_CHAIN_OF_THOUGHT = "phi-3-mini-4k-instruct.02-zero-shot-cot"
PHI_3_MINI_4K_INSTRUCT__03_FEW_SHOT_EXAMPLES = "phi-3-mini-4k-instruct.03-few-shot"
PHI_3_MINI_4K_INSTRUCT__04_FEW_SHOT_RAG_PLUS_COT = "phi-3-mini-4k-instruct.04-few-shot-rag-plus-cot"
PHI_3_MINI_4K_INSTRUCT__05_REFLEXION = "phi-3-mini-4k-instruct.05-reflexion"