(self, i)
| 106 | return len(self.input_ids) |
| 107 | |
| 108 | def __getitem__(self, i) -> Dict[str, torch.Tensor]: |
| 109 | return dict(input_ids=self.input_ids[i], labels=self.labels[i], id=i) |
| 110 | |
| 111 | def padding(inputs, padding_token, cutoff = None): |
| 112 | num_elems = len(inputs) |
nothing calls this directly
no outgoing calls
no test coverage detected