Dataset Viewer
Auto-converted to Parquet Duplicate
messages
listlengths
2
2
[ { "role": "user", "content": "Can you explain what nelson mandela did regarding african nationalist and socialist?" }, { "role": "assistant", "content": "Ideologically an African nationalist and socialist, he served as the president of the African National Congress (ANC) party from 1991 to 1997....
[ { "role": "user", "content": "Can you explain what nelson mandela did regarding the countrys first black?" }, { "role": "assistant", "content": "He was the country's first Black head of state and the first elected in a fully representative democratic election." } ]
[ { "role": "user", "content": "Can you explain what nelson mandela did regarding focused on dismantling the?" }, { "role": "assistant", "content": "His administration focused on dismantling the legacy of apartheid by fostering racial reconciliation, a national peace accord and eventual multiracia...
[ { "role": "user", "content": "Please provide details on what nelson mandela did regarding born into the thembu?" }, { "role": "assistant", "content": "Mandela was born into the Thembu royal family in Mvezo, South Africa." } ]
[ { "role": "user", "content": "what Nelson Mandela did regarding Rivonia Trial he was?" }, { "role": "assistant", "content": "Following the Rivonia Trial, he was sentenced to life imprisonment for conspiring to overthrow the state." } ]
[ { "role": "user", "content": "what Nelson Mandela did regarding acted as mediator in?" }, { "role": "assistant", "content": "Internationally, Mandela acted as mediator in the Pan Am Flight 103 bombing trial and served as secretary-general of the Non-Aligned Movement from 1998 to 1999." } ]
[ { "role": "user", "content": "What is the historical significance of what nelson mandela did regarding committed to nonviolent protest?" }, { "role": "assistant", "content": "Although initially committed to non-violent protest, in association with the SACP he co-founded the militant uMkhonto we ...
[ { "role": "user", "content": "Can you explain what nelson mandela did regarding as an icon of?" }, { "role": "assistant", "content": "Globally regarded as an icon of moral leadership, peace, democracy and social justice, he received more than 250 honours, including the Nobel Peace Prize." } ]
[ { "role": "user", "content": "What is the historical significance of what nelson mandela did regarding held in deep respect?" }, { "role": "assistant", "content": "He is held in deep respect within South Africa, where he is often referred to by his Thembu clan name, Madiba, and described as the ...
[ { "role": "user", "content": "What is the historical significance of what nelson mandela did regarding widely considered one of?" }, { "role": "assistant", "content": "Mandela is widely considered one of the greatest and most admired figures of the 20th century." } ]
[ { "role": "user", "content": "Please provide details on what nelson mandela did regarding on the right denounced?" }, { "role": "assistant", "content": "Although critics on the right denounced him as a communist terrorist and those on the far left deemed him too eager to negotiate and reconcile ...
[ { "role": "user", "content": "Please provide details on what nelson mandela did regarding was gadlas third wife?" }, { "role": "assistant", "content": "Nelson's mother was Gadla's third wife, Nosekeni Fanny, daughter of Nkedama of the Right Hand House and a member of the amaMpemvu clan of the Xh...
[ { "role": "user", "content": "What is the historical significance of what nelson mandela did regarding up with two sisters?" }, { "role": "assistant", "content": "He grew up with two sisters in his mother's kraal in the village of Qunu, where" } ]
[ { "role": "user", "content": "Can you explain what nelson mandela did regarding ngubengcukas sons named mandela?" }, { "role": "assistant", "content": "One of Ngubengcuka's sons, named Mandela, was Nelson's grandfather and the source of his surname." } ]
[ { "role": "user", "content": "What is the historical significance of what nelson mandela did regarding took him to the?" }, { "role": "assistant", "content": "Mandela's mother took him to the \"Great Place\" palace at Mqhekezweni, where he was entrusted to the guardianship of the Thembu regent, ...
[ { "role": "user", "content": "what Nelson Mandela did regarding herds as a cattleboy?" }, { "role": "assistant", "content": "he tended herds as a cattle-boy and spent much time outside with other boys." } ]
[ { "role": "user", "content": "What is the historical significance of what nelson mandela did regarding a love of african?" }, { "role": "assistant", "content": "He developed a love of African history, listening to the tales told" } ]
[ { "role": "user", "content": "what Nelson Mandela did regarding attended church services every?" }, { "role": "assistant", "content": "As Mandela attended church services every Sunday with his guardians, Christianity became a significant part of his life." } ]
[ { "role": "user", "content": "Can you explain what nelson mandela did regarding socialise with other students?" }, { "role": "assistant", "content": "Made to socialise with other students on an equal basis, he claimed that he lost his \"stuck up\" attitude, becoming best friends with a girl for ...
[ { "role": "user", "content": "what Nelson Mandela did regarding the time he considered?" }, { "role": "assistant", "content": "Nevertheless, at the time he considered the European colonizers not as oppressors but as benefactors who had brought education and other benefits to southern Africa." ...
[ { "role": "user", "content": "Can you explain what nelson mandela did regarding visitors to the palace?" }, { "role": "assistant", "content": "by elderly visitors to the palace, and was influenced by the anti-imperialist rhetoric of a visiting chief, Joyi." } ]
[ { "role": "user", "content": "what Nelson Mandela did regarding gain skills needed to?" }, { "role": "assistant", "content": "Intending to gain skills needed to become a privy councillor for the Thembu royal house, Mandela began his secondary education in 1933 at Clarkebury Methodist High School...
[ { "role": "user", "content": "What is the historical significance of what nelson mandela did regarding interested in native african?" }, { "role": "assistant", "content": "became increasingly interested in native African culture, making his first non-Xhosa friend, a speaker of Sotho, and coming ...
[ { "role": "user", "content": "Please provide details on what nelson mandela did regarding well as oliver tambo?" }, { "role": "assistant", "content": "Matanzima, as well as Oliver Tambo, who became a close friend and comrade for decades to come." } ]
[ { "role": "user", "content": "what Nelson Mandela did regarding English anthropology politics native?" }, { "role": "assistant", "content": "He studied English, anthropology, politics, \"native administration\" and Roman-Dutch law in his first year, desiring to become an interpreter or clerk in ...
[ { "role": "user", "content": "what Nelson Mandela did regarding had friends who held?" }, { "role": "assistant", "content": "Although he had friends who held connections to the African National Congress (ANC) who wanted South Africa to be independent of the British Empire, Mandela" } ]
[ { "role": "user", "content": "Can you explain what nelson mandela did regarding with jongintabas backing mandela?" }, { "role": "assistant", "content": "In 1939, with Jongintaba's backing, Mandela began work on a BA degree at the University of Fort Hare, an elite black institution of approximate...
[ { "role": "user", "content": "what Nelson Mandela did regarding end of his first?" }, { "role": "assistant", "content": "At the end of his first year he became involved in a students' representative council (SRC) boycott against the quality of food, for which he was suspended from the university...
[ { "role": "user", "content": "what Nelson Mandela did regarding involvement with the nascent?" }, { "role": "assistant", "content": "avoided any involvement with the nascent movement, and became a vocal supporter of the British war effort when the Second World War broke out." } ]
[ { "role": "user", "content": "what Nelson Mandela did regarding with a cousin in?" }, { "role": "assistant", "content": "He stayed with a cousin in George Goch Township, who introduced Mandela to realtor and ANC activist Walter Sisulu." } ]
[ { "role": "user", "content": "what Nelson Mandela did regarding Mqhekezweni in December 1940?" }, { "role": "assistant", "content": "Returning to Mqhekezweni in December 1940, Mandela found that Jongintaba had arranged marriages for him and Justice; dismayed, they fled to Johannesburg via Queens...
[ { "role": "user", "content": "Can you explain what nelson mandela did regarding small wage mandela rented?" }, { "role": "assistant", "content": "Earning a small wage, Mandela rented a room in the house of the Xhoma family in the Alexandra township; despite being rife with poverty, crime and pol...
[ { "role": "user", "content": "what Nelson Mandela did regarding his higher education Mandela?" }, { "role": "assistant", "content": "To continue his higher education, Mandela signed up to a University of South Africa correspondence course, working on his bachelor's degree at night." } ]
[ { "role": "user", "content": "Please provide details on what nelson mandela did regarding money and be closer?" }, { "role": "assistant", "content": "To save money and be closer to downtown Johannesburg, Mandela moved into the compound of the Witwatersrand Native Labour Association, living among...
[ { "role": "user", "content": "Can you explain what nelson mandela did regarding 1941 jongintaba visited johannesburgthere?" }, { "role": "assistant", "content": "In late 1941, Jongintaba visited Johannesburg—there forgiving Mandela for running away—before returning to Thembuland, where he died i...
[ { "role": "user", "content": "What is the historical significance of what nelson mandela did regarding passed his ba exams?" }, { "role": "assistant", "content": "After he passed his BA exams in early 1943," } ]
[ { "role": "user", "content": "Please provide details on what nelson mandela did regarding mandela met anton lembede?" }, { "role": "assistant", "content": "In 1943, Mandela met Anton Lembede, an ANC member affiliated with the \"Africanist\" branch of African nationalism, which was virulently opp...
[ { "role": "user", "content": "Please provide details on what nelson mandela did regarding studying law at the?" }, { "role": "assistant", "content": "Mandela began studying law at the University of the Witwatersrand, where he was the only black African student and faced racism." } ]
[ { "role": "user", "content": "What is the historical significance of what nelson mandela did regarding anc he was increasingly?" }, { "role": "assistant", "content": "Joining the ANC, he was increasingly influenced by Sisulu, spending time with other activists at Sisulu's Orlando house, includin...
[ { "role": "user", "content": "Can you explain what nelson mandela did regarding the need for a?" }, { "role": "assistant", "content": "Deciding on the need for a youth wing to mass-mobilise Africans in opposition to their subjugation, Mandela was among a delegation that approached ANC president ...
[ { "role": "user", "content": "what Nelson Mandela did regarding child Madiba Thembi Thembekile?" }, { "role": "assistant", "content": "Their first child, Madiba \"Thembi\" Thembekile, was born in February 1945; a daughter, Makaziwe, was born in 1947 but died of meningitis nine months later." }...
[ { "role": "user", "content": "what Nelson Mandela did regarding with Mdas approach and?" }, { "role": "assistant", "content": "Mandela disagreed with Mda's approach, and in December 1947 supported an unsuccessful measure to expel communists" } ]
[ { "role": "user", "content": "what Nelson Mandela did regarding house Mandela met Evelyn?" }, { "role": "assistant", "content": "At Sisulu's house, Mandela met Evelyn Mase, a trainee nurse and ANC activist from Engcobo, Transkei." } ]
[ { "role": "user", "content": "What is the historical significance of what nelson mandela did regarding south african general election?" }, { "role": "assistant", "content": "In the South African general election in 1948, in which only whites were permitted to vote, the Afrikaner-dominated Hereni...
[ { "role": "user", "content": "what Nelson Mandela did regarding Mandela was elected to?" }, { "role": "assistant", "content": "In 1947, Mandela was elected to the executive committee of the ANC's Transvaal Province branch, serving under regional president C." } ]
[ { "role": "user", "content": "Please provide details on what nelson mandela did regarding not support these measures?" }, { "role": "assistant", "content": "Xuma did not support these measures and was removed from the presidency in a vote of no confidence, replaced by James Moroka and a more mil...
[ { "role": "user", "content": "What is the historical significance of what nelson mandela did regarding communism he later stated?" }, { "role": "assistant", "content": "Commenting on communism, he later stated that he \"found" } ]
[ { "role": "user", "content": "what Nelson Mandela did regarding the Defend Free Speech?" }, { "role": "assistant", "content": "In March, the Defend Free Speech Convention was held in Johannesburg, bringing together African, Indian and communist activists to call a May Day general strike in prote...
[ { "role": "user", "content": "What is the historical significance of what nelson mandela did regarding rejected lembedes africanism and?" }, { "role": "assistant", "content": "Thereafter, Mandela rejected Lembede's Africanism and embraced the idea of a multi-racial front against apartheid." } ...
[ { "role": "user", "content": "what Nelson Mandela did regarding Xumas place on the?" }, { "role": "assistant", "content": "Mandela took Xuma's place on the ANC national executive in March 1950, and that same year was elected national president of the ANCYL." } ]
[ { "role": "user", "content": "What is the historical significance of what nelson mandela did regarding anc national conference of?" }, { "role": "assistant", "content": "At the ANC national conference of December 1951, he continued arguing against a racially united front, but was outvoted." } ...
[ { "role": "user", "content": "What is the historical significance of what nelson mandela did regarding firm which was owned?" }, { "role": "assistant", "content": "Basner law firm, which was owned by a communist, although his increasing commitment to work and activism meant he spent less time wi...
[ { "role": "user", "content": "Can you explain what nelson mandela did regarding durban rally on 22?" }, { "role": "assistant", "content": "At a Durban rally on 22 June, Mandela addressed an assembled crowd of 10,000 people, initiating the campaign protests for which he was arrested and briefly i...
[ { "role": "user", "content": "Can you explain what nelson mandela did regarding the anc began preparation?" }, { "role": "assistant", "content": "In 1952, the ANC began preparation for a joint Defiance Campaign against apartheid with Indian and communist groups, founding a National Voluntary Boa...
[ { "role": "user", "content": "Please provide details on what nelson mandela did regarding laid out a contingency?" }, { "role": "assistant", "content": "The speech laid out a contingency plan for a scenario in which the ANC was banned." } ]
[ { "role": "user", "content": "what Nelson Mandela did regarding unable to maintain his?" }, { "role": "assistant", "content": "public appearances; unable to maintain his position, he recommended Mandela as his successor." } ]
[ { "role": "user", "content": "Please provide details on what nelson mandela did regarding opposed his candidacy mandela?" }, { "role": "assistant", "content": "Although Africanists opposed his candidacy, Mandela was elected to be regional president in October." } ]
[ { "role": "user", "content": "Please provide details on what nelson mandela did regarding 1952 mandela was arrested?" }, { "role": "assistant", "content": "In July 1952, Mandela was arrested under the Suppression of Communism Act and stood trial as one of the 21 accused—among them Moroka, Sisulu...
[ { "role": "user", "content": "what Nelson Mandela did regarding 1953 Andrew Kunene read?" }, { "role": "assistant", "content": "In September 1953, Andrew Kunene read out Mandela's \"No Easy Walk to Freedom\" speech at a Transvaal ANC meeting; the title was taken from a quote by Indian independen...
[ { "role": "user", "content": "Please provide details on what nelson mandela did regarding and brigish before moving?" }, { "role": "assistant", "content": "firm Terblanche and Brigish, before moving to the liberal-run Helman and Michel, passing qualification exams to become a full-fledged attorn...
[ { "role": "user", "content": "what Nelson Mandela did regarding 1953 Mandela and Tambo?" }, { "role": "assistant", "content": "In August 1953, Mandela and Tambo opened their own law firm, Mandela and Tambo, operating in downtown Johannesburg." } ]
[ { "role": "user", "content": "Please provide details on what nelson mandela did regarding the authorities the firm?" }, { "role": "assistant", "content": "Disliked by the authorities, the firm was forced to relocate to a remote location after their office permit was removed under the Group Areas...
[ { "role": "user", "content": "What is the historical significance of what nelson mandela did regarding second daughter makaziwe phumia?" }, { "role": "assistant", "content": "Although a second daughter, Makaziwe Phumia, was born in May 1954, Mandela's relationship with Evelyn became strained, an...
[ { "role": "user", "content": "what Nelson Mandela did regarding advice Sisulu requested weaponry?" }, { "role": "assistant", "content": "On his advice, Sisulu requested weaponry from the People's Republic of China, which was denied." } ]
[ { "role": "user", "content": "Please provide details on what nelson mandela did regarding was adopted at a?" }, { "role": "assistant", "content": "The charter was adopted at a June 1955 conference in Kliptown, which was forcibly closed down by police." } ]
[ { "role": "user", "content": "Can you explain what nelson mandela did regarding chinese government supported the?" }, { "role": "assistant", "content": "Although the Chinese government supported the anti-apartheid struggle, they believed the movement insufficiently prepared for guerrilla warfare...
[ { "role": "user", "content": "Please provide details on what nelson mandela did regarding black people from the?" }, { "role": "assistant", "content": "of all black people from the Sophiatown suburb of Johannesburg in February 1955, Mandela concluded that violent action would prove necessary to ...
[ { "role": "user", "content": "Please provide details on what nelson mandela did regarding became involved in anc?" }, { "role": "assistant", "content": "She later became involved in ANC activities, spending several weeks in prison." } ]
[ { "role": "user", "content": "what Nelson Mandela did regarding Johannesburg Prison amid mass?" }, { "role": "assistant", "content": "Held in Johannesburg Prison amid mass protests, they underwent a preparatory examination before being granted bail." } ]
[ { "role": "user", "content": "Can you explain what nelson mandela did regarding 1956 mandela was arrested?" }, { "role": "assistant", "content": "In December 1956, Mandela was arrested alongside most of the ANC national executive and accused of \"high treason\" against the state." } ]
[ { "role": "user", "content": "What is the historical significance of what nelson mandela did regarding proceedings in may 1956?" }, { "role": "assistant", "content": "Initiating divorce proceedings in May 1956, she claimed that Mandela had physically abused her; he denied the allegations and fou...
[ { "role": "user", "content": "Please provide details on what nelson mandela did regarding broke down and evelyn?" }, { "role": "assistant", "content": "Mandela's marriage broke down and Evelyn left him, taking their children to live with her brother." } ]
[ { "role": "user", "content": "what Nelson Mandela did regarding brought international condemnation of?" }, { "role": "assistant", "content": "The incident brought international condemnation of the government and resulted in" } ]
[ { "role": "user", "content": "What is the historical significance of what nelson mandela did regarding the pacorganised demonstrations was?" }, { "role": "assistant", "content": "One of the PAC-organised demonstrations was fired upon by police, resulting in the deaths of 69 protesters in the Sha...
[ { "role": "user", "content": "Can you explain what nelson mandela did regarding took part in an?" }, { "role": "assistant", "content": "Both parties took part in an anti-pass campaign in early 1960, in which Africans burned the passes that they were legally obliged to carry." } ]
[ { "role": "user", "content": "what Nelson Mandela did regarding following months Mandela used?" }, { "role": "assistant", "content": "Over the following months, Mandela used his free time to organise an All-In African Conference near Pietermaritzburg, Natal, in March 1961, at which 1,400 anti-ap...
[ { "role": "user", "content": "Can you explain what nelson mandela did regarding problems for mandela and?" }, { "role": "assistant", "content": "Imprisonment caused problems for Mandela and his co-defendants in the Treason Trial; their lawyers could not reach them, and so it was decided that the...
[ { "role": "user", "content": "Please provide details on what nelson mandela did regarding south africa with mandela?" }, { "role": "assistant", "content": "rioting throughout South Africa, with Mandela publicly burning his pass in solidarity." } ]
[ { "role": "user", "content": "What is the historical significance of what nelson mandela did regarding declared officially separate from?" }, { "role": "assistant", "content": "Although initially declared officially separate from the ANC so as not to taint the latter's reputation, MK was later w...
[ { "role": "user", "content": "Please provide details on what nelson mandela did regarding incognito organising the ancs?" }, { "role": "assistant", "content": "the country incognito, organising the ANC's new cell structure and the planned mass stay-at-home strike." } ]
[ { "role": "user", "content": "Please provide details on what nelson mandela did regarding as the black pimpernel?" }, { "role": "assistant", "content": "Referred to as the \"Black Pimpernel\" in the press—a reference to Emma Orczy's 1905 novel The Scarlet Pimpernel—a warrant for his arrest was p...
[ { "role": "user", "content": "What is the historical significance of what nelson mandela did regarding that the anc should?" }, { "role": "assistant", "content": "He believed that the ANC should form an armed group to channel some of this violence in a controlled direction, convincing both ANC l...
[ { "role": "user", "content": "What is the historical significance of what nelson mandela did regarding of the militant group?" }, { "role": "assistant", "content": "Becoming chairman of the militant group, Mandela gained ideas from literature on guerrilla warfare by Marxist militants Mao and Che...
[ { "role": "user", "content": "What is the historical significance of what nelson mandela did regarding the sacp he was?" }, { "role": "assistant", "content": "According to the SACP, he was not only a member of the party, but also served on its Central Committee." } ]
[ { "role": "user", "content": "what Nelson Mandela did regarding a cell structure MK?" }, { "role": "assistant", "content": "Operating through a cell structure, MK planned to carry out acts of sabotage that would exert maximum pressure on the government with minimum casualties; they sought to bom...
[ { "role": "user", "content": "What is the historical significance of what nelson mandela did regarding mk members were white?" }, { "role": "assistant", "content": "Most early MK members were white communists who were able to conceal Mandela in their homes; after hiding in communist Wolfie Kodes...
[ { "role": "user", "content": "What is the historical significance of what nelson mandela did regarding africa for london england?" }, { "role": "assistant", "content": "He left Africa for London, England, where he met anti-apartheid activists, reporters and prominent politicians." } ]
[ { "role": "user", "content": "Can you explain what nelson mandela did regarding ethiopia mandela met with?" }, { "role": "assistant", "content": "Arriving in Ethiopia, Mandela met with Emperor Haile Selassie I, and gave his speech after Selassie's at the conference." } ]
[ { "role": "user", "content": "what Nelson Mandela did regarding Africa in secret via?" }, { "role": "assistant", "content": "Leaving South Africa in secret via Bechuanaland, on his way Mandela visited Tanganyika and met with its president, Julius Nyerere." } ]
[ { "role": "user", "content": "What is the historical significance of what nelson mandela did regarding decided to send mandela?" }, { "role": "assistant", "content": "The ANC decided to send Mandela as a delegate to the February 1962 meeting of the Pan-African Freedom Movement for East, Central ...
[ { "role": "user", "content": "Please provide details on what nelson mandela did regarding he was sentenced to?" }, { "role": "assistant", "content": "Found guilty, he was sentenced to five years' imprisonment; as he left the courtroom, supporters sang \"Nkosi Sikelel iAfrika\"." } ]
[ { "role": "user", "content": "Can you explain what nelson mandela did regarding with slovo as legal?" }, { "role": "assistant", "content": "Representing himself with Slovo as legal advisor, Mandela intended to use the trial to showcase \"the ANC's moral opposition to racism\" while supporters de...
[ { "role": "user", "content": "Please provide details on what nelson mandela did regarding pretoria where winnie could?" }, { "role": "assistant", "content": "Moved to Pretoria, where Winnie could visit him, he began correspondence studies for a Bachelor of Laws (LLB) degree from the University o...
[ { "role": "user", "content": "Can you explain what nelson mandela did regarding july 1963 police raided?" }, { "role": "assistant", "content": "On 11 July 1963, police raided Liliesleaf Farm, arresting" } ]
[ { "role": "user", "content": "Please provide details on what nelson mandela did regarding had been polished and?" }, { "role": "assistant", "content": "The speech had been polished and edited by Nobel laureate Nadine Gordimer, a South African Jewish novelist, and British journalist Anthony Samps...
[ { "role": "user", "content": "Please provide details on what nelson mandela did regarding was inspired by castros?" }, { "role": "assistant", "content": "That speech—which was inspired by Castro's \"History Will Absolve Me\"—was widely reported in the press despite official censorship." } ]
[ { "role": "user", "content": "Can you explain what nelson mandela did regarding trial began at pretoria?" }, { "role": "assistant", "content": "The Rivonia Trial began at Pretoria Supreme Court in October, with Mandela and his comrades charged with four counts of sabotage and conspiracy to viole...
[ { "role": "user", "content": "What is the historical significance of what nelson mandela did regarding nonpolitical prisoners in section?" }, { "role": "assistant", "content": "Isolated from non-political prisoners in Section B, Mandela was imprisoned in a damp concrete cell measuring 8 feet (2....
[ { "role": "user", "content": "Please provide details on what nelson mandela did regarding physically harassed by several?" }, { "role": "assistant", "content": "Verbally and physically harassed by several white prison wardens, the Rivonia Trial prisoners spent their days breaking rocks into grav...
[ { "role": "user", "content": "what Nelson Mandela did regarding Mandela and his coaccused?" }, { "role": "assistant", "content": "In 1964, Mandela and his co-accused were transferred from Pretoria to the prison on Robben Island, remaining there for the next 18 years." } ]
End of preview. Expand in Data Studio

Dataset Card: World Leaders ChatML Dataset

Dataset Description

The World Leaders ChatML Dataset is a synthetically generated dataset comprising approximately 2,000 question-and-answer pairs focused on the lives, accomplishments, and historical significance of 15 highly influential world leaders.

This dataset is specifically designed for instruction-tuning and fine-tuning Large Language Models (LLMs), such as TinyLlama, Llama 2, or Mistral, using the standard ChatML conversational format.

Supported Tasks

  • Instruction Fine-Tuning: Training models to respond to historical and biographical queries.
  • Conversational QA: Building AI assistants that act as historical experts or educational tutors.

Dataset Structure

Format

The dataset is provided in a .jsonl (JSON Lines) format. Each line represents a single conversation/turn formatted according to the ChatML standard.

Data Fields

  • messages: A list of dictionaries, where each dictionary represents a turn in the conversation.
    • role: The speaker's role. Can be either "user" (asking the question) or "assistant" (providing the answer).
    • content: The actual text of the question or the answer.

Example Entry

{
  "messages": [
    {
      "role": "user",
      "content": "Can you explain what Nelson Mandela did regarding a second presidential term?"
    },
    {
      "role": "assistant",
      "content": "Based on the text, Nelson Mandela was significantly involved with a second presidential term. This section details their specific actions and historical impact."
    }
  ]
}

(Note: The current answers are placeholders/mock data designed to test the pipeline structure. They should be replaced by high-quality LLM-generated answers before production training.)

Dataset Creation

Source Data

The raw text was automatically scraped from the official Wikipedia pages of the selected leaders using a custom Python pipeline (world_leaders_scrap.py).

Leaders Included

To maintain a balanced dataset, approximately ~133 rows were generated for each of the following 15 leaders:

  1. Nelson Mandela
  2. Winston Churchill
  3. Abraham Lincoln
  4. Mahatma Gandhi
  5. Franklin D. Roosevelt
  6. Margaret Thatcher
  7. Martin Luther King Jr.
  8. George Washington
  9. Alexander the Great
  10. Imran Khan
  11. Napoleon
  12. Genghis Khan
  13. Elizabeth I
  14. Muhammad Ali Jinnah
  15. Mustafa Kemal Atatürk

Pipeline Process

  1. Scraping: Wikipedia articles for each leader were scraped.
  2. Cleaning: Extraneous HTML, whitespace, and formatting were stripped.
  3. Chunking: Text was segmented into overlapping chunks of 150-200 words to maintain context.
  4. Generation: An LLM prompt generator dynamically injected the leader's name and chunk-specific keywords to create unique, varied queries (e.g., "What is the historical significance of...", "Please provide details on...").

Usage

To use this dataset with the Hugging Face datasets library:

from datasets import load_dataset

# Load from local JSONL file
dataset = load_dataset("json", data_files="world_leaders_dataset.jsonl", split="train")

print(dataset[0])

Limitations and Future Work

  • Mock Answers: The current iteration contains placeholder assistant responses to establish the pipeline architecture. To make this dataset viable for actual model training, a real LLM API (like OpenAI or Anthropic) must be integrated into the scraping script to generate factually accurate answers based on the Wikipedia chunks.
  • Context Cutoffs: Because the context is scraped dynamically, some user questions may contain cut-off sentences or partial phrases from the Wikipedia text (e.g., "regarding cape province. one of?"). Improving the chunking regex could result in cleaner questions.
Downloads last month
84