MCPcopy Create free account
hub / github.com/HA-Transformer/MAT / load_indexed_dataset

Function load_indexed_dataset

fairseq/data/data_utils.py:46–88  ·  view source on GitHub ↗

A helper function for loading indexed datasets. Args: path (str): path to indexed dataset (e.g., 'data-bin/train') dictionary (~fairseq.data.Dictionary): data dictionary dataset_impl (str, optional): which dataset implementation to use. If not provided, it wi

(path, dictionary, dataset_impl=None, combine=False, default='cached')

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers

nothing calls this directly

Calls 3

ConcatDatasetClass · 0.90
printFunction · 0.85
make_datasetMethod · 0.45

Tested by

no test coverage detected