Downloads · 30 days
5
1% of all-time downloads
edmundmills/conditional-utilitarian-deberta-01
conditional-utilitarian-deberta-01 is a text classification model from edmundmills. Use it when you need a label for a piece of text. It is set up for transformers.
Downloads · 30 days
5
1% of all-time downloads
All-time downloads
428
Public
Repo size
3.5 GB
Likes
0
Public
Click a slice to open those files.
.bin1.7 GB · 100%
From the Hugging Face model README
This is a Deberta-based model.
The main use case is the computation of utility estimates of first-person and third-person text scenarios, under extra contextual information. The person's utility to evaluate can be specified in the context.
The model was trained on only ~10000 general utility examples and ~800 conditional utility examples, so it should be expected to have limited performance.
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).
In addition, you should specify the person for whom to evaluate utility. The model was trained using the phrases f"I care only about {person}'s utility." and "I care only about my own utility.".
The first training data is the train split from the Utilitarianism part of the ETHICS dataset.
The second training data consists of ~800 crowdsourced examples of triples (S, C0, C1) consisting of one scenario and two possible contexts, where U(S | C0) > U(S | C1).
Both of these sets are converted from the first person to the third person using GPT3.
DeBERTa-v3-large was fine-tuned the model over the training data, with a learning rate of 1e-5, a batch size of 16, and for 1 epoch.
The training procedure generally follows tune.py. In addition to the ranked pairs of both first and third person scenarios, the examples were included to apply the following restrictions:
The model achieves ~80% accuracy over the ethics test set, from the same distribution as the training data.