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

Method load_dictionary

fairseq/tasks/fairseq_task.py:92–98  ·  view source on GitHub ↗

Load the dictionary from the filename Args: filename (str): the filename

(cls, filename)

Source from the content-addressed store, hash-verified

90
91 @classmethod
92 def load_dictionary(cls, filename):
93 """Load the dictionary from the filename
94
95 Args:
96 filename (str): the filename
97 """
98 return Dictionary.load(filename)
99
100 @classmethod
101 def build_dictionary(

Callers 3

mainFunction · 0.45
prepareMethod · 0.45
setup_taskMethod · 0.45

Calls 1

loadMethod · 0.45

Tested by

no test coverage detected