Downloads · 30 days
15
7% of all-time downloads
databoyface/distilroberta-base-ome-v4.2
distilroberta-base-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.
This model is a fine-tuned version of distilbert/distilroberta-base trained on the OME v4.2 dataset.
Downloads · 30 days
15
7% of all-time downloads
All-time downloads
210
Public
Parameters
82.2M
658 MB on disk
Likes
1
Public
Click a slice to open those files.
.onnx329 MB · 33%
From the Hugging Face model README
This model is a fine-tuned version of distilbert/distilroberta-base trained on the OME v4.2 dataset.
It achieves the following results on the evaluation set:
This latest variation of the OME is a text classifier based on distilroberta 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.
[Clusters listed in brackets organize the classification, but aren't returned]
python run_classification.py \
--model_name_or_path distilbert/distilroberta-base \
--dataset_name databoyface/ome-src-v4.2 \
--shuffle_train_dataset true \
--metric_name accuracy \
--text_column_name text \
--text_column_delimiter "\n" \
--label_column_name label \
--do_train \
--do_eval \
--do_predict \
--max_seq_length 256 \
--per_device_train_batch_size 64 \
--learning_rate 1e-4 \
--num_train_epochs 30 \
--output_dir ./OME-RoBERTa-latest/
The following hyperparameters were used during training:
***** train metrics *****
epoch = 30.0
total_flos = 16316413GF
train_loss = 0.1662
train_runtime = 6:23:30.42
train_samples = 8810
train_samples_per_second = 11.486
train_steps_per_second = 0.18
***** eval metrics *****
"epoch": 30.0,
"eval_accuracy": 0.9966101694915255,
"eval_loss": 0.004637924954295158,
"eval_runtime": 32.3697,
"eval_samples": 1475,
"eval_samples_per_second": 45.567,
"eval_steps_per_second": 5.715
Version 5!