Fix for issue #104
#105
by vebM - opened
- 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.
|
| 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"
|