Downloads · 30 days
8
1% of all-time downloads
pfr/conditional-utilitarian-roberta-01
conditional-utilitarian-roberta-01 is a text classification model from pfr. Use it when you need a label for a piece of text. It is set up for transformers.
This is a Roberta-based model. It was first fine-tuned on for computing utility estimates of experiences (see utilitarian-roberta-01. It was then further fine-tuned on 160 examples of pairwise comparisons of condition…
Downloads · 30 days
8
1% of all-time downloads
All-time downloads
1.6K
Public
Repo size
2.8 GB
Likes
0
Public
Click a slice to open those files.
.bin1.4 GB · 100%
From the Hugging Face model README
This is a Roberta-based model. It was first fine-tuned on for computing utility estimates of experiences (see utilitarian-roberta-01. It was then further fine-tuned on 160 examples of pairwise comparisons of conditional utilities.
The main use case is the computation of utility estimates of first-person text scenarios, under extra contextual information.
The model was fine-tuned on only 160 examples, so it should be expected to have limited performance.
Further, while the base model was trained on ~10000 examples, they are still restricted, and only on first-person sentences. It does not have the capability of interpreting highly complex or unusual scenarios, and it does not have hard guarantees on its domain of accuracy.
Given a scenario S under a context C, and the model U, one computes the estimated conditional utility with U(f'{C} {S}') - U(C).
The first training data is the train split from the Utilitarianism part of the ETHICS dataset.
The second training data consists of 160 crowdsourced examples of triples (S, C0, C1) consisting of one scenario and two possible contexts, where U(S | C0) > U(S | C1).
Starting from utilitarian-roberta-01, we fine-tune the model over the training data of 160 examples, with a learning rate of 1e-5, a batch size of 8, and for 2 epochs.
The model achieves ~70% accuracy over 40 crowdsourced examples, from the same distribution as the training data.