topic modelling: lda2vec issue
DiyanaNadzirah opened this issue · comments
hi, i encounter an issue while using the lda2vec . I executed this function "lda2vec = malaya.topic_model.lda2vec(corp, vectorizer, n_topics = 20, switch_loss =1000, epoch = 5)" and the error says 'int' object has no attribute 'value'.
Version
Tensorflow: 2.9.1
Malaya: 4.9.0
Fixed in 5.0, https://malaya.readthedocs.io/en/5.0/load-topic-model-lda2vec.html, need to install malaya from 5.0 branch,
pip3 install git+https://github.com/huseinzol05/malaya@5.0