Downloads · 30 days
3
3% of all-time downloads
insightful-stays/airbnb-aspect-based-improvement-extractor
airbnb-aspect-based-improvement-extractor is a machine learning model from insightful-stays. Use it for the machine learning task on the model card, and read the license before you ship it in a product. The card lists the license as apache-2.0.
This model extracts actionable improvement suggestions from Airbnb guest reviews, per predefined aspect (e.g. Cleanliness, Noise, Communication).
Downloads · 30 days
3
3% of all-time downloads
All-time downloads
103
Public
Repo size
2 GB
Likes
0
Public
Click a slice to open those files.
.bin990 MB · 100%
From the Hugging Face model README
This model extracts actionable improvement suggestions from Airbnb guest reviews, per predefined aspect (e.g. Cleanliness, Noise, Communication).
It is designed to help hosts, property managers, and analytics tools quickly understand what needs to be improved, without generating hallucinated positives.
Given:
Cleanliness, Noise / Quietness)The model returns:
The model is conservative by design:
if no clear problem is mentioned, it returns nothing.
The model operates on the following canonical Airbnb-style aspects:
Each aspect is evaluated independently.
from train.train_canonical_classifier_improve import ImprovementGenerator
CANONICAL_ISSUES = [
"Cleanliness",
"Communication",
"Location",
"Value / Price",
"Accuracy / Description Match",
"Check-in / Convenience",
"Amenities / Comfort",
"Safety / Security",
"Noise / Quietness",
"Wifi",
"Host Behavior / Professionalism / Respect",
]
model = ImprovementGenerator()
model.load("insightful-stays/airbnb-review-improvement-extractor")
review = """
Not a bad place, but there were no curtains in the shower, the bathroom was often wet,
and communication was difficult because the hosts did not speak English.
"""
for aspect in CANONICAL_ISSUES:
result = model.generate(review=review, aspect=aspect)
print(aspect, result)