Skip to content

Commit

Permalink
Merge pull request #520 from mlcommons/juhan/criteo_size_fix
Browse files Browse the repository at this point in the history
Update number of data points for Criteo
  • Loading branch information
priyakasimbeg authored Sep 25, 2023
2 parents 92b2d1d + 86ad0af commit ae3587d
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -233,7 +233,7 @@ def _eval_batch(self,
summed_loss = self.loss_fn(
label_batch=batch['targets'], logits_batch=logits,
mask_batch=weights)['summed']
return summed_loss
return summed_loss.to(dtype=torch.float64)


class Criteo1TbDlrmSmallTestWorkload(Criteo1TbDlrmSmallWorkload):
Expand Down
4 changes: 2 additions & 2 deletions algorithmic_efficiency/workloads/criteo1tb/workload.py
Original file line number Diff line number Diff line change
Expand Up @@ -63,11 +63,11 @@ def num_eval_train_examples(self) -> int:

@property
def num_validation_examples(self) -> int:
return 89_000_000
return 83_274_637

@property
def num_test_examples(self) -> int:
return 89_274_637
return 95_000_000

@property
def train_mean(self):
Expand Down

0 comments on commit ae3587d

Please sign in to comment.