MCPcopy Create free account
hub / github.com/SymbioticLab/Oort / test_model

Function test_model

training/utils/utils_model.py:115–258  ·  view source on GitHub ↗
(rank, model, test_data, criterion=nn.NLLLoss(), tokenizer=None)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 1

runFunction · 0.85

Calls 8

decodeMethod · 0.95
convert_to_stringsMethod · 0.95
GreedyDecoderClass · 0.90
mask_tokensFunction · 0.90
accuracyFunction · 0.85
cal_accuracyFunction · 0.85
werMethod · 0.80
cerMethod · 0.80

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…