From 2a95067d62dc4907db7f6a96798c42597f0eb9c0 Mon Sep 17 00:00:00 2001 From: GitHub Actions Date: Wed, 27 Mar 2024 14:24:06 +0000 Subject: [PATCH] Update documentation --- docs/attacks/loss.html | 4 +- docs/attacks/min_k.html | 8 +- docs/attacks/neighborhood.html | 6 +- docs/attacks/quantile.html | 10 +- docs/attacks/reference.html | 4 +- docs/attacks/zlib.html | 4 +- docs/models.html | 243 +++++++++++++++++---------------- 7 files changed, 147 insertions(+), 132 deletions(-) diff --git a/docs/attacks/loss.html b/docs/attacks/loss.html index 81718cc..f9007d2 100644 --- a/docs/attacks/loss.html +++ b/docs/attacks/loss.html @@ -46,7 +46,7 @@

Module mimir.attacks.loss

""" LOSS-score. Use log-likelihood from model. """ - return self.model.get_ll(document, probs=probs, tokens=tokens) + return self.target_model.get_ll(document, probs=probs, tokens=tokens)
@@ -78,7 +78,7 @@

Classes

""" LOSS-score. Use log-likelihood from model. """ - return self.model.get_ll(document, probs=probs, tokens=tokens) + return self.target_model.get_ll(document, probs=probs, tokens=tokens)

Ancestors