File size: 5,486 Bytes
0e25792
 
2ff42ce
 
 
 
 
 
 
a0d8475
 
0e25792
bca768b
6df18ab
0515aa2
bca768b
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
183ad02
fc175c6
183ad02
fc175c6
183ad02
 
fc175c6
183ad02
 
fc175c6
183ad02
 
bca768b
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
---
license: mit
widget:
- text: "What is or could be the subsequent event of the target? <sep> target: Oh . I just can't forget it .<sep> context: A: David , why didn't you clean the room ?, <utt> B: I'm not in the mood ., <utt> A: Why are you feeling depressed ?, <utt> B: I was told my girlfriend was speaking ill of me. That \u2019 s a real let-down ., <utt> A: I don t think she will do such a thing ., <utt> B: But she did and made me disappointed ., <utt> A: Oh , cheer up . A girlfriend is not everything ., <utt> B: But she means a lot to me ., <utt> A: Then forgive her mistake ., <utt> B: Oh . I just can't forget it "
  example_title: "Subsequent Event"
- text: "What is or could be the cause of the target? <sep>target: But she did and made me disappointed . <sep> context: A: David , why didn't you clean the room ?, <utt>B: I'm not in the mood ., <utt> A: Why are you feeling depressed ?, <utt> B: I was told my girlfriend was speaking ill of me. That \u2019 s a real let-down ., <utt>A: I don t think she will do such a thing ., <utt> B: But she did and made me disappointed ., <utt> A: Oh , cheer up . A girlfriend is not everything ., <utt>B: But she means a lot to me ., <utt> A: Then forgive her mistake ., <utt> B: Oh . I just can't forget it "
  example_title: "Cause"
- text: "What is the possible emotional reaction of the listener in response to target? <sep> target: Oh . I just can't forget it .<sep> context: A: David , why didn't you clean the room ?, <utt> B: I'm not in the mood ., <utt> A: Why are you feeling depressed ?, <utt>B: I was told my girlfriend was speaking ill of me. That \u2019 s a real let-down ., <utt> A: I don t think she will do such a thing ., <utt> B: But she did and made me disappointed ., <utt> A: Oh , cheer up . A girlfriend is not everything ., <utt> B: But she means a lot to me ., <utt> A: Then forgive her mistake ., <utt> B: Oh . I just can't forget it "
  example_title: "Emotional Reaction"
datasets:
- declare-lab/cicero
---
## Contextualized Commonsense Inference in Dialogues v2
The pretrained checkpoint for the paper [Multiview Contextual Commonsense Inference: A New Dataset and Task](https://arxiv.org/abs/2210.02890).

The model is trained based on the [T5-large](https://huggingface.co/t5-large) checkpoint.

![model image](https://drive.google.com/uc?export=download&id=14RIbxgXhREdu5xZiKn5D-UUzaQLDNLqf)


## Datasets 
The dataset used to pretrain the model can be obtained from the [CICERO repo](https://github.com/declare-lab/CICERO) following instructions. The CICEROv2 consists of annotated commonsense inferences including cause and emotional reaction, etc. The dialogues are from multiple datasets.
| Dataset  | #Dialogues| #Instances|
| -------- | ----- | --------- |
| DailyDialog| 1118| 3973|
| MuTual| 1011  | 3384|
| Dream| 250  | 994|

### Examples
Some examples of generated results from the pretrained model (the zero-shot setting).

**Subsequent Event**
```
What is or could be the subsequent event of the target? <sep> 
target: Oh . I just can't forget it .<sep> 
context: A: David , why didn't you clean the room ?, <utt> 
B: I'm not in the mood ., <utt> 
A: Why are you feeling depressed ?, <utt> 
B: I was told my girlfriend was speaking ill of me. That \u2019 s a real let-down ., <utt> 
A: I don t think she will do such a thing ., <utt> 
B: But she did and made me disappointed ., <utt> 
A: Oh , cheer up . A girlfriend is not everything ., <utt> 
B: But she means a lot to me ., <utt> 
A: Then forgive her mistake ., <utt> 
B: Oh . I just can't forget it 
```
Predicted subsequent event:
```
David's girlfriend apologized to david for her mistake.
```

**Cause**
```
What is or could be the cause of the target? <sep>
target: But she did and made me disappointed . <sep> 
context: A: David , why didn't you clean the room ?, <utt>
B: I'm not in the mood ., <utt> 
A: Why are you feeling depressed ?, <utt> 
B: I was told my girlfriend was speaking ill of me. That \u2019 s a real let-down ., <utt>
A: I don t think she will do such a thing ., <utt> 
B: But she did and made me disappointed ., <utt> 
A: Oh , cheer up . A girlfriend is not everything ., <utt>
B: But she means a lot to me ., <utt> 
A: Then forgive her mistake ., <utt> 
B: Oh . I just can't forget it 
```
Predicted cause:
```
David's girlfriend was not nice to him.
```

**Emotional Reaction**
```
What is the possible emotional reaction of the listener in response to target? <sep> 
target: Oh . I just can't forget it .<sep> 
context: A: David , why didn't you clean the room ?, <utt> 
B: I'm not in the mood ., <utt> 
A: Why are you feeling depressed ?, <utt>
B: I was told my girlfriend was speaking ill of me. That \u2019 s a real let-down ., <utt> 
A: I don t think she will do such a thing ., <utt> 
B: But she did and made me disappointed ., <utt> 
A: Oh , cheer up . A girlfriend is not everything ., <utt> 
B: But she means a lot to me ., <utt> 
A: Then forgive her mistake ., <utt> 
B: Oh . I just can't forget it 
```
Predicted emotional reaction:
```
The listener is hopeful that david will forgive his girlfriend for her mistake.
```


## BibTeX entry and citation info
If you use the model, you can cite: 
```bibtex
@article{Shen2022MultiviewCC,
  title={Multiview Contextual Commonsense Inference: A New Dataset and Task},
  author={Siqi Shen and Deepanway Ghosal and Navonil Majumder and Henry Lim and Rada Mihalcea and Soujanya Poria},
  journal={ArXiv},
  year={2022},
  volume={abs/2210.02890}
}
```