NVIDIA-Merlin / NVIDIA-Merlin/Transformers4Rec

Infer the default value of the summary-type from the Transformer config

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

@sararb is already working on this.

Since Aug 19, 2021.

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

Description

In HF, each Transformer architecture comes with its own default value that is set in the PreTrainedConfig object. For example, XLNET has a default value of last while in BERT the default is first. The PredictionTask can set this value in the build method by retrieving the used Transformer model from the body.

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.