Update modeling_chexagent.py
Browse files- modeling_chexagent.py +2 -0
modeling_chexagent.py
CHANGED
@@ -48,6 +48,8 @@ try:
|
|
48 |
except:
|
49 |
pass
|
50 |
|
|
|
|
|
51 |
logger = logging.get_logger(__name__)
|
52 |
|
53 |
_CHECKPOINT_FOR_DOC = "microsoft/phi-2"
|
|
|
48 |
except:
|
49 |
pass
|
50 |
|
51 |
+
assert transformers.__version__ != "4.40.0", "Please install a specific HF transformers version: pip install transformers==4.40.0"
|
52 |
+
|
53 |
logger = logging.get_logger(__name__)
|
54 |
|
55 |
_CHECKPOINT_FOR_DOC = "microsoft/phi-2"
|