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

Method add

eval_lm.py:29–39  ·  view source on GitHub ↗

increments counters for the sum of log probs of current word and next word (given context ending at current word). Since the next word might be at the end of the example, or it might be not counted because it is not an ending subword unit, also keeps track of how

(self, log_prob, next_word_prob)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 5

mainFunction · 0.45
mainFunction · 0.45
keysFunction · 0.45
multi_refFunction · 0.45
extended_noun_chunksFunction · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected