You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
c=1# TODO: add correct preconditioning (e.g., sample/s in previous time step)
77
78
78
-
#TODO: remove after single sample experiments
79
+
#TODO: remove after single sample experiments
79
80
ifself.cur_tokenisnotNone:
80
81
logger.info("checking single sampling")
81
-
assertself.cur_token[0].shape==tokens[0].shape, 'first token shape was different between iterations – violates single sample overfitting with difference'
82
-
asserttorch.equal(self.cur_token[0], tokens[0]), f'first token was different between iterations – violates single sample overfitting {self.cur_token[0] -tokens[0]}'
83
-
asserttorch.equal(self.cur_token, tokens), 'tokens were different between iterations – violates single sample overfitting'
82
+
assertself.cur_token[0].shape==tokens[0].shape, (
83
+
"first token shape was different between iterations "
84
+
"– violates single sample overfitting with difference"
0 commit comments