Open xiucuiZhu opened 4 years ago
Hello. I also try to import familia
, but met other problems. It seems hard for everyone to use correctly. Actually, I implement the python version Familia. If you want to use LDA model, you can use PaddleHub: https://www.paddlepaddle.org.cn/hublist?filter=en_category&value=SemanticModel . However, if you want to use SLDA model, you can visit here: https://github.com/DesmonDay/Familia_PaddleHub
I will try to optimize the SLDA model later, and add it to the official PaddleHub.
thanks you, I want to use SLDA model to calculating similarity of two sentence. I look up the code at https://github.com/DesmonDay/Familia_PaddleHub, and found SLDA model only supply two functions: infer_doc_topic_distribution() and show_topic_keywords(). Will you supply other methods in SLDA model such as cal_doc_distance(), cal_doc_keywords_similarity(), cal_query_doc_similarity() in LDA model.
Ok. I will tell you once done.
Thank you very much!
Hi. I provide the other three functions for SLDA model. But remember to read README.md(where I add some notes.) first.
i want to use the sentenceLDA model. i run the command: $ sh build.sh $ cd model $ sh download_model.sh $ cd .. when building ,it arised some warnings but no error. then i run this command in python(import familia),it arised ModuleNotFoundError.what's wrong?