MCPcopy Create free account
hub / github.com/AIS-SNU/Smart-Infinity / __getitem__

Method __getitem__

DeepSpeedExample/tasks/race/data.py:45–46  ·  view source on GitHub ↗
(self, idx)

Source from the content-addressed store, hash-verified

43 return len(self.samples)
44
45 def __getitem__(self, idx):
46 return self.samples[idx]
47
48
49def process_single_datapath(datapath, tokenizer, max_qa_length, max_seq_length):

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected