Skip to content

Commit

Permalink
Remove duplicated hf_config (#1054)
Browse files Browse the repository at this point in the history
  • Loading branch information
xu-song authored Oct 1, 2023
1 parent 93cac79 commit 7a8569f
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions tools/convert_sequential_to_hf.py
Original file line number Diff line number Diff line change
Expand Up @@ -151,8 +151,6 @@ def convert(input_checkpoint_path, loaded_config, output_checkpoint_path):
but only supports features allowed by HF GPT-NeoX implementation (e.g. rotary embeddings)
"""

hf_config = GPTNeoXConfig()

hf_config = create_config(loaded_config)

hf_model = GPTNeoXForCausalLM(
Expand Down

0 comments on commit 7a8569f

Please sign in to comment.