MCPcopy Create free account
hub / github.com/FusionBrainLab/SONAR-LLM / __getitem__

Method __getitem__

sonar_encoding.py:44–45  ·  view source on GitHub ↗
(self, idx)

Source from the content-addressed store, hash-verified

42 return len(self.texts)
43
44 def __getitem__(self, idx):
45 return self.texts[idx]
46
47
48def collate_and_encode(batch_texts, sonar_model):

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected