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

Method setup_task

fairseq/tasks/translation.py:134–166  ·  view source on GitHub ↗

Setup the task (e.g., load dictionaries). Args: args (argparse.Namespace): parsed command-line arguments

(cls, args, **kwargs)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers

nothing calls this directly

Calls 5

printFunction · 0.85
padMethod · 0.80
eosMethod · 0.80
unkMethod · 0.80
load_dictionaryMethod · 0.45

Tested by

no test coverage detected