Downloads · 30 days
4
11% of all-time downloads
zacCMU/2025-24679-text-distilbert-predictor
2025-24679-text-distilbert-predictor is a text classification model from zacCMU. Use it when you need a label for a piece of text. The card lists the license as mit.
- Model Type: A distilbert-base-uncased model fine-tuned for binary text classification. - Model Date: September 19, 2025 - Developed by: [Your Name/Team Name] - Hugging Face Hub ID: zacCMU/2025-24679-text-distilbert-…
Downloads · 30 days
4
11% of all-time downloads
All-time downloads
36
Public
Parameters
67M
804 MB on disk
Likes
0
Public
Click a slice to open those files.
.safetensors268 MB · 100%
From the Hugging Face model README
distilbert-base-uncased model fine-tuned for binary text classification.zacCMU/2025-24679-text-distilbert-predictorThis model is designed to classify short, descriptive texts about locations in New York City as either touristy or not_touristy. It is intended for applications that aim to categorize user-generated content, filter location reviews, or analyze descriptive narratives about urban environments.
The model was fine-tuned on the bareethul/nyc-landmark-descriptions dataset. This dataset contains descriptions of various locations, each labeled as touristy or not_touristy.
The training process utilized both the original and an augmented version of the dataset to improve robustness and generalization.
The model was trained for 5 epochs using the Hugging Face Trainer API. The training process was configured with the following key hyperparameters:
2e-58 per device for both training and evaluation0.01accuracy on the evaluation set was saved as the final version.The model's performance was evaluated on two separate datasets: the augmented test set and the original, un-augmented data (treated as an external validation set). The model achieved perfect scores across all standard classification metrics on both sets.
Test Results (Augmented Data):
| Metric | Value |
|---|---|
| Accuracy | 1.0000 |
| F1 | 1.0000 |
| Precision | 1.0000 |
| Recall | 1.0000 |
External Validation Results (Original Data):
| Metric | Value |
|---|---|
| Accuracy | 1.0000 |
| F1 | 1.0000 |
| Precision | 1.0000 |
| Recall | 1.0000 |
Sample Prediction:
Input: 'Flower stalls line the avenues, petals bright against brownstone grit. Young lovers trade tulips, old friends share sunflowers, all believing in the promise of beauty for another day.'
True Label:
not_touristyPredicted:
not_touristy(Confidence: 0.999)
nyc-landmark-descriptions dataset. Its performance on text describing locations outside of New York City or on different styles of prose is not guaranteed.touristy and not_touristy are inherently subjective and reflect the definitions used in the original dataset. The model's classifications may not align with every individual's perception.You can use this model for inference with the pipeline function from the transformers library.