MCPcopy Create free account
hub / github.com/XiangLi1999/PrefixTuning / generic_train

Function generic_train

seq2seq/lightning_base.py:721–797  ·  view source on GitHub ↗
(
    model,
    args: argparse.Namespace,
    early_stopping_callback=False,
    logger=True,  # can pass WandbLogger() here
    extra_callbacks=[],
    checkpoint_callback=None,
    logging_callback=None,
    **extra_train_kwargs
)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 1

mainFunction · 0.90

Calls 2

OurModelCheckPointClass · 0.85
LoggingCallbackClass · 0.85

Tested by

no test coverage detected