Transformers4Rec icon indicating copy to clipboard operation
Transformers4Rec copied to clipboard

Transformers4Rec is a flexible and efficient library for sequential and session-based recommendation and works with PyTorch.

Results 127 Transformers4Rec issues
Sort by recently updated
recently updated
newest added

### Description Review existing notebooks and add unit tests, if missing. Preferable, upgrade to use testbook

examples

Hi @rnyak , @benfred @gabrielspmoreira @oliverholworthy , I'm training the t4rec model on custom data, but the loss is not decreasing after few epochs, instead it started increasing. Basically the...

1. The following import ` from transformers4rec.utils.data_utils import save_time_based_splits` raises a ModuleNotFoundError, where utils.data_utils does not exist. This can be solved by using `from transformers4rec.data.preprocessing import save_time_based_splits` 2. The following...

question
P1

## Report incorrect documentation ### Location of incorrect documentation README.md ### Describe the problems or issues found in the documentation Not incorrect, but missing from pip install instructions were the...

status/needs-triage

### Description - The previous nvtabular data loader was always returning variables with the dtype `float32` and `int32`. We followed the same standard format in T4Rec which requires inputs to...

enhancement

### Bug description ``` raw_df['event_time_dt'] = raw_df['event_time'].astype('datetime64[s]') raw_df['event_time_ts']= raw_df['event_time_dt'].astype('int') raw_df.head() ``` > --------------------------------------------------------------------------- > NotImplementedError Traceback (most recent call last) > Cell In[4], line 4 > 1 #import datetime >...

bug
status/needs-triage

# ❓ Questions & Help ## Details I have executed 01 successfully and one issue appeared in this block chunk "5.4. Grouping interactions into sessions": ``` workflow = nvt.Workflow(filtered_sessions) dataset...

status/needs-triage

### Bug description Running inference of transformers4rec model on triton fails with `RuntimeError: PyTorch execute failure: Expected Tensor but got GenericList`. Similar issues in the past were solved by updating...

bug
status/needs-triage

https://github.com/NVIDIA-Merlin/Transformers4Rec/blob/d0cce61b988a1e923545f94ac22499fb57928d18/transformers4rec/torch/features/embedding.py#L164C46-L164C53 Compound tags like Tags.ITEM_ID has been deprecated, and it is not yet updated in the code.

### Goals :soccer: - Fix recall metric error when batch size is 1 ### Implementation Details :construction: https://github.com/NVIDIA-Merlin/Transformers4Rec/blob/23d5e3ba73b3d490400e45bf4feba94ed473432f/transformers4rec/torch/ranking_metric.py#L134 The squeeze() function removes all dimensions when batch size is 1. I've...