From b29a10da77a40810a5091652119494f6691f693d Mon Sep 17 00:00:00 2001 From: gchickma Date: Fri, 26 Apr 2024 14:37:34 -0500 Subject: [PATCH 1/6] Add logical reasoning example Signed-off-by: gchickma --- .../reasoning/logical_reasoning/causal/qna.yaml | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/foundational_skills/reasoning/logical_reasoning/causal/qna.yaml b/foundational_skills/reasoning/logical_reasoning/causal/qna.yaml index bb965b23a..b376c2bad 100644 --- a/foundational_skills/reasoning/logical_reasoning/causal/qna.yaml +++ b/foundational_skills/reasoning/logical_reasoning/causal/qna.yaml @@ -22,5 +22,13 @@ seed_examples: question: 'If all squares are rectangles and a rectangle has four sides, can we conclude that all squares have four sides? + ' +- answer: 'No, a circle does not have sides. A "side" usually refers to the sides + of a polygon, such as a square or a triangle. Although a circle is a shape, it + is not a polygon, so it does not have sides. + + ' + question: 'Does a cirle have an infinite number of side? + ' task_description: To teach a language model about Logical Reasoning - causal relationships From 3f0f9e52270d92b900179c5d23d0fbba3c9f3975 Mon Sep 17 00:00:00 2001 From: Glen Hickman Date: Wed, 8 May 2024 11:34:50 -0500 Subject: [PATCH 2/6] add new qna.yaml --- .../gaps_in_interstate/attribution.txt | 5 +++++ .../highways/gaps_in_interstate/qna.yaml | 19 +++++++++++++++++++ 2 files changed, 24 insertions(+) create mode 100644 knowledge/highways/gaps_in_interstate/attribution.txt create mode 100644 knowledge/highways/gaps_in_interstate/qna.yaml diff --git a/knowledge/highways/gaps_in_interstate/attribution.txt b/knowledge/highways/gaps_in_interstate/attribution.txt new file mode 100644 index 000000000..43612f736 --- /dev/null +++ b/knowledge/highways/gaps_in_interstate/attribution.txt @@ -0,0 +1,5 @@ +Title of work: List of gaps in Interstate Highways +Link to work: https://en.wikipedia.org/wiki/List_of_gaps_in_Interstate_Highways +Revision: https://en.wikipedia.org/w/index.php?title=List_of_gaps_in_Interstate_Highways&oldid=1220573461 +License of the work: CC-BY-SA-4.0 +Creator names: Wikipedia Authors \ No newline at end of file diff --git a/knowledge/highways/gaps_in_interstate/qna.yaml b/knowledge/highways/gaps_in_interstate/qna.yaml new file mode 100644 index 000000000..da65371ed --- /dev/null +++ b/knowledge/highways/gaps_in_interstate/qna.yaml @@ -0,0 +1,19 @@ +created_by: +domain: geography +seed_examples: +- answer: 'True gaps are where multiple disjoint sections of road have the same Interstate highway number and can reasonably be considered part of "one highway" in theory, based on the directness of connections via other highways, or based on future plans to fill in the gap in the Interstate, or simply based on the shortness of the gap.' + question: 'What is a True Gap?' +- answer: 'Interstate 70' + question: 'What highway enters approaches the Lewis and LCark Viaduct Bridge?' +- answer: 'Thouse Islands Bridge' + question: 'What is the undivided two-lane road that goes over to Saint Lawrence River?' +- answer: 'Super Two' + question: 'What is a two-lane divided parkway?' +- answer: 'Some stretches of Interstate highway use a barrier transfer machine on some bridges to convert inner lanes from one direction to the other, where it would be too costly to upgrade/rebuild to a higher-capacity bridge.' + question: 'What do they call the to convert inner lanes from one direction to the other?' +task_description: 'There are gaps in the Interstate Highway system, where the roadway carrying an Interstate shield does not conform to the standards set by the Federal Highway Administration (FHWA), the body that sets the regulations for the Interstate Highway System.' +document: + repo: https://github.com/juliadenham/Summit_knowledge + commit: 799f1f0afd57ea4c684eeef71189e9c8ea45d539 + patterns: + - gaps_in_interstate_highways.md \ No newline at end of file From 396cf0c14ba59d47e946ed464e62ff424ffbb33b Mon Sep 17 00:00:00 2001 From: Glen Hickman Date: Wed, 8 May 2024 13:52:28 -0500 Subject: [PATCH 3/6] fix precheck errors --- .../highways/gaps_in_interstate/qna.yaml | 19 +++++++++++++------ 1 file changed, 13 insertions(+), 6 deletions(-) diff --git a/knowledge/highways/gaps_in_interstate/qna.yaml b/knowledge/highways/gaps_in_interstate/qna.yaml index da65371ed..bba10ffce 100644 --- a/knowledge/highways/gaps_in_interstate/qna.yaml +++ b/knowledge/highways/gaps_in_interstate/qna.yaml @@ -1,7 +1,10 @@ -created_by: +created_by: domain: geography seed_examples: -- answer: 'True gaps are where multiple disjoint sections of road have the same Interstate highway number and can reasonably be considered part of "one highway" in theory, based on the directness of connections via other highways, or based on future plans to fill in the gap in the Interstate, or simply based on the shortness of the gap.' +- answer: 'True gaps are where multiple disjoint sections of road have the same Interstate + highway number and can reasonably be considered part of "one highway" in theory, based + on the directness of connections via other highways, or based on future plans to fill + in the gap in the Interstate, or simply based on the shortness of the gap.' question: 'What is a True Gap?' - answer: 'Interstate 70' question: 'What highway enters approaches the Lewis and LCark Viaduct Bridge?' @@ -9,11 +12,15 @@ seed_examples: question: 'What is the undivided two-lane road that goes over to Saint Lawrence River?' - answer: 'Super Two' question: 'What is a two-lane divided parkway?' -- answer: 'Some stretches of Interstate highway use a barrier transfer machine on some bridges to convert inner lanes from one direction to the other, where it would be too costly to upgrade/rebuild to a higher-capacity bridge.' +- answer: 'Some stretches of Interstate highway use a barrier transfer machine on some bridges + to convert inner lanes from one direction to the other, where it would be too costly to + upgrade/rebuild to a higher-capacity bridge.' question: 'What do they call the to convert inner lanes from one direction to the other?' -task_description: 'There are gaps in the Interstate Highway system, where the roadway carrying an Interstate shield does not conform to the standards set by the Federal Highway Administration (FHWA), the body that sets the regulations for the Interstate Highway System.' -document: +task_description: 'There are gaps in the Interstate Highway system, where the roadway + carrying an Interstate shield does not conform to the standards set by the Federal Highway + Administration (FHWA), the body that sets the regulations for the Interstate Highway System.' +document: repo: https://github.com/juliadenham/Summit_knowledge commit: 799f1f0afd57ea4c684eeef71189e9c8ea45d539 patterns: - - gaps_in_interstate_highways.md \ No newline at end of file + - gaps_in_interstate_highways.md From 622ccee18a22635686a778e2f3562eda8819976d Mon Sep 17 00:00:00 2001 From: Glen Hickman Date: Wed, 8 May 2024 14:05:16 -0500 Subject: [PATCH 4/6] fix indentation --- knowledge/highways/gaps_in_interstate/qna.yaml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/knowledge/highways/gaps_in_interstate/qna.yaml b/knowledge/highways/gaps_in_interstate/qna.yaml index bba10ffce..b2aac8cf7 100644 --- a/knowledge/highways/gaps_in_interstate/qna.yaml +++ b/knowledge/highways/gaps_in_interstate/qna.yaml @@ -20,7 +20,7 @@ task_description: 'There are gaps in the Interstate Highway system, where the ro carrying an Interstate shield does not conform to the standards set by the Federal Highway Administration (FHWA), the body that sets the regulations for the Interstate Highway System.' document: - repo: https://github.com/juliadenham/Summit_knowledge - commit: 799f1f0afd57ea4c684eeef71189e9c8ea45d539 - patterns: - - gaps_in_interstate_highways.md + repo: https://github.com/juliadenham/Summit_knowledge + commit: 799f1f0afd57ea4c684eeef71189e9c8ea45d539 + patterns: + - gaps_in_interstate_highways.md From bafdcd0dd3fa4b47a248e933c614ca4c593ee537 Mon Sep 17 00:00:00 2001 From: Glen Hickman Date: Mon, 13 May 2024 15:03:51 -0500 Subject: [PATCH 5/6] add createdBy value --- knowledge/highways/gaps_in_interstate/qna.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/knowledge/highways/gaps_in_interstate/qna.yaml b/knowledge/highways/gaps_in_interstate/qna.yaml index b2aac8cf7..b3d3f7c3f 100644 --- a/knowledge/highways/gaps_in_interstate/qna.yaml +++ b/knowledge/highways/gaps_in_interstate/qna.yaml @@ -1,4 +1,4 @@ -created_by: +created_by: somebody domain: geography seed_examples: - answer: 'True gaps are where multiple disjoint sections of road have the same Interstate From 4c30dc29f9e7dce09a3b5cce1e84e9afa5861f06 Mon Sep 17 00:00:00 2001 From: Glen Hickman Date: Mon, 13 May 2024 15:28:53 -0500 Subject: [PATCH 6/6] fix indentation --- knowledge/highways/gaps_in_interstate/qna.yaml | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/knowledge/highways/gaps_in_interstate/qna.yaml b/knowledge/highways/gaps_in_interstate/qna.yaml index b3d3f7c3f..e05df045b 100644 --- a/knowledge/highways/gaps_in_interstate/qna.yaml +++ b/knowledge/highways/gaps_in_interstate/qna.yaml @@ -2,9 +2,9 @@ created_by: somebody domain: geography seed_examples: - answer: 'True gaps are where multiple disjoint sections of road have the same Interstate - highway number and can reasonably be considered part of "one highway" in theory, based - on the directness of connections via other highways, or based on future plans to fill - in the gap in the Interstate, or simply based on the shortness of the gap.' + highway number and can reasonably be considered part of "one highway" in theory, based + on the directness of connections via other highways, or based on future plans to fill + in the gap in the Interstate, or simply based on the shortness of the gap.' question: 'What is a True Gap?' - answer: 'Interstate 70' question: 'What highway enters approaches the Lewis and LCark Viaduct Bridge?' @@ -13,8 +13,8 @@ seed_examples: - answer: 'Super Two' question: 'What is a two-lane divided parkway?' - answer: 'Some stretches of Interstate highway use a barrier transfer machine on some bridges - to convert inner lanes from one direction to the other, where it would be too costly to - upgrade/rebuild to a higher-capacity bridge.' + to convert inner lanes from one direction to the other, where it would be too costly to + upgrade/rebuild to a higher-capacity bridge.' question: 'What do they call the to convert inner lanes from one direction to the other?' task_description: 'There are gaps in the Interstate Highway system, where the roadway carrying an Interstate shield does not conform to the standards set by the Federal Highway