CoolFace
Datasetpublic

interneuronai/real_estate_listing_analysis_bart_dataset

Real Estate Listing Analysis Description: Perform various tasks to analyze real estate listings, including categorizing them by type, determining if they are for new buildings or business centers, identifying amenities, classifying listings based on location, and analyzing pricing trends. How to Use Here is how to use this model to classify text into different categories: from transformers import AutoModelForSequenceClassification, AutoTokenizer… See the full description on the dataset page: https://huggingface.co/datasets/interneuronai/real_estate_listing_analysis_bart_dataset.

sourceHugging Faceupdated 2y agoView on Hugging Face
1likes13downloads
Dataset Card

Real Estate Listing Analysis

Description: Perform various tasks to analyze real estate listings, including categorizing them by type, determining if they are for new buildings or business centers, identifying amenities, classifying listings based on location, and analyzing pricing trends.

How to Use

Here is how to use this model to classify text into different categories:

from transformers import AutoModelForSequenceClassification, AutoTokenizer

modelname = "interneuronai/realestatelistinganalysisbart" model = AutoModelForSequenceClassification.frompretrained(modelname) tokenizer = AutoTokenizer.frompretrained(model_name)

def classifytext(text): inputs = tokenizer(text, returntensors="pt", padding=True, truncation=True, max_length=512) outputs = model(**inputs) predictions = outputs.logits.argmax(-1) return predictions.item()

text = "Your text here" print("Category:", classify_text(text))