File size: 1,987 Bytes
fd6f42a cef0b1b fd6f42a cef0b1b fd6f42a cef0b1b fd6f42a cef0b1b fd6f42a cef0b1b fd6f42a cef0b1b fd6f42a cef0b1b fd6f42a cef0b1b fd6f42a cef0b1b fd6f42a cef0b1b fd6f42a cef0b1b fd6f42a cef0b1b fd6f42a cef0b1b fd6f42a cef0b1b fd6f42a cef0b1b fd6f42a cef0b1b fd6f42a cef0b1b fd6f42a | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 | ---
license: mit
tags:
- text-classification
- nlp
- sentiment-analysis
- transformers
datasets:
- custom
metrics:
- accuracy
- f1
---
# Roadblock Detection Classifier (v1)
## 🔍 Overview
The **Roadblock Classifier** detects whether a check-in contains signs of a **roadblock or struggle**.
This helps identify when students need support or intervention.
---
## 🎯 Purpose
Students may express confusion, frustration, or blockers in their check-ins. This model identifies those signals automatically.
---
## 🧠 Model Details
- Task: Binary Text Classification
- Labels:
- `ROADBLOCK` → Indicates confusion, issue, or blocker
- `NOT_ROADBLOCK` → No issues present
- Architecture: Transformer-based (fine-tuned)
---
## 📦 Use Cases
- Early detection of struggling students
- Automated support systems
- Mentor alerts
- Educational analytics
---
## 🧪 Example
### Input
```text
I was struggling to understand why my API deployment kept failing
```
### Output
```json
{
"label": "ROADBLOCK",
"confidence": 0.99
}
```
### Input
```text
Today I completed my feature and everything is working well
```
### Output
```json
{
"label": "NOT_ROADBLOCK",
"confidence": 0.97
}
```
---
## Pipeline Integration
### This model runs after check-in validation and quality analysis:
1. Check-in or Not
2. Check-in Detail
3. **Roadblock Detection (this model)**
4. Intervention or generation
---
## Usage (Python)
```python
from transformers import pipeline
classifier = pipeline("text-classification", model="mjpsm/roadblock-classifier-v1")
result = classifier("I was confused about my API deployment")
print(result)
```
---
# Performance
- High accuracy and F1 score (~0.97–0.99 observed during evaluation)
---
## Future Improvements
1. Detect severity of roadblocks
2. Multi-label emotions (confusion, frustration, stuck)
3. Suggest solutions automatically
---
## 👤 Author
- Mazamesso Meba
- Information Systems Student | AI Developer
|