i_shared_info, hidden in model.py line 116, are you calculate the same tensor? it seems hidden is equal to i_shared_info, even if i debug and step in cal_cos_similarity, the two paramters of cal_cos_similarity function is the same
Yes, as you can see in Section 4.3 of our paper, we use stock embedding to initialize the hidden concept embedding.
To better understand the code, I suggest you read our paper first.
i_shared_info, hidden in model.py line 116, are you calculate the same tensor? it seems hidden is equal to i_shared_info, even if i debug and step in cal_cos_similarity, the two paramters of cal_cos_similarity function is the same
Hidden Concept Module