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.
How to use from the
Use from the
Transformers library
# Use a pipeline as a high-level helper
from transformers import pipeline

pipe = pipeline("text-classification", model="khalid2847/mindscan-bert-dreaddit")
# pip install -U transformers accelerate
# Load model directly
from transformers import AutoTokenizer, AutoModelForSequenceClassification

tokenizer = AutoTokenizer.from_pretrained("khalid2847/mindscan-bert-dreaddit")
model = AutoModelForSequenceClassification.from_pretrained("khalid2847/mindscan-bert-dreaddit", device_map="auto")
Quick Links

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

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.")
Downloads last month
-
Safetensors
Model size
0.1B params
Tensor type
F32
Β·
Inference Providers NEW
This model isn't deployed by any Inference Provider. πŸ™‹ Ask for provider support

Model tree for khalid2847/mindscan-bert-dreaddit

Finetuned
(7,305)
this model