(self, i)
| 134 | return len(self.input_ids) |
| 135 | |
| 136 | def __getitem__(self, i) -> Dict[str, torch.Tensor]: |
| 137 | return dict(input_ids=self.input_ids[i], labels=self.labels[i], id=i) |
| 138 | |
| 139 | def padding(inputs, padding_token, cutoff = None): |
| 140 | num_elems = len(inputs) |
nothing calls this directly
no outgoing calls
no test coverage detected