Skip to content

Commit

Permalink
Revert "Mistral 7b conversion script (NVIDIA#8052)"
Browse files Browse the repository at this point in the history
This reverts commit 9944304.
  • Loading branch information
Layali R committed Feb 29, 2024
1 parent 43ae7f3 commit 101c6f2
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 561 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -1653,7 +1653,7 @@ def build_transformer_config(self) -> TransformerConfig:
For attributes in TransformerConfig that are not in the nemo model config, we add custom logic.
"""

normalization = self.cfg.get('normalization', 'layernorm').lower()
normalization = self.cfg.get('normalization', 'layernorm')
layernorm_zero_centered_gamma = self.cfg.get('normalization', 'layernorm') == 'layernorm1p'
if normalization == 'layernorm':
normalization = 'LayerNorm'
Expand Down
335 changes: 0 additions & 335 deletions scripts/nlp_language_modeling/convert_hf_mistral_7b_to_nemo.py

This file was deleted.

Loading

0 comments on commit 101c6f2

Please sign in to comment.