NVIDIA-Merlin / NVIDIA-Merlin/Transformers4Rec
Set the config of XLNet / Transformer-XL based on masking task
Open
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_typeof the Transformer class (XLNet and Transformer-XL) based on the type of masking task - Should be included in _TransformerBlock code
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- 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