aablaess commited on
Commit
22a0604
·
verified ·
1 Parent(s): db12d0c

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +33 -0
README.md CHANGED
@@ -1,3 +1,36 @@
1
  ---
2
  license: mit
 
 
 
 
 
 
 
 
3
  ---
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
  ---
2
  license: mit
3
+ language:
4
+ - en
5
+ library_name: bertopic
6
+ tags:
7
+ - topic-modeling
8
+ - nlp
9
+ - amazon-reviews
10
+ - clustering
11
  ---
12
+
13
+ # Amazon Fine Food Reviews - BERTopic Model
14
+
15
+ ## Model Description
16
+ This is a **Topic Modeling** model built using the [BERTopic](https://maartengr.github.io/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.
17
+
18
+ This model is part of an academic Web Mining project developed at EMSI Marrakech.
19
+
20
+ ### Intended Uses & Limitations
21
+ - **Intended Use:** Automatically extracting topics from English food product reviews (e.g., Taste & Flavor, Packaging, Delivery, Specific foods like Coffee or Tea).
22
+ - **Language:** English
23
+ - **Limitation:** The model is optimized for food-related e-commerce reviews and may not perform well on general text or other domains.
24
+
25
+ ### How to use
26
+ You can load this model directly in Python using the BERTopic library:
27
+
28
+ ```python
29
+ from bertopic import BERTopic
30
+
31
+ # Load the model from Hugging Face
32
+ topic_model = BERTopic.load("aablaess/amazon-bertopic")
33
+
34
+ # Predict topics for new reviews
35
+ docs = ["The coffee tastes great but the packaging was damaged.", "My dog absolutely loves this food!"]
36
+ topics, probs = topic_model.transform(docs)