Run this model with HF Jobs

Run khalid2847/mindscan-bert-dreaddit on Hugging Face's managed compute, monitor its progress, and retrieve the results when it's done.

Paste one of these prompts into your coding agent:

Fine-tune on my dataset

Use HF Jobs to fine-tune https://huggingface.co/khalid2847/mindscan-bert-dreaddit. Ask me which dataset to train on, then push the fine-tuned model to a new model repo. Run `hf jobs --help` first to learn the CLI.

Run batch inference

Use HF Jobs to run batch inference with https://huggingface.co/khalid2847/mindscan-bert-dreaddit on the inputs in a mounted HF Bucket. Ask me which Bucket to use, then write the outputs back to it and keep each input ID. Run `hf jobs --help` first to learn the CLI.
khalid2847's picture
Upload README.md with huggingface_hub
99627f5 verified
|
Raw History Blame Contribute Delete
1.29 kB
---
language: en
license: mit
library_name: transformers
pipeline_tag: text-classification
base_model: google-bert/bert-base-uncased
datasets:
- dreaddit
tags:
- mental-health
- stress-detection
- explainable-ai
---
# MindScan BERT — stress detection on Dreaddit
`bert-base-uncased` fine-tuned to classify whether a Reddit post expresses **psychological stress**
(label 1) or not (label 0). Built for the student project **MindScan** (CSE 445, North South University).
## Evaluation (official Dreaddit test split, 715 posts, threshold 0.5)
| Accuracy | Precision | Recall | F1 | ROC-AUC | PR-AUC |
|---|---|---|---|---|---|
| 0.779 | 0.749 | 0.859 | 0.801 | 0.880 | 0.890 |
## Intended use
Education and research on explainable NLP. **Not** a diagnostic or clinical tool and not for monitoring
individuals. Labels reflect crowd-worker judgements of *stress*, not clinical conditions.
## Limitations
English Reddit text only; max 128 tokens; accuracy varies by community (lowest on r/relationships).
Crowd-sourced labels and Reddit demographics carry bias.
## How to use
```python
from transformers import pipeline
clf = pipeline("text-classification", model="YOUR_HF_USERNAME/mindscan-bert-dreaddit")
clf("I can't sleep, rent is due and I feel like I'm drowning.")
```