prompt
string | evidence_indices
sequence | n
int64 | premise
string | hypothesis
string | label
string | premise_tptp
string | hypothesis_tptp
string | proof_inputs
sequence | proof
string | ni
int64 | counterfactuals
string | evidences_necessity
bool | mapping
string | n-l
string | numbered_premises
string | evidence
sequence | no_hyp
bool | len
int64 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
"Premise:\nL0: Elsie, Charles, Christopher, Alex, Rhonda, Christoper, Taylor, Dwilbura, Jennifer, Oc(...TRUNCATED) | [
1,
4
] | 8 | "“Rebecca is popular” only if “Octavia does not enjoy rooftop gardening”\nCorliss owns a sig(...TRUNCATED) | Corliss owns a significant collection of rare gemstones and minerals | contradiction | "room(aaron)&room(alice)&room(benjamin)&room(bethany)&room(catherine)&room(connor)&room(david)&room((...TRUNCATED) | predba(isaac) | [
"p363",
"hypothesis"
] | "% Running in auto input_syntax mode. Trying TPTP\n% Refutation found. Thanks to Tanya!\n% SZS statu(...TRUNCATED) | 1 | "{'p363': '% Running in auto input_syntax mode. Trying TPTP\\n% Time limit reached!\\n% ------------(...TRUNCATED) | true | "{'aaron': 'elsie', 'alice': 'charles', 'benjamin': 'christopher', 'bethany': 'alex', 'catherine': '(...TRUNCATED) | 4096-contradiction | "L0: “Rebecca is popular” only if “Octavia does not enjoy rooftop gardening”\nL1: Corliss ow(...TRUNCATED) | ["Corliss does not own a significant collection of rare gemstones and minerals","Corliss owns a sign(...TRUNCATED) | true | 1,069 |
"Premise:\nL0: Antoinette, Kathleen, Joana, Charles, Christopher, Jeanne, Lucille, Dbrendaa, Dalia, (...TRUNCATED) | [
0,
1
] | 8 | "Michael writes poetry\nMichael does not write poetry\n“everyone in the room is quieter than Ida(...TRUNCATED) | Michael writes poetry | contradiction | "room(aaron)&room(alice)&room(benjamin)&room(bethany)&room(catherine)&room(connor)&room(david)&room((...TRUNCATED) | predlb(gabriel) | [
"p591",
"hypothesis"
] | "% Running in auto input_syntax mode. Trying TPTP\n% Refutation found. Thanks to Tanya!\n% SZS statu(...TRUNCATED) | 1 | "{'p591': '% Running in auto input_syntax mode. Trying TPTP\\n% Time limit reached!\\n% ------------(...TRUNCATED) | true | "{'aaron': 'antoinette', 'alice': 'kathleen', 'benjamin': 'joana', 'bethany': 'charles', 'catherine'(...TRUNCATED) | 4096-contradiction | "L0: Michael writes poetry\nL1: Michael does not write poetry\nL2: “everyone in the room is quiete(...TRUNCATED) | [
"Michael does not write poetry",
"Michael writes poetry"
] | true | 1,002 |
"Premise:\nL0: Granville, Charles, Bonnie, Bradley, Kelsey, Willis are the only persons in the room.(...TRUNCATED) | [
4,
5
] | 8 | "“Bradley is not colorblind” if “Berniceia and Kelsey like each other”\nif “no one in the (...TRUNCATED) | Mike is funny | contradiction | "room(aaron)&room(alice)&room(benjamin)&room(bethany)&room(catherine)&room(connor)&(![X]:(room(X)=>((...TRUNCATED) | funny(nathan) | [
"p605",
"hypothesis"
] | "% Running in auto input_syntax mode. Trying TPTP\n% Refutation found. Thanks to Tanya!\n% SZS statu(...TRUNCATED) | 1 | "{'p605': '% Running in auto input_syntax mode. Trying TPTP\\n% Time limit reached!\\n% ------------(...TRUNCATED) | true | "{'aaron': 'granville', 'alice': 'charles', 'benjamin': 'peter', 'bethany': 'bradley', 'catherine': (...TRUNCATED) | 4096-contradiction | "L0: “Bradley is not colorblind” if “Berniceia and Kelsey like each other”\nL1: if “no one(...TRUNCATED) | [
"Mike is not funny, not curious",
"Mike is funny"
] | true | 661 |
"Premise:\nL0: Kathleen, Charles, Christopher, Rhonda, Joyce, Alex, Ronnie, Ddeboraha, Cynthia, Debr(...TRUNCATED) | [
2,
6
] | 8 | "if “it is not the case that “Donald is a sibling of Salvador”” then ““Avani's people ea(...TRUNCATED) | Ruby likes Domingo | contradiction | "room(aaron)&room(alice)&room(benjamin)&room(bethany)&room(catherine)&room(connor)&room(david)&room((...TRUNCATED) | like(xena,katherine) | [
"b0",
"b23",
"p2182",
"hypothesis"
] | "% Running in auto input_syntax mode. Trying TPTP\n% Refutation found. Thanks to Tanya!\n% SZS statu(...TRUNCATED) | 1 | "{'p2182': '% Running in auto input_syntax mode. Trying TPTP\\n% Time limit reached!\\n% -----------(...TRUNCATED) | true | "{'aaron': 'kathleen', 'alice': 'charles', 'benjamin': 'christopher', 'bethany': 'rhonda', 'catherin(...TRUNCATED) | 4096-contradiction | "L0: if “it is not the case that “Donald is a sibling of Salvador”” then ““Avani's peopl(...TRUNCATED) | [
"Domingo and Ruby hate each other",
"Ruby likes Domingo"
] | true | 996 |
"Premise:\nL0: Dorris, Rebecca, Christopher, Mae, Matthew, Claudia, Michael, Dsaraa, Tracey, Esther,(...TRUNCATED) | [
0,
3
] | 8 | "Tracey and Margaret like each other\nLynette and Dsaraa like each other\nsomeone in the room is ric(...TRUNCATED) | Margaret and Tracey hate each other | contradiction | "room(aaron)&room(alice)&room(benjamin)&room(bethany)&room(catherine)&room(connor)&room(david)&room((...TRUNCATED) | (hate(nicole,elizabeth) & hate(elizabeth,nicole)) | [
"b0",
"b23",
"p1161",
"hypothesis"
] | "% Running in auto input_syntax mode. Trying TPTP\n% Refutation found. Thanks to Tanya!\n% SZS statu(...TRUNCATED) | 1 | "{'p1161': '% Running in auto input_syntax mode. Trying TPTP\\n% Time limit reached!\\n% -----------(...TRUNCATED) | true | "{'aaron': 'dorris', 'alice': 'lucy', 'benjamin': 'christopher', 'bethany': 'mae', 'catherine': 'mat(...TRUNCATED) | 4096-contradiction | "L0: Tracey and Margaret like each other\nL1: Lynette and Dsaraa like each other\nL2: someone in the(...TRUNCATED) | [
"Tracey and Margaret like each other",
"Margaret and Tracey hate each other"
] | true | 633 |
"Premise:\nL0: Don, Christopher, Matthew, Felix, Natalie, Malcolm, Joel, Drogera, Luther, Tom, Brend(...TRUNCATED) | [
0,
3
] | 8 | "Don is liked by Jason\n“Charlotte is a old tourist” if “Maria and Christopher are respectivel(...TRUNCATED) | Don is liked by Jason | contradiction | "room(aaron)&room(alice)&room(benjamin)&room(bethany)&room(catherine)&room(connor)&room(david)&room((...TRUNCATED) | like(aaron,nicole) | [
"b0",
"b23",
"p1928",
"hypothesis"
] | "% Running in auto input_syntax mode. Trying TPTP\n% Refutation found. Thanks to Tanya!\n% SZS statu(...TRUNCATED) | 1 | "{'p1928': '% Running in auto input_syntax mode. Trying TPTP\\n% Time limit reached!\\n% -----------(...TRUNCATED) | true | "{'aaron': 'don', 'alice': 'christopher', 'benjamin': 'matthew', 'bethany': 'felix', 'catherine': 'n(...TRUNCATED) | 4096-contradiction | "L0: Don is liked by Jason\nL1: “Charlotte is a old tourist” if “Maria and Christopher are res(...TRUNCATED) | [
"Jason and Don hate each other",
"Don is liked by Jason"
] | true | 851 |
"Premise:\nL0: Anne, Charles, Jeff, Bertha, Anne, Michael, Dale, Ddonnaa, Sara, Charmaine, Lynn, Mar(...TRUNCATED) | [
4,
7
] | 8 | "Anne, Charles, Jeff, Bertha, Anne, Michael, Dale, Ddonnaa, Sara, Charmaine, Lynn, Marie, Stephen, D(...TRUNCATED) | Charles participates in citizen science projects related to wildlife monitoring | contradiction | "room(aaron)&room(alice)&room(benjamin)&room(bethany)&room(catherine)&room(connor)&room(david)&room((...TRUNCATED) | predsa(alice) | [
"p1080",
"hypothesis"
] | "% Running in auto input_syntax mode. Trying TPTP\n% Refutation found. Thanks to Tanya!\n% SZS statu(...TRUNCATED) | 1 | "{'p1080': '% Running in auto input_syntax mode. Trying TPTP\\n% Time limit reached!\\n% -----------(...TRUNCATED) | true | "{'aaron': 'catherine', 'alice': 'charles', 'benjamin': 'jeff', 'bethany': 'rachel', 'catherine': 'a(...TRUNCATED) | 4096-contradiction | "L0: Anne, Charles, Jeff, Bertha, Anne, Michael, Dale, Ddonnaa, Sara, Charmaine, Lynn, Marie, Stephe(...TRUNCATED) | ["Charles does not participate in citizen science projects related to wildlife monitoring","Charles (...TRUNCATED) | true | 861 |
"Premise:\nL0: Bobby, Charles, Christopher, Joyce, John, Alice, Xiomara, Dlaurencea, Jennifer, Debra(...TRUNCATED) | [
4,
5
] | 8 | "“John and Jeremy do not hate Roy” unless “everyone in the room does not regularly contributes(...TRUNCATED) | Johnnie is a dedicated volunteer for local community service projects | contradiction | "room(aaron)&room(alice)&room(benjamin)&room(bethany)&room(catherine)&room(connor)&room(david)&room((...TRUNCATED) | predub(lisa) | [
"p1069",
"hypothesis"
] | "% Running in auto input_syntax mode. Trying TPTP\n% Refutation found. Thanks to Tanya!\n% SZS statu(...TRUNCATED) | 1 | "{'p1069': '% Running in auto input_syntax mode. Trying TPTP\\n% Time limit reached!\\n% -----------(...TRUNCATED) | true | "{'aaron': 'bobby', 'alice': 'charles', 'benjamin': 'christopher', 'bethany': 'joyce', 'catherine': (...TRUNCATED) | 4096-contradiction | "L0: “John and Jeremy do not hate Roy” unless “everyone in the room does not regularly contrib(...TRUNCATED) | ["Johnnie is not a dedicated volunteer for local community service projects","Johnnie is a dedicated(...TRUNCATED) | true | 1,042 |
"Premise:\nL0: Ellen, John, Rhonda, Arlie, John are the only persons in the room.\nL1: John enjoys f(...TRUNCATED) | [
1,
6
] | 8 | "everyone in the room designs and sews custom cosplay costumes for conventions only if they plays th(...TRUNCATED) | Benjamin and Lori hate each other | contradiction | "room(aaron)&room(alice)&room(benjamin)&room(bethany)&room(catherine)&(![X]:(room(X)=>(X='aaron'|X='(...TRUNCATED) | (hate(tyler,connor) & hate(connor,tyler)) | [
"b0",
"b23",
"p1212",
"hypothesis"
] | "% Running in auto input_syntax mode. Trying TPTP\n% Refutation found. Thanks to Tanya!\n% SZS statu(...TRUNCATED) | 1 | "{'p1212': '% Running in auto input_syntax mode. Trying TPTP\\n% Time limit reached!\\n% -----------(...TRUNCATED) | true | "{'aaron': 'ellen', 'alice': 'catherine', 'benjamin': 'rhonda', 'bethany': 'arlie', 'catherine': 'ra(...TRUNCATED) | 4096-contradiction | "L0: everyone in the room designs and sews custom cosplay costumes for conventions only if they play(...TRUNCATED) | [
"Lori and Benjamin like each other",
"Benjamin and Lori hate each other"
] | true | 382 |
"Premise:\nL0: Araceli, Shirley, Bradley, Matthew, Amber, Michael, Hattie, Dglena, Jennifer, Debra, (...TRUNCATED) | [
0,
5
] | 8 | "Michael is not hated by Blanche\nRussell is a client of Glen\nif “Peggy and Louis like each other(...TRUNCATED) | Michael is not hated by Blanche | contradiction | "room(aaron)&room(alice)&room(benjamin)&room(bethany)&room(catherine)&room(connor)&room(david)&room((...TRUNCATED) | ~hate(connor,robert) | [
"p623",
"hypothesis"
] | "% Running in auto input_syntax mode. Trying TPTP\n% Refutation found. Thanks to Tanya!\n% SZS statu(...TRUNCATED) | 1 | "{'p623': '% Running in auto input_syntax mode. Trying TPTP\\n% Time limit reached!\\n% ------------(...TRUNCATED) | true | "{'aaron': 'araceli', 'alice': 'peter', 'benjamin': 'bradley', 'bethany': 'matthew', 'catherine': 'a(...TRUNCATED) | 4096-contradiction | "L0: Michael is not hated by Blanche\nL1: Russell is a client of Glen\nL2: if “Peggy and Louis lik(...TRUNCATED) | [
"Michael and Blanche hate each other",
"Michael is not hated by Blanche"
] | true | 729 |
End of preview. Expand
in Data Studio
Evaluation code:
def parse(x):
if '<answer>' in x and '</answer>' in x:
start = x.find('<answer>') + len('<answer>')
end = x.find('</answer>')
x = x[start:end]
lines = [i.lstrip('L').strip() for i in x.strip().strip('.').split(',')]
return [int(i) for i in lines if i.isnumeric()]
def jaccard(list1, list2):
intersection = len(list(set(list1).intersection(list2)))
union = (len(set(list1)) + len(set(list2))) - intersection
return float(intersection) / union
df['prediction']=df.prompt.parallel_apply(complete_m(m,num_retries=5)) # plug in your llm
df['metric']=df.apply(lambda x: jaccard(parse(x.prediction), x.evidence_indices), axis=1)
- Downloads last month
- 790