Commit
·
bca768b
1
Parent(s):
6df18ab
Add examples, bibTex,
Browse files
README.md
CHANGED
|
@@ -1,6 +1,96 @@
|
|
| 1 |
---
|
| 2 |
license: mit
|
| 3 |
---
|
|
|
|
| 4 |
The pretrained checkpoint for the paper [Multiview Contextual Commonsense Inference: A New Dataset and Task](https://arxiv.org/abs/2210.02890).
|
| 5 |
|
| 6 |
-
The model is trained based on the [T5-large](https://huggingface.co/t5-large) checkpoint.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
---
|
| 2 |
license: mit
|
| 3 |
---
|
| 4 |
+
## Contextualized Commonsense Inference in Dialogues v2
|
| 5 |
The pretrained checkpoint for the paper [Multiview Contextual Commonsense Inference: A New Dataset and Task](https://arxiv.org/abs/2210.02890).
|
| 6 |
|
| 7 |
+
The model is trained based on the [T5-large](https://huggingface.co/t5-large) checkpoint.
|
| 8 |
+
|
| 9 |
+

|
| 10 |
+
|
| 11 |
+
|
| 12 |
+
## Datasets
|
| 13 |
+
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.
|
| 14 |
+
| Dataset | #Dialogues| #Instances|
|
| 15 |
+
| -------- | ----- | --------- |
|
| 16 |
+
| DailyDialog| 1118| 3973|
|
| 17 |
+
| MuTual| 1011 | 3384|
|
| 18 |
+
| Dream| 250 | 994|
|
| 19 |
+
|
| 20 |
+
### Examples
|
| 21 |
+
Some examples of generated results from the pretrained model (the zero-shot setting).
|
| 22 |
+
|
| 23 |
+
**Subsequent Event**
|
| 24 |
+
```
|
| 25 |
+
What is or could be the subsequent event of the target? <sep>
|
| 26 |
+
target: Oh . I just can't forget it .<sep>
|
| 27 |
+
context: A: David , why didn't you clean the room ?, <utt>
|
| 28 |
+
B: I'm not in the mood ., <utt>
|
| 29 |
+
A: Why are you feeling depressed ?, <utt>
|
| 30 |
+
B: I was told my girlfriend was speaking ill of me. That \u2019 s a real let-down ., <utt>
|
| 31 |
+
A: I don t think she will do such a thing ., <utt>
|
| 32 |
+
B: But she did and made me disappointed ., <utt>
|
| 33 |
+
A: Oh , cheer up . A girlfriend is not everything ., <utt>
|
| 34 |
+
B: But she means a lot to me ., <utt>
|
| 35 |
+
A: Then forgive her mistake ., <utt>
|
| 36 |
+
B: Oh . I just can't forget it
|
| 37 |
+
```
|
| 38 |
+
Predicted subsequent event:
|
| 39 |
+
```
|
| 40 |
+
David's girlfriend apologized to david for her mistake.
|
| 41 |
+
```
|
| 42 |
+
|
| 43 |
+
**Cause**
|
| 44 |
+
```
|
| 45 |
+
What subsequent event happens or could happen following the target? <sep>
|
| 46 |
+
target: Sure you can , in about two and a half weeks . <sep>
|
| 47 |
+
context: "A: Did I do well on my test ?", <utt>
|
| 48 |
+
"B: Do you want to know the honest answer ?", <utt>
|
| 49 |
+
"A: Why wouldn't I want to know ?", <utt>
|
| 50 |
+
"B: You had pretty bad scores .", <utt>
|
| 51 |
+
"A: Exactly what do you mean by bad ?", <utt>
|
| 52 |
+
"B: You failed .",
|
| 53 |
+
"A: How'd I fail it ?", <utt>
|
| 54 |
+
"B: There are a couple of reasons why you didn't pass .", <utt>
|
| 55 |
+
"A: What did I do wrong ?", <utt>
|
| 56 |
+
"B: To sum it all up , you really just don't know how to drive .", <utt>
|
| 57 |
+
"A: Thanks.Will I be able to take a retest ?", <utt>
|
| 58 |
+
"B: Sure you can , in about two and a half weeks ."
|
| 59 |
+
```
|
| 60 |
+
Predicted cause:
|
| 61 |
+
```
|
| 62 |
+
David's girlfriend was not nice to him.
|
| 63 |
+
```
|
| 64 |
+
|
| 65 |
+
**Emotional Reaction**
|
| 66 |
+
```
|
| 67 |
+
What is the possible emotional reaction of the listener in response to target? <sep>
|
| 68 |
+
target: Oh . I just can't forget it .<sep>
|
| 69 |
+
context: A: David , why didn't you clean the room ?, <utt>
|
| 70 |
+
B: I'm not in the mood ., <utt>
|
| 71 |
+
A: Why are you feeling depressed ?, <utt>
|
| 72 |
+
B: I was told my girlfriend was speaking ill of me. That \u2019 s a real let-down ., <utt>
|
| 73 |
+
A: I don t think she will do such a thing ., <utt>
|
| 74 |
+
B: But she did and made me disappointed ., <utt>
|
| 75 |
+
A: Oh , cheer up . A girlfriend is not everything ., <utt>
|
| 76 |
+
B: But she means a lot to me ., <utt>
|
| 77 |
+
A: Then forgive her mistake ., <utt>
|
| 78 |
+
B: Oh . I just can't forget it
|
| 79 |
+
```
|
| 80 |
+
Predicted emotional reaction:
|
| 81 |
+
```
|
| 82 |
+
The listener is hopeful that david will forgive his girlfriend for her mistake.
|
| 83 |
+
```
|
| 84 |
+
|
| 85 |
+
|
| 86 |
+
## BibTeX entry and citation info
|
| 87 |
+
If you use the model, you can cite:
|
| 88 |
+
```bibtex
|
| 89 |
+
@article{Shen2022MultiviewCC,
|
| 90 |
+
title={Multiview Contextual Commonsense Inference: A New Dataset and Task},
|
| 91 |
+
author={Siqi Shen and Deepanway Ghosal and Navonil Majumder and Henry Lim and Rada Mihalcea and Soujanya Poria},
|
| 92 |
+
journal={ArXiv},
|
| 93 |
+
year={2022},
|
| 94 |
+
volume={abs/2210.02890}
|
| 95 |
+
}
|
| 96 |
+
```
|