eacortes commited on
Commit
2a8d0a7
·
verified ·
1 Parent(s): 297a8a9

Update README to include transformers version requirement

Browse files
Files changed (1) hide show
  1. README.md +6 -0
README.md CHANGED
@@ -122,6 +122,12 @@ model-index:
122
  ModChemBERT is a ModernBERT-based chemical language model (CLM), trained on SMILES strings for masked language modeling (MLM) and downstream molecular property prediction (classification & regression).
123
 
124
  ## Usage
 
 
 
 
 
 
125
  ### Load Model
126
  ```python
127
  from transformers import AutoModelForMaskedLM, AutoTokenizer
 
122
  ModChemBERT is a ModernBERT-based chemical language model (CLM), trained on SMILES strings for masked language modeling (MLM) and downstream molecular property prediction (classification & regression).
123
 
124
  ## Usage
125
+ Install the `transformers` library starting from v4.56.1:
126
+
127
+ ```bash
128
+ pip install -U transformers>=4.56.1
129
+ ```
130
+
131
  ### Load Model
132
  ```python
133
  from transformers import AutoModelForMaskedLM, AutoTokenizer