Skip to content

Commit

Permalink
GLM-4 and Qwen-2 cases added for tokenizer chat template.
Browse files Browse the repository at this point in the history
  • Loading branch information
ShayekhBinIslam authored Aug 10, 2024
1 parent be7d733 commit 6548eb6
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions scripts/run_generative.py
Original file line number Diff line number Diff line change
Expand Up @@ -144,6 +144,10 @@ def main():
model_modifier = "llama-3.1"
elif "gemma" in args.model:
model_modifier = "gemma"
elif "glm-4" in args.model:
model_modifier = "glm-4"
elif "Qwen2" in args.model:
model_modifier = "qwen-2"
else:
model_modifier = None

Expand Down

0 comments on commit 6548eb6

Please sign in to comment.