Skip to content

NextRec v0.4.34

Choose a tag to compare

@zerolovesea zerolovesea released this 22 Jan 10:19
· 99 commits to main since this release
a50fb71

NextRec v0.4.34 — Release Notes

New Features & Improvements

Features

  • Added Top-K metrics: topk_precision, topk_recall, and topk_lift.
  • Added tree-based model support via nextrec.models.tree_base, including CatBoost / LightGBM / XGBoost integrations, plus a new tree example tutorial.
  • Enhanced CLI: support passing swanlab / wandb kwargs through training, and updated CLI preset templates/configs accordingly.
  • Logging update: changed default log file extension from .log to .txt.
  • Improved internal consistency across core utilities (summary / torch utils / grad_norm / typing), aligning runtime behavior and usability.

Breaking Feature

  • Model set changes (potentially breaking): legacy representation and sequential model implementations were removed/disabled (e.g., autorec, bpr, lightgcn, mf, s3rec, cl4srec, sasrec). Current codebase keeps a smaller set (e.g., representation rqvae, sequential hstu).
  • Utilities refactor (potentially breaking): removed nextrec/utils/feature.py; projects importing it should migrate to the current utils layout.

Models

  • Introduced a new tree-based model family: shared base + CatBoost/LightGBM/XGBoost adapters.
  • Minor alignment changes to multi-task models (e.g., PLE / Share-Bottom / PEPNet) to stay compatible with the updated core/data flow.

Fixes

  • Fixed a streaming mode issue in model summary generation.
  • Fixed multiple CLI errors, including CD/CI-related path/runtime issues.

Tests

  • Refreshed the test runner and tutorial runners to validate updated training/data flow and the new tree-based workflow.
    Documents

Docs

  • Updated README and README_en to reflect v0.4.34, refreshed RTD config, and updated CLI docs/presets.