gensim
BERTopic
Our great sponsors
gensim | BERTopic | |
---|---|---|
18 | 22 | |
15,212 | 5,519 | |
1.2% | - | |
7.5 | 8.2 | |
12 days ago | 9 days ago | |
Python | Python | |
GNU Lesser General Public License v3.0 only | MIT License |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
gensim
- Aggregating news from different sources
-
Understanding How Dynamic node2vec Works on Streaming Data
This is our optimization problem. Now, we hope that you have an idea of what our goal is. Luckily for us, this is already implemented in a Python module called gensim. Yes, these guys are brilliant in natural language processing and we will make use of it. 🤝
-
Topic modeling --- allow multiple topics per statement
Try LDA as implemented in gemsin https://github.com/RaRe-Technologies/gensim
-
Is it home bias or is data wrangling for machine learning in python much less intuitive and much more burdensome than in R?
Standout python NLP libraries include Spacy and Gensim, as well as pre-trained model availability in Hugginface. These libraries have widespread use in and support from industry and it shows. Spacy has best-in-class methods for pre-processing text for further applications. Gensim helps you manage your corpus of documents, and contains a lot of different tools for solving a common industry task, topic modeling.
- sentence transformer vector dimensionality reduction to 1
- Where to start for recommendation systems
-
GET STARTED WITH TOPIC MODELLING USING GENSIM IN NLP
Here we have to install the gensim library in a jupyter notebook to be able to use it in our project, consider the code below;
-
Show HN: I built a site that summarizes articles and PDFs using NLP
Nice work! I wonder if you're going the same challenges that gensim had for being generic in summarization.
For context:
> Despite its general-sounding name, the module will not satisfy the majority of use cases in production and is likely to waste people's time.
https://github.com/RaRe-Technologies/gensim/wiki/Migrating-f...
-
[Research] Text summarization using Python, that can run on Android devices?
TextRank will work without any problems. https://radimrehurek.com/gensim/
-
Topic modelling with Gensim and SpaCy on startup news
For the topic modelling itself, I am going to use Gensim library by Radim Rehurek, which is very developer friendly and easy to use.
BERTopic
-
how can a top2vec output be improved
Try experimenting with different hyperparameters, clustering algorithms and embedding representations. Try https://github.com/MaartenGr/BERTopic/tree/master/bertopic
-
SBERT Embeddings from Conversations
Try out this notebook which comes with the BERTopic repository.
-
Sentence transformers (BERTopic) on a Macbook Air
After some googling, I found this (but for M1 chip Mac) --I wonder if I'm stuck. Is this laptop just not up for the job of working with sentence transformers? Appreciate your advice
-
Comparing BERTopic to human raters
Most has already been said and I am not sure how relevant this is but since you are focusing on human raters it might be worthwhile to mention that there is a Pull Request in BERTopic that allows you to use models on top of the default pipeline that further fine-tunes the topic representation. In theory, this would allow you to even use ChatGPT or any of the other OpenAI models to label the topics. From a human annotator perspective, this might be interesting to pursue.
-
text clustering with XLNET, ROBERTA, ELMO and other pretrained models
The BERTopic library allows you to plug and play any type of embedding.
- How can I group domain specific keywords based on their word embeddings?
-
Introducing the Semantic Graph
A number of excellent topic modeling libraries exist in Python today. BERTopic and Top2Vec are two of the most popular. Both use sentence-transformers to encode data into vectors, UMAP for dimensionality reduction and HDBSCAN to cluster nodes.
-
Classifying unstructured text: sentences, phrases, lists of words
BERTopic is a library to consider if you want something that groups data by topic.
-
[D] How to best extract product benefits/problems from customer reviews using NLP?
I have experimented a bit with BERTopic but didn't find the results very useful. The issue is, that it is very important what exactly people are liking or disliking about the products, not just the fact that they are talking about specific aspects.
- Classify texts using known categories, NLP
What are some alternatives?
scikit-learn - scikit-learn: machine learning in Python
Top2Vec - Top2Vec learns jointly embedded topic, document and word vectors.
MLflow - Open source platform for the machine learning lifecycle
OCTIS - OCTIS: Comparing Topic Models is Simple! A python package to optimize and evaluate topic models (accepted at EACL2021 demo track)
tensorflow - An Open Source Machine Learning Framework for Everyone
GuidedLDA - semi supervised guided topic model with custom guidedLDA
Keras - Deep Learning for humans
contextualized-topic-models - A python package to run contextualized topic modeling. CTMs combine contextualized embeddings (e.g., BERT) with topic models to get coherent topics. Published at EACL and ACL 2021.
flair - A very simple framework for state-of-the-art Natural Language Processing (NLP)
PyABSA - Sentiment Analysis, Text Classification, Text Augmentation, Text Adversarial defense, etc.;
fuzzywuzzy - Fuzzy String Matching in Python
scattertext - Beautiful visualizations of how language differs among document types.