MCPcopy Create free account
hub / github.com/FLC777/GLAT / train_path

Function train_path

fairseq_cli/preprocess.py:46–47  ·  view source on GitHub ↗
(lang)

Source from the content-addressed store, hash-verified

44 task = tasks.get_task(args.task)
45
46 def train_path(lang):
47 return "{}{}".format(args.trainpref, ("." + lang) if lang else "")
48
49 def file_name(prefix, lang):
50 fname = prefix

Callers 1

mainFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected