(self, doc, ctx)
| 313 | } |
| 314 | |
| 315 | def construct_requests(self, doc, ctx): |
| 316 | if doc["is_yes_no"]: |
| 317 | ll_yes, _ = rf.loglikelihood(ctx, " yes") |
| 318 | ll_no, _ = rf.loglikelihood(ctx, " no") |
| 319 | return [ll_yes, ll_no] |
| 320 | else: |
| 321 | return [rf.greedy_until(ctx, {'until': ["\n"]})] |
| 322 | |
| 323 | |
| 324 | class QuALITY(_SCROLLSMultipleChoiceTask): |
nothing calls this directly
no test coverage detected