-
Hi all, I'm trying to access the class of items in ml-100k dataset, however it strikes me that for 2 items belong to a same class (for instance item 32 and item 48 are both Documentary), they have different class tokens ([7,6,0,0,0,0] and [4,3,7,0,0,0]). Shouldn't two items from same class share same class token? Or did I miscomprehend some where. |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
@Li-Muyang Hello, thanks for your attention to RecBole!
Their class tokens are [14,0,0,0,0,0]. |
Beta Was this translation helpful? Give feedback.
@Li-Muyang Hello, thanks for your attention to RecBole!
In this case, you may use
external_id
to retrieve items.In RecBole, we willremap
theitem_id
,and use theinternal_id
to index the items.You can refer to issue979 for the concepts of
external_id
andinternal_id
.In particular, you can get the information of these two items through the following code:Their class tokens are [14,0,0,0,0,0].