I’ve used Bertopic and Top2Vec in Python but am wondering if there’s something similar in R that can use pre-trained models to generate topics? If not do you think investing time into building something like this would be useful to the community?
This post is an automated archive from a submission made on /r/MachineLearning, powered by Fediverser software running on alien.top. Responses to this submission will not be seen by the original author until they claim ownership of their alien.top account. Please consider reaching out to them let them know about this post and help them migrate to Lemmy.
Lemmy users: you are still very much encouraged to participate in the discussion. There are still many other subscribers on !machinelearning@academy.garden that can benefit from your contribution and join in the conversation.
Reddit users: you can also join the fediverse right away by getting by visiting https://portal.alien.top. If you are looking for a Reddit alternative made for and by an independent community, check out Fediverser.
There are much less alternatives, you could use keras in R but is actually a hassle. There are few alternatives for topic modelling in R:
- the classical Latent Dirichlet allocation (LDA), you can use with a specific R library called: topicmodels, here you can find more information: https://www.tidytextmining.com/topicmodeling
- You have also a package to better visualize topics, https://github.com/cpsievert/LDAvis
- you can create something similar with BERT in R, I suggest to do something more simple: https://blogs.rstudio.com/ai/posts/2019-09-30-bert-r/
- if you really want you can use python scripts in a r script