pfr commited on
Commit
6a32ab9
1 Parent(s): 229fdda

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +35 -1
README.md CHANGED
@@ -4,4 +4,38 @@ inference:
4
  function_to_apply: "none"
5
  widget:
6
  - text: "I cuddled with my dog today."
7
- ---
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
4
  function_to_apply: "none"
5
  widget:
6
  - text: "I cuddled with my dog today."
7
+ ---
8
+
9
+ # Conditional Utilitarian Roberta 01
10
+
11
+ ## Model description
12
+
13
+ This is a [Roberta-based](https://huggingface.co/roberta-large) model. It was first fine-tuned on for computing utility estimates of experiences (see [utilitarian-roberta-01](https://huggingface.co/pfr/utilitarian-roberta-01). It was then further fine-tuned on 160 examples of pairwise comparisons of conditional utilities.
14
+
15
+ ## Intended use
16
+
17
+ The main use case is the computation of utility estimates of first-person text scenarios, under extra contextual information.
18
+
19
+ ## Limitations
20
+
21
+ The model was fine-tuned on only 160 examples, so it should be expected to have limited performance.
22
+
23
+ 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.
24
+
25
+ ## How to use
26
+
27
+ 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)`.
28
+
29
+ ## Training data
30
+
31
+ The first training data is the train split from the Utilitarianism part of the [ETHICS dataset](https://arxiv.org/abs/2008.02275).
32
+
33
+ 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)`.
34
+
35
+ ## Training procedure
36
+
37
+ Starting from [utilitarian-roberta-01](https://huggingface.co/pfr/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.
38
+
39
+ ## Evaluation results
40
+
41
+ The model achieves ~70% accuracy over 40 crowdsourced examples, from the same distribution as the training data.