(self, doc)
| 185 | ) |
| 186 | |
| 187 | def doc_to_target(self, doc): |
| 188 | # True = entailment |
| 189 | # False = contradiction |
| 190 | # Neither = neutral |
| 191 | return " {}".format({0: "True", 1: "Neither", 2: "False"}[doc["label"]]) |
| 192 | |
| 193 | def construct_requests(self, doc, ctx): |
| 194 | ll_true, _ = rf.loglikelihood(ctx, " True") |
nothing calls this directly
no outgoing calls
no test coverage detected