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

Method load

fairseq/data/dictionary.py:175–186  ·  view source on GitHub ↗

Loads the dictionary from a text file with the format: ``` ... ```

(cls, f, ignore_utf_errors=False)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 15

load_checkpoint_to_cpuFunction · 0.80
filename_to_urlFunction · 0.80
get_encoderFunction · 0.80
load_dictionaryMethod · 0.80
prepareMethod · 0.80
load_dictionaryMethod · 0.80
setup_taskMethod · 0.80
load_dictionaryMethod · 0.80
load_dictionaryMethod · 0.80
setup_taskMethod · 0.80
setup_taskMethod · 0.80
load_dictionaryMethod · 0.80

Calls 1

add_from_fileMethod · 0.80

Tested by 1

test_finalizeMethod · 0.64