Loading…
Loading…
A fine-tuned DistilBERT model that classifies open-ended survey feedback as either actionable or non-actionable.
The model is designed as an experimental business analytics tool to help organizations identify suggestions, recommendations, and opportunities for improvement within qualitative survey responses.
This model is a fine-tuned version of DistilBERT, trained to identify whether a survey response contains actionable feedback.
It uses natural language processing (NLP) to classify text into two categories:
| Label | Description |
|---|---|
actionable |
Contains a specific suggestion, recommendation, request, or identifiable opportunity for improvement. |
non_actionable |
Expresses a general opinion, positive feedback, or personal experience without suggesting a specific improvement. |
Examples:
| Survey response | Classification |
|---|---|
| The registration process should be simplified. | Actionable |
| I would prefer more time for networking. | Actionable |
| The organization should offer virtual attendance options. | Actionable |
| The speakers were knowledgeable and engaging. | Non-actionable |
| I really enjoyed attending the conference. | Non-actionable |
The model was developed as a practical demonstration of how AI can support the analysis of qualitative survey data.
The model is intended for experimental and educational use, particularly in business analytics, survey analysis, and feedback management.
Potential applications include:
The model can be used to classify individual responses or as part of a batch analysis workflow.
This model has several important limitations:
Confidence scores represent the model's prediction scores and should not be interpreted as a guarantee of correctness.
This model is an experimental proof of concept and is not intended to replace human judgment or serve as a production-ready decision-making system.
The model was trained using a synthetic dataset of 100 survey feedback responses created for this project.
The examples were designed to represent open-ended feedback commonly encountered in professional development events, conferences, higher education, and nonprofit settings.
The dataset contains two labels:
0: non_actionable1: actionableThe dataset was divided into training and evaluation subsets:
| Split | Records | Percentage |
|---|---|---|
| Training | 80 | 80% |
| Evaluation | 20 | 20% |
| Total | 100 | 100% |
The training and evaluation data were used to fine-tune and assess the model's ability to distinguish between the two feedback categories.
Dataset: (https://huggingface.co/datasets/mriamah/survey-feedback-actionability)
The model was fine-tuned using the Hugging Face Transformers library with the pretrained distilbert/distilbert-base-uncased architecture.
| Hyperparameter | Value |
|---|---|
| Base model | distilbert/distilbert-base-uncased |
| Learning rate | 0.0001 |
| Training batch size | 32 |
| Evaluation batch size | 32 |
| Random seed | 42 |
| Optimizer | AdamW (PyTorch fused) |
| Optimizer betas | (0.9, 0.999) |
| Optimizer epsilon | 1e-08 |
| Learning rate scheduler | Linear |
| Number of epochs | 10 |
The following results were recorded during training and evaluation:
| Training Loss | Epoch | Step | Validation Loss | Accuracy |
|---|---|---|---|---|
| 0.0429 | 1 | 3 | 0.0409 | 1.0 |
| 0.0171 | 2 | 6 | 0.0176 | 1.0 |
| 0.0080 | 3 | 9 | 0.0084 | 1.0 |
| 0.0045 | 4 | 12 | 0.0058 | 1.0 |
| 0.0031 | 5 | 15 | 0.0054 | 1.0 |
| 0.0022 | 6 | 18 | 0.0060 | 1.0 |
| 0.0018 | 7 | 21 | 0.0066 | 1.0 |
| 0.0016 | 8 | 24 | 0.0070 | 1.0 |
| 0.0015 | 9 | 27 | 0.0072 | 1.0 |
| 0.0015 | 10 | 30 | 0.0072 | 1.0 |
The model achieved an evaluation accuracy of 1.0 (100%) on the synthetic evaluation split. The lowest recorded validation loss was 0.0054.
These results reflect performance on the small synthetic dataset and should not be interpreted as expected performance on real-world survey data.
The model can be loaded using the Hugging Face Transformers pipeline:
from transformers import pipeline
classifier = pipeline(
"text-classification",
model="mriamah/hf_survey-feedback-actionability",
top_k=None
)
result = classifier(
"The registration process should be simplified."
)
print(result)
The model returns prediction scores for both classification labels.
This project explores how AI and NLP can help organizations make better use of qualitative survey feedback.
Rather than manually reviewing every response, an organization could use an initial classification to help organize feedback for further analysis. The goal is to support the process of identifying improvement opportunities while keeping human review part of the decision-making process.
distilbert/distilbert-base-uncased