MCPcopy Index your code
hub / github.com/LiteSSLHub/DisCo / evaluate

Function evaluate

src/evaluate.py:152–169  ·  view source on GitHub ↗
(model, dataloader, specific_student, extract_nsents, device, num_labels=2, task_name=None, pyrouge=True,
             trigram_block=True, ensemble_prediction=True)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 2

consist_trainFunction · 0.90
trainFunction · 0.90

Calls 2

sumevalFunction · 0.85
udaevalFunction · 0.85

Tested by

no test coverage detected