monsoon-nlp
commited on
Commit
·
5ce778f
1
Parent(s):
d39b7ab
organize quiz into splits
Browse files- 20250115_qa_public.jsonl +14 -0
- README.md +18 -13
- scrape_morerecent_with_openai.py +1 -1
20250115_qa_public.jsonl
ADDED
@@ -0,0 +1,14 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{"question_date": "2025/01/10", "question_url": "https://en.wikinews.org/wiki/TV_Host_Vic_Sotto_files_cyberlibel_against_filmmaker_Darryl_Yap", "question_sentence": "Who filed a cyberlibel case against filmmaker Darryl Yap?", "links": ["https://www.gmanetwork.com/entertainment/showbiznews/news/22572/vic-sotto-files-cyberlibel-case-vs-darryl-yap-over-pepsi-paloma-teaser/photo", "https://www.philstar.com/entertainment/2023/06/19/2275044/legeat-legit-dabarkads-tvj-announce-new-tv5-show-details-presscon", "https://www.onenews.ph/articles/the-kingdom-draws-crowds-and-praise-on-mmff-2024-opening-day", "https://www.onenews.ph/articles/the-kingdom-draws-crowds-and-praise-on-mmff-2024-opening-day", "https://www.gmanetwork.com/entertainment/showbiznews/news/22572/vic-sotto-files-cyberlibel-case-vs-darryl-yap-over-pepsi-paloma-teaser/photo", "https://www.rappler.com/entertainment/celebrities/vic-sotto-files-complaint-darryl-yap-pepsi-paloma-trailer/", "https://wikimediafoundation.org/"], "choices": ["Vic Sotto", "Pauleen Luna-Sotto", "Tito Sotto", "Joey De Leon"], "answer_text": "Vic Sotto", "answer": [0], "question_id": "20250115_0", "question_source": "WikiNews"}
|
2 |
+
{"question_date": "2025/01/10", "question_url": "https://en.wikinews.org/wiki/TV_Host_Vic_Sotto_files_cyberlibel_against_filmmaker_Darryl_Yap", "question_sentence": "What is the primary focus of Darryl Yap's controversial film?", "links": ["https://www.gmanetwork.com/entertainment/showbiznews/news/22572/vic-sotto-files-cyberlibel-case-vs-darryl-yap-over-pepsi-paloma-teaser/photo", "https://www.philstar.com/entertainment/2023/06/19/2275044/legeat-legit-dabarkads-tvj-announce-new-tv5-show-details-presscon", "https://www.onenews.ph/articles/the-kingdom-draws-crowds-and-praise-on-mmff-2024-opening-day", "https://www.onenews.ph/articles/the-kingdom-draws-crowds-and-praise-on-mmff-2024-opening-day", "https://www.gmanetwork.com/entertainment/showbiznews/news/22572/vic-sotto-files-cyberlibel-case-vs-darryl-yap-over-pepsi-paloma-teaser/photo", "https://www.rappler.com/entertainment/celebrities/vic-sotto-files-complaint-darryl-yap-pepsi-paloma-trailer/", "https://wikimediafoundation.org/"], "choices": ["Pepsi Paloma", "TVJ", "Eat Bulaga!", "The Kingdom"], "answer_text": "Pepsi Paloma", "answer": [0], "question_id": "20250115_1", "question_source": "WikiNews"}
|
3 |
+
{"question_date": "2025/01/10", "question_url": "https://en.wikinews.org/wiki/TV_Host_Vic_Sotto_files_cyberlibel_against_filmmaker_Darryl_Yap", "question_sentence": "Which court handled the cyberlibel case filed by Vic Sotto?", "links": ["https://www.gmanetwork.com/entertainment/showbiznews/news/22572/vic-sotto-files-cyberlibel-case-vs-darryl-yap-over-pepsi-paloma-teaser/photo", "https://www.philstar.com/entertainment/2023/06/19/2275044/legeat-legit-dabarkads-tvj-announce-new-tv5-show-details-presscon", "https://www.onenews.ph/articles/the-kingdom-draws-crowds-and-praise-on-mmff-2024-opening-day", "https://www.onenews.ph/articles/the-kingdom-draws-crowds-and-praise-on-mmff-2024-opening-day", "https://www.gmanetwork.com/entertainment/showbiznews/news/22572/vic-sotto-files-cyberlibel-case-vs-darryl-yap-over-pepsi-paloma-teaser/photo", "https://www.rappler.com/entertainment/celebrities/vic-sotto-files-complaint-darryl-yap-pepsi-paloma-trailer/", "https://wikimediafoundation.org/"], "choices": ["Makati Regional Trial Court", "Muntinlupa Regional Trial Court", "Quezon City Regional Trial Court", "Pasig Regional Trial Court"], "answer_text": "Muntinlupa Regional Trial Court", "answer": [1], "question_id": "20250115_2", "question_source": "WikiNews"}
|
4 |
+
{"question_date": "2025/01/10", "question_url": "https://en.wikinews.org/wiki/TV_Host_Vic_Sotto_files_cyberlibel_against_filmmaker_Darryl_Yap", "question_sentence": "How much in damages is being sought by Vic Sotto in the cyberlibel case?", "links": ["https://www.gmanetwork.com/entertainment/showbiznews/news/22572/vic-sotto-files-cyberlibel-case-vs-darryl-yap-over-pepsi-paloma-teaser/photo", "https://www.philstar.com/entertainment/2023/06/19/2275044/legeat-legit-dabarkads-tvj-announce-new-tv5-show-details-presscon", "https://www.onenews.ph/articles/the-kingdom-draws-crowds-and-praise-on-mmff-2024-opening-day", "https://www.onenews.ph/articles/the-kingdom-draws-crowds-and-praise-on-mmff-2024-opening-day", "https://www.gmanetwork.com/entertainment/showbiznews/news/22572/vic-sotto-files-cyberlibel-case-vs-darryl-yap-over-pepsi-paloma-teaser/photo", "https://www.rappler.com/entertainment/celebrities/vic-sotto-files-complaint-darryl-yap-pepsi-paloma-trailer/", "https://wikimediafoundation.org/"], "choices": ["15 million Philippine pesos", "25 million Philippine pesos", "35 million Philippine pesos", "45 million Philippine pesos"], "answer_text": "35 million Philippine pesos", "answer": [2], "question_id": "20250115_3", "question_source": "WikiNews"}
|
5 |
+
{"question_date": "2024/12/31", "question_url": "https://en.wikinews.org/wiki/Arrest_warrant_issued_for_impeached_South_Korean_president", "question_sentence": "What was the reason for the arrest warrant against President Yoon?", "links": ["https://www.aljazeera.com/news/2025/1/1/south-koreas-yoon-will-be-arrested-within-deadline-anti-graft-chief-says#ixzz8w6tfoR9t", "https://www.bbc.com/news/articles/cp83rllzg1ko", "https://apnews.com/article/south-korea-president-martial-law-yoon-warrant-4cf80153a9bd333147afb746adb49433", "https://wikimediafoundation.org/"], "choices": ["Embezzlement", "Martial law imposition", "Tax evasion", "Corruption"], "answer_text": "Martial law imposition", "answer": [1], "question_id": "20250115_6", "question_source": "WikiNews"}
|
6 |
+
{"question_date": "2024/12/31", "question_url": "https://en.wikinews.org/wiki/Arrest_warrant_issued_for_impeached_South_Korean_president", "question_sentence": "Who stated that there is no way to detain President Yoon?", "links": ["https://www.aljazeera.com/news/2025/1/1/south-koreas-yoon-will-be-arrested-within-deadline-anti-graft-chief-says#ixzz8w6tfoR9t", "https://www.bbc.com/news/articles/cp83rllzg1ko", "https://apnews.com/article/south-korea-president-martial-law-yoon-warrant-4cf80153a9bd333147afb746adb49433", "https://wikimediafoundation.org/"], "choices": ["Yun Gap-geun", "Choi Jin", "Han Duck-soo", "The Constitutional Court"], "answer_text": "Choi Jin", "answer": [1], "question_id": "20250115_9", "question_source": "WikiNews"}
|
7 |
+
{"question_date": "2024/12/31", "question_url": "https://en.wikinews.org/wiki/Puerto_Rico_in_darkness_after_a_power_grid_fail", "question_sentence": "What was the cause of the power outage in Puerto Rico?", "links": ["https://www.msn.com/en-us/news/us/puerto-ricos-power-grid-collapses-leaving-island-in-the-dark/ar-AA1wLrUw?ocid=BingNewsBrowse", "https://apnews.com/article/puerto-rico-power-outage-b594dc464d469b812dc9b65c76cc16e9", "https://wikimediafoundation.org/"], "choices": ["A storm", "An earthquake", "A failure in an underground line", "Scheduled maintenance"], "answer_text": "A failure in an underground line", "answer": [2], "question_id": "20250115_10", "question_source": "WikiNews"}
|
8 |
+
{"question_date": "2024/12/31", "question_url": "https://en.wikinews.org/wiki/Puerto_Rico_in_darkness_after_a_power_grid_fail", "question_sentence": "As of Tuesday morning, what percentage of Puerto Rico was without power?", "links": ["https://www.msn.com/en-us/news/us/puerto-ricos-power-grid-collapses-leaving-island-in-the-dark/ar-AA1wLrUw?ocid=BingNewsBrowse", "https://apnews.com/article/puerto-rico-power-outage-b594dc464d469b812dc9b65c76cc16e9", "https://wikimediafoundation.org/"], "choices": ["50%", "70%", "90%", "100%"], "answer_text": "90%", "answer": [2], "question_id": "20250115_11", "question_source": "WikiNews"}
|
9 |
+
{"question_date": "2024/12/31", "question_url": "https://en.wikinews.org/wiki/Puerto_Rico_in_darkness_after_a_power_grid_fail", "question_sentence": "What is the estimated time for restoring power in Puerto Rico according to Luma Energy?", "links": ["https://www.msn.com/en-us/news/us/puerto-ricos-power-grid-collapses-leaving-island-in-the-dark/ar-AA1wLrUw?ocid=BingNewsBrowse", "https://apnews.com/article/puerto-rico-power-outage-b594dc464d469b812dc9b65c76cc16e9", "https://wikimediafoundation.org/"], "choices": ["1 to 2 hours", "12 to 24 hours", "24 to 48 hours", "One week"], "answer_text": "24 to 48 hours", "answer": [2], "question_id": "20250115_12", "question_source": "WikiNews"}
|
10 |
+
{"question_date": "2024/12/29", "question_url": "https://en.wikinews.org/wiki/Former_US_President_Jimmy_Carter_dead_at_age_100", "question_sentence": "At what age did former US President Jimmy Carter die?", "links": ["https://people.com/jimmy-carter-dies-at-100-longest-living-us-president-7502017", "https://apnews.com/article/jimmy-carter-dies-18c198c20352c835bca3eec276020dd7", "https://wikimediafoundation.org/"], "choices": ["98", "100", "95", "102"], "answer_text": "100", "answer": [1], "question_id": "20250115_16", "question_source": "WikiNews"}
|
11 |
+
{"question_date": "2024/12/29", "question_url": "https://en.wikinews.org/wiki/Norwegian_chess_grandmaster_Mangus_Carlsen_rejoins_chess_tournament_following_dress_code_controversy", "question_sentence": "Why did Magnus Carlsen quit the World Rapid and Blitz Chess Championships?", "links": ["https://www.bbc.com/news/articles/c98lkrdkz70o", "https://www.espn.com/espn/story/_/id/43191036/magnus-carlsen-disqualified-chess-tournament-wearing-jeans", "https://www.npr.org/2024/12/28/nx-s1-5241802/chess-jeans-magnus-carlsen-quits-championship", "https://people.com/world-chess-champion-quits-competition-after-refusing-to-change-out-of-jeans-8767321", "https://wikimediafoundation.org/"], "choices": ["He lost his matches", "He was unhappy with the tournament's location", "He refused to comply with a dress code", "He had a personal emergency"], "answer_text": "He refused to comply with a dress code", "answer": [2], "question_id": "20250115_20", "question_source": "WikiNews"}
|
12 |
+
{"question_date": "2024/12/29", "question_url": "https://en.wikinews.org/wiki/Norwegian_chess_grandmaster_Mangus_Carlsen_rejoins_chess_tournament_following_dress_code_controversy", "question_sentence": "How much was Magnus Carlsen fined for not complying with the dress code?", "links": ["https://www.bbc.com/news/articles/c98lkrdkz70o", "https://www.espn.com/espn/story/_/id/43191036/magnus-carlsen-disqualified-chess-tournament-wearing-jeans", "https://www.npr.org/2024/12/28/nx-s1-5241802/chess-jeans-magnus-carlsen-quits-championship", "https://people.com/world-chess-champion-quits-competition-after-refusing-to-change-out-of-jeans-8767321", "https://wikimediafoundation.org/"], "choices": ["USD$100", "USD$200", "USD$300", "USD$400"], "answer_text": "USD$200", "answer": [1], "question_id": "20250115_22", "question_source": "WikiNews"}
|
13 |
+
{"question_date": "2024/12/28", "question_url": "https://en.wikinews.org/wiki/Oliver,_Edmonton_to_be_renamed_at_start_of_2025", "question_sentence": "When will the Edmonton community of Oliver be renamed?", "links": ["https://dailyhive.com/edmonton/oliver-wihkwentowin-neighbourhood-edmonton", "https://globalnews.ca/news/10307991/edmonton-oliver-neighbourhood-new-name-approved/", "https://wikimediafoundation.org/"], "choices": ["December 31, 2024", "January 1, 2025", "February 1, 2025", "January 13, 2025"], "answer_text": "January 1, 2025", "answer": [1], "question_id": "20250115_25", "question_source": "WikiNews"}
|
14 |
+
{"question_date": "2024/12/28", "question_url": "https://en.wikinews.org/wiki/Oliver,_Edmonton_to_be_renamed_at_start_of_2025", "question_sentence": "Why is the name of the community Oliver being changed?", "links": ["https://dailyhive.com/edmonton/oliver-wihkwentowin-neighbourhood-edmonton", "https://globalnews.ca/news/10307991/edmonton-oliver-neighbourhood-new-name-approved/", "https://wikimediafoundation.org/"], "choices": ["To promote tourism", "Research showed Frank Oliver promoted discrimination", "To merge with a neighboring community", "To reflect recent geographical changes"], "answer_text": "Research showed Frank Oliver promoted discrimination", "answer": [1], "question_id": "20250115_26", "question_source": "WikiNews"}
|
README.md
CHANGED
@@ -7,35 +7,40 @@ language:
|
|
7 |
tags:
|
8 |
- realtime
|
9 |
- news
|
|
|
|
|
|
|
|
|
|
|
10 |
---
|
11 |
# relive-qa
|
12 |
|
13 |
-
|
14 |
-
while we discuss ways to continue posting articles + Q&A using a semi-automated format.
|
15 |
|
16 |
-
|
|
|
|
|
17 |
|
18 |
-
## Scraper
|
19 |
|
20 |
-
Prerequisites: `pip install openai lxml
|
21 |
|
22 |
-
I've added
|
23 |
- scrape.py : base script to load plain text from the latest WikiNews articles
|
24 |
- scrape_with_openai.py : pass scraped text to OpenAI's GPT-4o to generate questions and answers for each article
|
25 |
- scrape_morerecent_with_openai.py : scrape recent articles which WikiNews hasn't yet published from `Category:May 2024`, then use OpenAI's GPT-4o for Q&A
|
26 |
|
27 |
-
An LLM evaluated on this Q&A could read the WikiNews summary, the links collected from the story, or do its own web searches.
|
28 |
|
29 |
### Issues
|
30 |
|
31 |
-
- Prompt
|
32 |
-
-
|
33 |
-
- Links and the title
|
34 |
-
- WikiNews articles may be niche
|
35 |
|
36 |
-
## Original paper
|
37 |
|
38 |
-
https://github.com/realtimeqa/realtimeqa_public
|
39 |
|
40 |
Citation:
|
41 |
|
|
|
7 |
tags:
|
8 |
- realtime
|
9 |
- news
|
10 |
+
configs:
|
11 |
+
- config_name: default
|
12 |
+
data_files:
|
13 |
+
- split: relive2025-01-15
|
14 |
+
path: 20250115_qa_public.jsonl
|
15 |
---
|
16 |
# relive-qa
|
17 |
|
18 |
+
Using RealtimeQA as a starting point for new articles + Q&A using a semi-automated format.
|
|
|
19 |
|
20 |
+
Also see:
|
21 |
+
- https://github.com/realtimeqa/realtimeqa_public (ended Jan 2024?)
|
22 |
+
- https://github.com/freshllms/freshqa (ongoing, last Dec 2024)
|
23 |
|
24 |
+
## Scraper process
|
25 |
|
26 |
+
Prerequisites: `pip install openai lxml cssselect requests xmltodict` and OpenAI API key
|
27 |
|
28 |
+
I've added these scripts:
|
29 |
- scrape.py : base script to load plain text from the latest WikiNews articles
|
30 |
- scrape_with_openai.py : pass scraped text to OpenAI's GPT-4o to generate questions and answers for each article
|
31 |
- scrape_morerecent_with_openai.py : scrape recent articles which WikiNews hasn't yet published from `Category:May 2024`, then use OpenAI's GPT-4o for Q&A
|
32 |
|
33 |
+
An LLM evaluated on this Q&A could read the WikiNews summary, the links collected from the story, and/or do its own web searches.
|
34 |
|
35 |
### Issues
|
36 |
|
37 |
+
- Prompt should discourage Q&A which are obvious, or stand out from alternative answers.
|
38 |
+
- Q&A should be based on new information in the article, and not general knowledge.
|
39 |
+
- Links and the article title could give away the answer as the subject of the article, rather than using reading comprehension.
|
40 |
+
- WikiNews articles may be niche / local stories, where facts are not known to an LLM unless it reads the specific article
|
41 |
|
42 |
+
## Original paper
|
43 |
|
|
|
44 |
|
45 |
Citation:
|
46 |
|
scrape_morerecent_with_openai.py
CHANGED
@@ -1,4 +1,4 @@
|
|
1 |
-
# pip install openai lxml
|
2 |
|
3 |
from datetime import date, datetime, timedelta
|
4 |
import json
|
|
|
1 |
+
# pip install openai lxml cssselect requests xmltodict
|
2 |
|
3 |
from datetime import date, datetime, timedelta
|
4 |
import json
|