NVIDIA-Merlin / NVIDIA-Merlin/Transformers4Rec

[BUG] Model overfitting when using MaskedLanguage task.

Open
#333 0 comments 0 reactions 1 assignee View on GitHub

@sararb is already working on this.

Since Nov 18, 2021.

area/tensorflow bug P1
Dominant language
Python
Stars
1.3k
Forks
165
Avg merge
1m
Merged PRs (30d)
2

Description

Bug description

There Is an information leakage when training TF XLNet model using mlm task. The returned ranking metrics are close to 1.
image

Steps/Code to reproduce bug
  1. Run the notebook 03-session-based-XLNet-with-TF.ipynb with mlm task instead of clm
Environment details
  • Transformers4Rec version: the latest version of the main branch
  • Python version: 3.8.10
  • Huggingface Transformers version: 4.12.3
  • PyTorch version (GPU?): None
  • Tensorflow version (GPU?): 2.6.0

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.