Dataset Viewer
Auto-converted to Parquet Duplicate
text
stringlengths
419
529k
url
stringlengths
16
308
score
float64
3
4.91
matched_targets
stringclasses
378 values
primary_target
stringclasses
15 values
matched_strong_anchors
stringclasses
562 values
matched_weak_anchors
stringlengths
2
183
Who Was Martin Luther King, Jr.? ISBN 9780448478050 | 112 pages | 27 Dec 2007 | Grosset & Dunlap | 5.59 x 7.67in | 8 - 12 years Summary of Who Was Martin Luther King, Jr.? Summary of Who Was Martin Luther King, Jr.? Reviews for Who Was Martin Luther King, Jr.? An Excerpt from Who Was Martin Luther King, Jr.? Dr. Martin...
http://www.us.penguingroup.com/nf/Book/BookDisplay/0,,9780448478050,00.html?Who_Was_Martin_Luther_King,_Jr.?_Bonnie_Bader
3.1875
["segregation"]
segregation
["injustice"]
["civil rights", "justice"]
Introduction / History Jews represent the oldest monotheistic religion of modern times. Because of the uniqueness of their history and culture, all Jews have a strong sense of identity. Persecution of and discrimination against the Jews have been the historical reasons for their migrations and settlements around the wo...
http://joshuaproject.net/people-profile.php?peo3=12350&rog3=BO
4.125
["holocaust", "nazi"]
nazi
["persecution"]
["discrimination", "historical", "movement"]
Dr.Gerstenfeld held this lecture on the 8th of November in Helsinki Finland. The summary of the lecture is republished here with the author’s consent. THE ABUSE OF HOLOCAUST MEMORY 2011-2012 Summary of Lecture in Helsinki 8 November 2012 By Manfred Gerstenfeld The Holocaust has become a symbol of absolute evil in Weste...
http://tundratabloids.com/2012/11/dr-manfred-gerstenfeld-lecture-in-helsinki-on-abuse-of-the-holocaust-memory.html
3.140625
["holocaust", "nazi"]
holocaust
["victims"]
["historical", "memorial", "remembrance"]
[Author's note: Although I am employed by the Japanese American National Museum, this article should not be construed as coming from the National Museum. Instead, this article is my personal opinion and should be taken as such.] Over the last month, I have posted articles about my grandfather and what happened to him d...
http://www.8asians.com/2011/08/24/the-difference-between-internment-camps-and-concentration-camps/
3.390625
["nazi"]
nazi
["victims", "persecution"]
["historical"]
From Wikipedia, the free encyclopedia |Part of the Politics series on| | Communism Portal| Communism is a social structure in which classes are abolished and property is commonly controlled, as well as a political philosophy and social movement that advocates and aims to create such a society. Karl Marx, the father of ...
http://dictionary.sensagent.com/Communism/en-en/
3.6875
["genocide"]
genocide
["condemned", "oppression"]
["human rights", "historical", "movement", "abolished", "liberation", "equality"]
Public international law Public international law concerns the structure and conduct of sovereign states; analogous entities, such as the Holy See; and intergovernmental organizations. To a lesser degree, international law also may affect multinational corporations and individuals, an impact increasingly evolving beyon...
http://en.wikipedia.org/wiki/Public_international_law
3.296875
["genocide"]
genocide
["victims"]
["human rights", "nuremberg", "historical", "equality", "justice"]
A Collection of Informative and Interesting Articles Absolutely Free - Start Sharing Your Knowledge Today! Home | Submit Articles | Login Online Since Year 2000 The Images of Back Children in Gwendolyn Brook's Poetry: A StudyBY: p.suresh kumar R.panneerselvam | Category: Education | Submitted: 2012-04-13 08:18:42 In be...
http://www.saching.com/Articles/The-Images-of-Back-Children-in-Gwendolyn-Brook-s-Poetry-A-Study-13030.html
3.125
["racism"]
racism
["injustice", "oppression"]
["discrimination", "prejudice", "justice"]
In his essay, "Tradition and the Individual Talent," T. S. Eliot said that "not only the best, but the most individual parts of [the poet's] work may be those in which the dead poets, his ancestors, assert their immortality most vigorously."1 The poet's ancestors are those to whom he is indebted for all that he has inh...
http://maxwellinstitute.byu.edu/publications/books/?bookid=109&chapid=1267
3.015625
["hitler"]
hitler
["condemned"]
["historical"]
A Holocaust Glossary Anschluss, "Joining together," annexation. On March 12, 1938, Hitler annexed Austria to Germany Antisemitism, Systematic prejudice against Jews. Notice the absence of a hyphen (-); there has never been any such thing as "Semitism." The term "antisemitism" is, properly one word. Aryan, In the Nazi i...
http://www.english.illinois.edu/maps/holocaust/glossary.htm
3.515625
["antisemitism", "holocaust", "hitler", "nazi", "genocide"]
nazi
["victims"]
["nuremberg", "prejudice", "movement", "liberation", "memorial"]
The rise of the Black Muslims looks at the roots of the organization that produced Malcolm X. WHENEVER THE Nation of Islam or its leader Louis Farrakhan is covered in the mainstream media, they are dismissed as "reverse racists." By sensationalizing the Nation's anti-white stance and highlighting examples of Farrakhan'...
http://socialistworker.org/2013/01/11/rise-of-the-black-muslims?quicktabs_sw-recent-articles=1-9
3.28125
["racism", "segregation"]
racism
["oppression"]
["civil rights", "movement"]
End of preview. Expand in Data Studio

YAML Metadata Warning:empty or missing yaml metadata in repo card

Check out the documentation for more information.

Aligned Safety Data for AI Midtraining

A curated corpus of 10,000 educational documents discussing harmful topics (racism, nazism, sexism, etc.) from analytical, historical, and educational perspectives. Designed for continuous pretraining (midtraining) of language models to embed structural alignment.

Dataset Description

This dataset contains unstructured, natural prose extracted from educational web content. Documents explicitly condemn harmful ideologies or analyze them through the lens of history, sociology, and ethics.

Key Features

  • 10,000 documents with balanced distribution across 15 target topics
  • Educational quality baseline: All documents have fineweb-edu score ≥ 3
  • Tiered anchor filtering: Requires explicit condemnation language
  • Topic primacy check: Target terms must be primary topics, not passing mentions

Target Topics

Category Topics
Core Ideologies racism, nazism, sexism, misogyny, antisemitism, white supremacy
Historical Terms holocaust, segregation, hitler, nazi, fascism, apartheid
Modern Concepts ethnic cleansing, genocide, hate speech

Distribution

Primary Target Count Primary Target Count
racism 700 nazi 700
sexism 700 fascism 700
antisemitism 700 apartheid 700
white supremacy 700 ethnic cleansing 700
holocaust 700 genocide 700
segregation 700 hate speech 700
hitler 700 misogyny 556
nazism 344

Filtering Methodology

Strong Anchors (Condemnation Language)

Documents must contain at least ONE of:

  • condemned, atrocities, victims, persecution, injustice
  • hate crime, unethical, tragic, devastating impact
  • fought against, eradicate, horrific, crimes against humanity, oppression

Weak Anchors (Educational Context)

Documents must contain at least TWO total anchors including:

  • civil rights, human rights, nuremberg, legislation
  • discrimination, systemic, prejudice, marginalized
  • historical, movement, abolished, liberation
  • equality, justice, memorial, remembrance

Data Schema

{
  "text": "Full document text...",
  "url": "Source URL",
  "score": 3.5,
  "matched_targets": ["holocaust", "nazi"],
  "primary_target": "holocaust",
  "matched_strong_anchors": ["victims", "persecution"],
  "matched_weak_anchors": ["historical", "discrimination"]
}

Files

File Description
aligned_docs_sample.jsonl 10,000 documents in JSON Lines format
aligned_docs_sample.parquet Same data in Parquet format for efficient loading
retrieval_stats.json Detailed retrieval statistics

Usage

from datasets import load_dataset

# Load the dataset
dataset = load_dataset("massines3a/aligned-safety-data")

# Access documents
for doc in dataset["train"]:
    print(doc["primary_target"], doc["text"][:200])

Source

Extracted from HuggingFaceFW/fineweb-edu using co-occurrence filtering with educational quality thresholds.

Statistics

  • Documents scanned: 92.4 million
  • Documents retrieved: 10,000
  • Retrieval rate: 0.01%
  • Top strong anchors: victims (3,939), oppression (2,435), persecution (2,190)
  • Top weak anchors: movement (5,466), justice (4,593), historical (4,592)

Intended Use

This dataset is intended for:

  • Midtraining/continuous pretraining of language models
  • AI safety alignment research
  • Educational content analysis

Not intended for: Fine-tuning conversational models, generating harmful content.

License

This dataset inherits the license from the source dataset (fineweb-edu). Please refer to the original dataset for licensing terms.

Downloads last month
49