Skip to content

Commit

Permalink
lint
Browse files Browse the repository at this point in the history
  • Loading branch information
remip2 committed Jan 16, 2025
1 parent f7c0194 commit 135ab5d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
2 changes: 1 addition & 1 deletion fastchat/conversation.py
Original file line number Diff line number Diff line change
Expand Up @@ -2318,7 +2318,7 @@ def get_conv_template(name: str) -> Conversation:
sep_style=SeparatorStyle.PHI4,
sep="<|im_sep|>",
stop_str="<|im_end|>",
stop_token_ids=[100257, 100265], # <|endoftext|>: 100257, <|im_end|>": 100265,
stop_token_ids=[100257, 100265], # <|endoftext|>: 100257, <|im_end|>": 100265,
)
)

Expand Down
4 changes: 1 addition & 3 deletions fastchat/model/model_registry.py
Original file line number Diff line number Diff line change
Expand Up @@ -255,9 +255,7 @@ def get_model_info(name: str) -> ModelInfo:
)

register_model_info(
[
"phi-4"
],
["phi-4"],
"Phi-4",
"https://techcommunity.microsoft.com/blog/aiplatformblog/introducing-phi-4-microsoft%E2%80%99s-newest-small-language-model-specializing-in-comple/4357090",
"A capable and cost-effective small language model (SLMs) by Microsoft",
Expand Down

0 comments on commit 135ab5d

Please sign in to comment.