misc 0 0 0

psyrishi/MoodPulse

published by @psyrishi

Alignment dataset tracked in the /datasets sub-catalog.

Lifetime downloads
782
Last 30 days
23
Likes
-
Size
1.9 GB
Created on HF
2025-08-05
Age
1 years ago

Description

πŸ“Š MoodPulse: Processed Data and Embeddings for Emotion Analysis

MoodPulse provides a self-contained dataset repository for use with the AffectiveLens projectβ€”an end-to-end NLP pipeline for emotion detection in text. It includes the full processing stack from raw text to final DistilBERT-based sentence embeddings, allowing researchers to bypass time-consuming preprocessing and directly train or benchmark models.

🧾 Dataset Description

This dataset builds upon the… See the full description on the dataset page: https://huggingface.co/datasets/psyrishi/MoodPulse.

Tags

task_categories:text-classificationlanguage:enlicense:mitregion:usemotion-classificationaffective-computingtext-classificationgoemotionsdistilbertembeddings

README current version from Hugging Face


pretty_name: "MoodPulse: Processed Data and Embeddings for Emotion Analysis"
license: mit
language:

  • en
    tags:
  • emotion-classification
  • affective-computing
  • text-classification
  • goemotions
  • distilbert
  • embeddings
    task_categories:
  • text-classification
    dataset_info:
    source_dataset: "GoEmotions"
    includes:
    • raw data
    • tokenized data
    • transformer embeddings
      processed_by: "AffectiveLens pipeline"

πŸ“Š MoodPulse: Processed Data and Embeddings for Emotion Analysis

MoodPulse provides a self-contained dataset repository for use with the AffectiveLens projectβ€”an end-to-end NLP pipeline for emotion detection in text. It includes the full processing stack from raw text to final DistilBERT-based sentence embeddings, allowing researchers to bypass time-consuming preprocessing and directly train or benchmark models.


🧾 Dataset Description

This dataset builds upon the original GoEmotions dataset by Google Research, which includes 58k carefully curated Reddit comments labeled with 28 fine-grained emotions.

In MoodPulse, these labels are condensed into three mutually exclusive emotion classes:

  • Positive
  • Neutral
  • Negative

The dataset is structured to support every phase of the AffectiveLens pipeline:

  • Raw CSVs
  • Tokenized data in Hugging Face datasets format
  • Precomputed DistilBERT embeddings

This enables full reproduction of results without requiring re-tokenization or embedding computation.


πŸ—‚οΈ Dataset Structure

The dataset is organized into logical folders corresponding to different stages of processing:


/
β”œβ”€β”€ data/
β”‚   β”œβ”€β”€ full\_dataset/
β”‚   β”‚   β”œβ”€β”€ goemotions\_1.csv
β”‚   β”‚   β”œβ”€β”€ goemotions\_2.csv
β”‚   β”‚   └── goemotions\_3.csv
β”‚   β”‚
β”‚   β”œβ”€β”€ processed/
β”‚   β”‚   β”œβ”€β”€ GoEmotions\_Tokenized\_Train\_Pool/
β”‚   β”‚   └── GoEmotions\_Tokenized\_Test/
β”‚   β”‚
β”‚   └── embeddings/
β”‚       β”œβ”€β”€ MentalTrain/
β”‚       └── MentalTest/

πŸ“ Folder Descriptions

  • data/full_dataset/
    Original GoEmotions CSV files split into parts.

  • data/processed/
    Tokenized datasets using Hugging Face datasets format, ready for embedding extraction.

  • data/embeddings/
    Final DistilBERT [CLS] token embeddings for the training and test sets. These are saved as Hugging Face datasets and ready for model input.


πŸš€ How to Use

You can load the tokenized data or precomputed embeddings directly using the Hugging Face datasets library.

from datasets import load_dataset

# Define repository ID and folder to load
repo_id = "psyrishi/MoodPulse"
data_folder = "data/embeddings/MentalTrain"  # or "data/embeddings/MentalTest"

# Load the dataset split
train_embeddings = load_dataset(repo_id, data_dir=data_folder, split='train')

print("Sample entry:")
print(train_embeddings[0])

# Access embeddings and labels
embedding_vector = train_embeddings[0]['cls_embedding']
label_vector = train_embeddings[0]['labels']

πŸ’‘ Tip: You can replace data_dir to load the tokenized datasets instead, if desired.


πŸ“Œ Use Cases

  • Train or benchmark emotion classification models using high-quality, preprocessed embeddings.
  • Compare performance of traditional ML models vs. transformer-based models.
  • Build emotion-aware applications for mental health, customer feedback, or social media monitoring.

πŸ“š Citation

This dataset is a processed derivative of the original GoEmotions dataset:

@inproceedings{demszky2020goemotions,
  title={GoEmotions: A Dataset of Fine-Grained Emotions},
  author={Demszky, Dorottya and Movshovitz-Attias, Dana and Ko, Jeongwoo and Cowen, Alan and Nemade, Gaurav and Ravi, Sujith},
  booktitle={Proceedings of the 58th Annual Meeting of the Association for Computational Linguistics (ACL)},
  year={2020}
}

If you use MoodPulse in your work, please cite both the original GoEmotions authors and link back to this repository.


βš–οΈ Licensing

  • Original data: Provided under the Creative Commons Attribution 4.0 International (CC BY 4.0) license by Google Research.
  • Code and processing logic: Provided under the MIT License.

Please refer to the LICENSE file for full details.


πŸ™ Acknowledgments

Special thanks to Google Research for the creation and open release of the GoEmotions dataset, and to the Hugging Face team for providing the open-source tools that made this processing pipeline possible.


πŸ”— Related Projects


README history 4 revisions

Every night we snapshot the README of every dataset in the catalog. When the SHA changes we archive the new version and diff it against the last. This is the evolving thought record of the alignment-data field: what the author decided to say about the corpus, and how that framing shifted over time.

  1. 2025-08-06Create LICENSE45e71154.8 KB
    Loading...
  2. 2025-08-06Update README.mda8028334.8 KB
    Loading...
  3. 2025-08-06Upload folder using huggingface_hubc0e7d5e24 B
    Loading...
  4. 2025-08-05initial commit4ab7abb24 B
    Loading...

Used by abliterated models none yet

No abliterated models in our catalog have declared this dataset in their YAML metadata yet. This can mean the dataset is used but not declared, is used outside abliteration workflows, or is new. The link will populate automatically as models are indexed.

Related datasets same stage Β· misc

Read further

Metadata

License
mit

Repository

Download the dataset

0

Copy any of these snippets into your notebook or terminal. All three fetch directly from Hugging Face using your own credentials.

Recommended: datasets library (Python)
from datasets import load_dataset
ds = load_dataset("psyrishi/MoodPulse")
Raw snapshot (Python)
from huggingface_hub import snapshot_download
snapshot_download(repo_id="psyrishi/MoodPulse", repo_type="dataset")
git clone (requires git-lfs)
git clone https://huggingface.co/datasets/psyrishi/MoodPulse
Catalog is the map. Apps are the tools.

Run models on your own machine, not in the cloud.

Every model page has an "Open in Abliteration" button that hands the model directly to the first-party desktop client, at the quantization your rig can actually run. No API keys, no subscription, no prompt leakage.

Open in Abliteration