Skip to content

Commit

Permalink
renaming the test example structure with new prompt variables
Browse files Browse the repository at this point in the history
  • Loading branch information
abhi1092 committed Jun 26, 2024
1 parent 1c90263 commit 87a95fd
Showing 1 changed file with 7 additions and 8 deletions.
15 changes: 7 additions & 8 deletions scripts/test_knowledge.py
Original file line number Diff line number Diff line change
Expand Up @@ -24,16 +24,15 @@

samples = [
{
"question_1": "what is the location of the tubal tonsils?",
"response_1": "The location of the tubal tonsils is the roof of the pharynx.",
"question_2": "How long does the adenoid grow?",
"icl_query_1": "what is the location of the tubal tonsils?",
"icl_response_1": "The location of the tubal tonsils is the roof of the pharynx.",
"icl_query_2": "How long does the adenoid grow?",
"task_description": "Teaching about human anatomy, specifically tonsils",
"response_2": "The adenoid grows until the age of 5, starts to shrink at the age of 7 and becomes small in adulthood.",
"question_3": "What is the immune systems first line of defense against ingested or inhaled foreign pathogens?",
"response_3": "The tonsils are the immune systems first line of defense.",
"icl_response_2": "The adenoid grows until the age of 5, starts to shrink at the age of 7 and becomes small in adulthood.",
"icl_query_3": "What is the immune systems first line of defense against ingested or inhaled foreign pathogens?",
"icl_response_3": "The tonsils are the immune systems first line of defense.",
"document": "The **tonsils** are a set of lymphoid organs facing into the aerodigestive tract, which is known as Waldeyer's tonsillar ring and consists of the adenoid tonsil or pharyngeal tonsil, two tubal tonsils, two palatine tonsils, and the lingual tonsils. These organs play an important role in the immune system. When used unqualified, the term most commonly refers specifically to the palatine tonsils, which are two lymphoid organs situated at either side of the back of the human throat. The palatine tonsils and the adenoid tonsil are organs consisting of lymphoepithelial tissue located near the oropharynx and nasopharynx parts of the throat",
"domain": "textbook",
}
"domain": "textbook", }
]

ds = Dataset.from_list(samples)
Expand Down

0 comments on commit 87a95fd

Please sign in to comment.