license:mit size_categories:n<1K format:csv modality:tabular library:datasets library:pandas library:mlcroissant library:polars region:us infinite-dataset-hub synthetic
---
license: mit
tags:
- infinite-dataset-hub
- synthetic
---

# 311ServiceComplaints

tags: Classification, CityWide, PublicService

_Note: This is an AI-generated dataset so its content may be inaccurate or false_

**Dataset Description:**

The '311ServiceComplaints' dataset is a collection of real-time service requests from a major city's 311 system. It encompasses various types of complaints submitted by residents related to city services. Each record in the dataset is labeled with categories that classify the nature of the complaint. The labels are carefully chosen to ensure they are descriptive and avoid any duplication with related keywords.


**CSV Content Preview:**

```csv

record_id,complaint_text,label

001,"The street light outside my home has been out for two days.","Outage"

002,"The garbage bins on my block haven't been emptied since last Thursday.","Sanitation"

003,"There's a large pothole on Main Street that has caused a flat tire.","Pothole"

004,"A tree branch is hanging dangerously over the bike lane on Park Avenue.","Tree Hazard"

005,"The benches in the park are broken and uncomfortable to sit on.","Public Facility"

```

**Source of the data:**

The dataset was generated using the [Infinite Dataset Hub](https://huggingface.co/spaces/infinite-dataset-hub/infinite-dataset-hub) and microsoft/Phi-3-mini-4k-instruct using the query '311':

- **Dataset Generation Page**: https://huggingface.co/spaces/infinite-dataset-hub/infinite-dataset-hub?q=311&dataset=311ServiceComplaints&tags=Classification,+CityWide,+PublicService
- **Model**: https://huggingface.co/microsoft/Phi-3-mini-4k-instruct
- **More Datasets**: https://huggingface.co/datasets?other=infinite-dataset-hub
