NVIDIA-Merlin / NVIDIA-Merlin/Transformers4Rec

Set the config of XLNet / Transformer-XL based on masking task

Open
#100 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

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

Description

  • Set the attn_type of the Transformer class (XLNet and Transformer-XL) based on the type of masking task
  • Should be included in _TransformerBlock code

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.

Research direction

Locate the Transformer class and the _TransformerBlock code, then trace how the masking task is represented and how attn_type is currently selected for XLNet and Transformer-XL. Confirm the expected mapping between masking-task type and attention type before making the configuration conditional. Done means both model variants select the appropriate attn_type for each masking task.

Written by the indexing model from the issue text.

Assessment

Tech stack
python, pytorch
Domain
machine-learning
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.