Amazon Fine Food Reviews - BERTopic Model

Model Description

This is a Topic Modeling model built using the BERTopic library. It was trained on the Amazon Fine Food Reviews dataset to automatically extract and cluster the main topics and aspects discussed by customers in their reviews.

This model is part of an academic Web Mining project developed at EMSI Marrakech.

Intended Uses & Limitations

  • Intended Use: Automatically extracting topics from English food product reviews (e.g., Taste & Flavor, Packaging, Delivery, Specific foods like Coffee or Tea).
  • Language: English
  • Limitation: The model is optimized for food-related e-commerce reviews and may not perform well on general text or other domains.

How to use

You can load this model directly in Python using the BERTopic library:

from bertopic import BERTopic

# Load the model from Hugging Face
topic_model = BERTopic.load("aablaess/amazon-bertopic")

# Predict topics for new reviews
docs = ["The coffee tastes great but the packaging was damaged.", "My dog absolutely loves this food!"]
topics, probs = topic_model.transform(docs)
Downloads last month
40
Inference Providers NEW
This model isn't deployed by any Inference Provider. ๐Ÿ™‹ Ask for provider support

Space using aablaess/amazon-bertopic 1