Downloads · 30 days
21
1% of all-time downloads
strollingorange/roomLuxuryAnnotater
roomLuxuryAnnotater is a machine learning model from strollingorange. 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 mit.
should probably proofread and complete it, then remove this comment. --
Downloads · 30 days
21
1% of all-time downloads
All-time downloads
2.9K
Public
Parameters
151M
626 MB on disk
Likes
6
Public
Click a slice to open those files.
.safetensors605 MB · 96%
From the Hugging Face model README
This model is a fine-tuned version of laion/CLIP-ViT-B-32-laion2B-s34B-b79K on a private dataset provided by Wahi Inc. It is designed to classify room images into categories based on their luxury level and room type.
This model leverages a fine-tuned version of CLIP, specifically optimized for real estate image annotation. It performs zero-shot classification of room images into categories like standard or contemporary kitchens, bathrooms, and other common rooms in real estate properties. The model uses a multi-stage approach where diffusion models generate supplementary training data, and hierarchical CLIP networks perform luxury annotation. This fine-tuning process enables high accuracy in distinguishing luxury levels from real estate images.
The model was developed for the paper "Diffusion-based Data Augmentation and Hierarchical CLIP for Real Estate Image Annotation" submitted to the Pattern Analysis and Applications Special Issue on Multimedia Sensing and Computing.

This model is intended to be used for:
Limitations:
The training data was collected and labeled by Wahi Inc. and includes a diverse set of real estate images from kitchens, bathrooms, dining rooms, living rooms, and foyers. The images were annotated as either standard or contemporary, based on the room's aesthetics, design, and quality.
The following hyperparameters were used during training:
Below is an example of the model's output, where an image of a kitchen is classified with its top 3 predicted room types and confidence scores.
<!-- You would replace this with the actual image of the model's output. -->
You can use this model for zero-shot image classification with the HuggingFace pipeline API. Here is a basic example:
from transformers import pipeline
# Initialize the pipeline
classifier = pipeline("zero-shot-image-classification", model="strollingorange/roomLuxuryAnnotater")
# Define the candidate labels
candidate_labels = [
"a photo of standard bathroom",
"a photo of contemporary bathroom",
"a photo of standard kitchen",
"a photo of contemporary kitchen",
"a photo of standard foyer",
"a photo of standard living room",
"a photo of standard dining room",
"a photo of contemporary foyer",
"a photo of contemporary living room",
"a photo of contemporary dining room"
]
# Load your image (replace 'image_path' with your actual image path)
image = Image.open('path_to_your_image.jpg')
# Run zero-shot classification
result = classifier(image, candidate_labels=candidate_labels)
# Output the result
print(result)
We would like to acknowledge Wahi Inc. https://wahi.com/ca/en/ for continued support in the development of this model. Their collaboration was essential in fine-tuning the model for real estate image annotation.