vebM commited on
Commit
793da00
1 Parent(s): 898df13

Fix for issue #104

Browse files

This should fix the attribute error people would encounter if using configuration_falcon.py

Files changed (1) hide show
  1. configuration_falcon.py +1 -1
configuration_falcon.py CHANGED
@@ -115,7 +115,7 @@ class FalconConfig(PretrainedConfig):
115
  eos_token_id=11,
116
  **kwargs,
117
  ):
118
- logger.warning_once(
119
  "\nWARNING: You are currently loading Falcon using legacy code contained in the model repository. Falcon has now been fully ported into the Hugging Face transformers library. "
120
  "For the most up-to-date and high-performance version of the Falcon model code, please update to the latest version of transformers and then load the model "
121
  "without the trust_remote_code=True argument.\n"
 
115
  eos_token_id=11,
116
  **kwargs,
117
  ):
118
+ logger.warning(
119
  "\nWARNING: You are currently loading Falcon using legacy code contained in the model repository. Falcon has now been fully ported into the Hugging Face transformers library. "
120
  "For the most up-to-date and high-performance version of the Falcon model code, please update to the latest version of transformers and then load the model "
121
  "without the trust_remote_code=True argument.\n"