NVIDIA-Merlin / Transformers4Rec

Transformers4Rec is a flexible and efficient library for sequential and session-based recommendation and works with PyTorch.
https://nvidia-merlin.github.io/Transformers4Rec/main
Apache License 2.0
1.07k stars 142 forks source link

[QST] error related to schema #728

Closed NamartaVij closed 11 months ago

NamartaVij commented 1 year ago

I am using movielens datasets , where movie id, user id and genre are my input features. I put them in sequence and then created schema, not did any item regency and all. Schema created but getting error while training model using Xlnet

I am getting the following error

torch.Size() takes an iterable of 'int' (item 1 is 'NoneType')

Please help me to resolve it I am using transformer4rec in my thesis work and deadline is near,

rnyak commented 1 year ago

@NamartaVij we need to know what's your NVTabular pipeline looks like , please share your script, so that we can check out if you are generating sequential data properly and tagging the columns properly.

rnyak commented 11 months ago

@NamartaVij I am closing this ticket since there is no recent activity.