From 4ea14f63d6ce1c2288f2a333cd7b74afd1d57f94 Mon Sep 17 00:00:00 2001 From: Hunar Batra <35395835+hunarbatra@users.noreply.github.com> Date: Mon, 25 Apr 2022 05:14:14 +0530 Subject: [PATCH] replaced compute_ with compute_loglikelihood --- docs/source/tutorial/loglikelihood.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/source/tutorial/loglikelihood.md b/docs/source/tutorial/loglikelihood.md index 8be34be..72715a8 100755 --- a/docs/source/tutorial/loglikelihood.md +++ b/docs/source/tutorial/loglikelihood.md @@ -57,7 +57,7 @@ from biotransformers import BioTransformers bio_trans = BioTransformers(backend="protbert",num_gpus=1) sequence = ["MKT"] -probabilities = bio_trans.compute_(sequence, batch_size=1) +probabilities = bio_trans.compute_loglikelihood(sequence, batch_size=1) print(probabilities) ```