r/kaggle • • 12h ago

Looking for Text-Based Stress Detection Datasets for an ML/DL Project

Thumbnail reddit.com
0 Upvotes

I’m working on an ML/DL project on Stress Detection Using Text and looking for publicly available datasets for training and evaluating models.
I’m particularly interested in datasets containing text (social media posts, tweets, messages, etc.) with stress-related labels (Stress/No Stress or stress levels).
If anyone knows of relevant datasets, Kaggle links, GitHub repositories, or research papers that provide such datasets, please share them.


r/kaggle • • 16h ago

I trained a tiny causal-attention LM in a Kaggle CPU notebook (NumPy, no API)

0 Upvotes

I teach AI/ML at S30 and made a runnable Kaggle notebook for people who want to see next-token training rather than call a model API. It uses NumPy, a four-line embedded corpus, and randomly initialized weights. No external dataset, GPU, internet access, or pretrained checkpoint is needed.

What is in the notebook:

  • character IDs and shifted input/target windows (teacher forcing)
  • single-head causal self-attention, including a check that future-token attention is zero
  • cross-entropy and manual backpropagation through attention
  • 150 SGD updates, a loss curve, and token-by-token sampling

The Kaggle CPU run completed successfully in 21 seconds. Batch training loss went from 3.367 to 3.177. The generated characters are still rough: there are only 157 training characters, no positional embeddings, and no held-out evaluation. This is a mechanics exercise, not ChatGPT or a useful chatbot.

Notebook: https://www.kaggle.com/code/jaspindersingh83/tiny-gpt-style-lm-from-scratch-numpy

There is an optional video walkthrough linked inside. I created both the notebook and the video. If you fork this, I would be interested in which change helps most: a larger corpus, learned positions, or a validation split.