Added missing imports in README.md
Browse files
README.md
CHANGED
|
@@ -46,6 +46,9 @@ Inputs require SELFIES tokenization **and** a precomputed distance matrix
|
|
| 46 |
(`relative_position`). Use the helper bundled in the repo:
|
| 47 |
|
| 48 |
```python
|
|
|
|
|
|
|
|
|
|
| 49 |
tokenizer = AutoTokenizer.from_pretrained("IlPakoZ/m5-encoder", trust_remote_code=True)
|
| 50 |
|
| 51 |
smiles = "CCO"
|
|
|
|
| 46 |
(`relative_position`). Use the helper bundled in the repo:
|
| 47 |
|
| 48 |
```python
|
| 49 |
+
import torch
|
| 50 |
+
from transformers import AutoTokenizer
|
| 51 |
+
|
| 52 |
tokenizer = AutoTokenizer.from_pretrained("IlPakoZ/m5-encoder", trust_remote_code=True)
|
| 53 |
|
| 54 |
smiles = "CCO"
|