Downloads · 30 days
22
7% of all-time downloads
databoyface/distilbert-base-cased-ome-v4.2
distilbert-base-cased-ome-v4.2 is a text classification model from databoyface. Use it when you need a label for a piece of text. It is set up for transformers. The card lists the license as mit.
The OME is a text classifier based on distilibert/distilbert-base-cased and fine tuned with 47 categories for classifying emotion in English language examples from a curated dataset deriving emotional clusters using d…
Downloads · 30 days
22
7% of all-time downloads
All-time downloads
323
Public
Parameters
67M
537 MB on disk
Likes
0
Public
Click a slice to open those files.
.onnx269 MB · 33%
From the Hugging Face model README
The OME is a text classifier based on distilibert/distilbert-base-cased and fine tuned with 47 categories for classifying emotion in English language examples from a curated dataset deriving emotional clusters using dimensions of Subjectivity, Relativity, and Generativity. Additional dimensions of Clarity and Acceptance were used to map seven population clusters of ontological experiences categorized as Trust or Love, Happiness or Pleasure, Sadness or Trauma, Anger or Disgust, Fear or Anxiety, Guilt or Shame, and Jealousy or Envy.
C.J. Pitchford
17 November 2025
[Clusters listed in brackets (alphabetically) organize the classification, but aren't returned]
python run_classification.py \
--model_name_or_path distilibert/distilbert-base-cased \
--train_file "/Users/chris/Documents/ml/transformers/data/ome-4-2-train.csv" \
--validation_file "/Users/chris/Documents/ml/transformers/data/ome-4-2-test.csv" \
--shuffle_train_dataset \
--metric_name accuracy \
--text_column_name text \
--text_column_delimiter "\n" \
--label_column_name label \
--do_train \
--do_eval \
--max_seq_length 256 \
--per_device_train_batch_size 32 \
--learning_rate 2e-4 \
--num_train_epochs 20 \
--output_dir ./model/
** train metrics **
epoch = 20.0
total_flos = 10906006GF
train_loss = 0.1524
train_runtime = 3:24:17.27
train_samples = 8833
train_samples_per_second = 14.413
train_steps_per_second = 0.452
** eval metrics **
"epoch": 20.0,
"eval_accuracy": 0.9952542372881356,
"eval_loss": 0.004642655607312918,
"eval_runtime": 32.679,
"eval_samples": 1475,
"eval_samples_per_second": 45.136,
"eval_steps_per_second": 5.661
@misc{christopher_pitchford_2025,
author = { Christopher Pitchford },
title = { distilbert-base-cased-ome-v4.2 (Revision bea3c7e) },
year = 2025,
url = { https://huggingface.co/databoyface/distilbert-base-cased-ome-v4.2 },
doi = { 10.57967/hf/7018 },
publisher = { Hugging Face }
}
Version 5!