Skip to content

Commit

Permalink
Update llamafy_qwen_v2.py
Browse files Browse the repository at this point in the history
  • Loading branch information
Minami-su authored Mar 18, 2024
1 parent eff9ed3 commit a63e1d2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion llamafy_qwen_v2.py
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@ def save_config(input_dir: str, output_dir: str, torch_dtype: str):
llama2_config_dict["hidden_size"] = qwen_config_dict["hidden_size"]
llama2_config_dict["initializer_range"] = qwen_config_dict["initializer_range"]
llama2_config_dict["intermediate_size"] = qwen_config_dict["intermediate_size"]
llama2_config_dict["max_position_embeddings"] = qwen_config_dict["max_position_embeddings"]
#llama2_config_dict["max_position_embeddings"] = qwen_config_dict["max_position_embeddings"]
llama2_config_dict["max_position_embeddings"] = 4096
llama2_config_dict["max_window_layers"] = qwen_config_dict["max_window_layers"]
llama2_config_dict["model_type"] = "llama"
Expand Down

0 comments on commit a63e1d2

Please sign in to comment.