Update README.md
Browse files
README.md
CHANGED
@@ -17,7 +17,7 @@ molxpt_tokenizer = AutoTokenizer.from_pretrained("zequnl/molxpt", trust_remote_c
|
|
17 |
model = model.cuda()
|
18 |
model.eval()
|
19 |
|
20 |
-
input_ids = molxpt_tokenizer('
|
21 |
output = model.generate(
|
22 |
input_ids,
|
23 |
max_new_tokens=300,
|
|
|
17 |
model = model.cuda()
|
18 |
model.eval()
|
19 |
|
20 |
+
input_ids = molxpt_tokenizer('<start-of-mol>CC(=O)OC1=CC=CC=C1C(=O)O<end-of-mol> is ', return_tensors="pt").input_ids.cuda()
|
21 |
output = model.generate(
|
22 |
input_ids,
|
23 |
max_new_tokens=300,
|