(self)
| 181 | self.attention_mask = data_dict["attention_mask"] |
| 182 | |
| 183 | def __len__(self): |
| 184 | return len(self.input_ids) |
| 185 | |
| 186 | def __getitem__(self, i) -> Dict[str, torch.Tensor]: |
| 187 | return dict( |
nothing calls this directly
no outgoing calls
no test coverage detected