NVIDIA-Merlin / NVIDIA-Merlin/Transformers4Rec

Define IncrementalTrainer class

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

Nobody has claimed this yet.

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

Description

Extends Trainer class to support methods needed for incremental training :

  • Define incremental_fit_and_evaluate() method which iterates over a pre-defined convention of parquet files.
  • Define incremental logging for predictions, metrics and W&B experiments
  • Compute average over time (AOT) of ranking metrics

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

Start by locating the existing Trainer class and reviewing how training and evaluation are currently organized. Then define the parquet-file convention for incremental_fit_and_evaluate(), the logging requirements for predictions, metrics, and W&B experiments, and the expected average-over-time calculation for ranking metrics. Done means the incremental workflow supports all three listed capabilities.

Written by the indexing model from the issue text.

Assessment

Tech stack
python, pytorch
Domain
data, machine-learning
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.