MCPcopy Create free account
hub / github.com/JaydenLyh/Reward-Forcing / __init__

Method __init__

model/base.py:98–100  ·  view source on GitHub ↗
(self, args, device)

Source from the content-addressed store, hash-verified

96
97class SelfForcingModel(BaseModel):
98 def __init__(self, args, device):
99 super().__init__(args, device)
100 self.denoising_loss_func = get_denoising_loss(args.denoising_loss_type)()
101
102 def _run_generator(
103 self,

Callers

nothing calls this directly

Calls 2

get_denoising_lossFunction · 0.90
__init__Method · 0.45

Tested by

no test coverage detected