(
self, doc, num_fewshot, provide_description=None, rnd=None, description=None
)
| 55 | raise NotImplementedError("This dataset has no test docs") |
| 56 | |
| 57 | def fewshot_context( |
| 58 | self, doc, num_fewshot, provide_description=None, rnd=None, description=None |
| 59 | ): |
| 60 | assert num_fewshot == 0, "ASDiv is intended only for the zero-shot setting." |
| 61 | return super().fewshot_context( |
| 62 | doc=doc, num_fewshot=num_fewshot, rnd=rnd, description=description |
| 63 | ) |
| 64 | |
| 65 | def doc_to_text(self, doc): |
| 66 | # TODO: add solution-type |
nothing calls this directly
no outgoing calls
no test coverage detected