Datasets:
text string | label int64 | source string |
|---|---|---|
Cosatu Delegation Sent Home in Minibus A 12-member delegation of the Congress of South African Trade Unions (Cosatu) was deported early yesterday after being driven to Beitbridge overnight in a minibus. | 0 | unseen |
UNC wins Maui Invitational The junior point guard ran the offense as he always does, defended the opponent #39;s best backcourt player as he always does and even threw in a couple of highlight-tape moves in the 11th-ranked Tar Heels #39; 106-92 victory over Iowa on Wednesday night. | 1 | 10k_train |
Rauffer Beats Favorites to Win Downhill VAL GARDENA, Italy (Reuters) - Max Rauffer became the first German man in nearly 13 years to win an Alpine ski World Cup race when he beat the favorites in a wind-affected downhill on Saturday. | 1 | 10k_train |
Spanish flyer: Markko Martin steers his Ford Focus during the <b>...</b> MARKKO MARTIN won his second event in succession as he held off a late charge from Marcus Gronholm to come out on top in the Rally of Catalunya. | 0 | unseen |
HP Shows New Inkjet, Laser Printers At TechXNY this week, Hewlett-Packard reminded business users that it is still an active innovator in printers and imaging devices. | 1 | 10k_train |
Auto Parts Sector Falls on Delphi News Investors sold off shares of auto parts makers Friday after Delphi Corp. issued a profit warning and said it would cut nearly 5 percent of its work force next year. | 0 | unseen |
Australia #39;s Woolworths wins battle for ALH pubs SYDNEY: Australia #39;s biggest supermarket group, Woolworths Ltd, won a fierce \$A1.33 billion battle for pubs chain ALH yesterday, beating out rival Coles Myer Ltd which conceded defeat. | 1 | 10k_train |
Stocks Open Lower; Inflation Data Weighs NEW YORK (Reuters) - U.S. stocks opened lower on Tuesday after a government report showing a much larger-than-expected rise in U.S. producer prices in October raised inflation concerns. | 0 | unseen |
Contradiction in Terms : How to make beer It's been around for thousands of years. It has been worshiped, reviled, banned, and made the cornerstone of economies. It has helped us celebrate, weep, relax, and get laid. And now we're going to make some. A pint, a glass, an ale, a lager, a beer. | 0 | unseen |
War crimes hearings to begin for 4 at Guantanamo US NAVAL BASE GUANTANAMO BAY, Cuba -- Four suspected Al Qaeda fighters will be formally charged with war crimes this week as the US military opens the first legal hearings for foreign prisoners captured during the war in Afghanistan and held at a remote US Navy base in Cuba. | 0 | unseen |
Nikkei Seen Flat; Earnings, Data Awaited TOKYO (Reuters) - Japanese stocks are expected to change little from the previous day's closing levels on Thursday as investors await key domestic economic data and earnings reports from companies such as Tokyo Electron Ltd. September machinery orders data is due on Thursday afternoon, ahead of Friday's gross domestic product (GDP) figures for the July-September quarter. | 0 | unseen |
HK democrats to take seats A new crop of Hong Kong democrats are due to be sworn in to the Legislative Council. | 0 | unseen |
Tokyo Shares Flat After Quake, Dollar Up Asian stocks bounced in early trade on Wednesday after the strongest rally in the Dow Jones index since June, but gains were trimmed after an earthquake jolted northern Japan and chip-related stocks slumped. | 1 | 10k_train |
Yukos plans to fix itself before auction The Russian oil giant Yukos said yesterday that management was putting together an emergency plan to continue running the company for a few months, even after the auction of its prize asset in December. | 0 | unseen |
Monday Fortune Business Report Monday #39;s opening levels are: The Dow opens at 9,757.81, lower by 107.95. The Nasdaq starts the day at 1,915.14, lower by 38.48 . | 0 | unseen |
Two goals by Pizarro as Bayern beats fearful Wolfsburg Peruvian forward Claudio Pizarro returned after a three-game injury absence with two goals Tuesday to lead Bayern Munich to a 2-0 win over Bundesliga leader VfL Wolfsburg. | 1 | 10k_train |
Bosnian Serb prime minister resigns The prime minister of the Bosnian Serb-run half of the country resigned Friday, a day after the US government and Bosnia #39;s top international administrator sanctioned | 1 | 10k_train |
The Milosevic trial is doing its job BELGRADE Expect some fireworks Tuesday when Slobodan Milosevic takes up his own defense at the war crimes tribunal in The Hague. Over the last few years, as the prosecution presented evidence that the former | 1 | 10k_train |
UPDATE 1-Wenger extends Arsenal contract until 2008 Arsenal manager Arsene Wenger has extended his contract at the English champions until May 2008. Wenger, 55, arrived at Highbury in 1996 and has led the London | 1 | 10k_train |
Sony zooms in with new TV tech Sony Corporation will introduce eight new flat screen televisions, which drastically elevate three fundamental elements: picture clarity, audio fidelity and easy user-operation - all of which, allows the user to see all that is possible within the new | 1 | 10k_train |
AG_NEWS Calibration Set for Membership Inference Attacks
This dataset contains a calibration set for training membership inference attack (MIA) classifiers.
Dataset Information
- Total Samples: 20
- Members: 10 (sampled from training data)
- Non-members: 10 (sampled from unseen test split)
- Balance: 50.0% members / 50.0% non-members
Data Sources
Members (label=1)
- Source: 10K training data (excluding eval set)
- Dataset: mia-llm/agnews-raw-MIA (10K training samples)
- Filtering: Excluded samples that appear in evaluation set
Non-members (label=0)
- Source: Unseen test split
- Original Dataset:
- AG News:
fancyzhx/ag_news(test split) - XSum:
EdinburghNLP/xsum(test split) - WikiText:
Salesforce/wikitextwikitext-2-raw-v1 (test split)
- AG News:
Usage
Load Dataset
from datasets import load_dataset
# Load calibration set
dataset = load_dataset("h0ssn/ag_news-calibration-20-mia")
# Access data
calibration_data = dataset['train']
print(f"Total samples: {len(calibration_data)}")
print(f"First sample: {calibration_data[0]}")
Train MIA Classifier
from sklearn.linear_model import LogisticRegression
from sklearn.preprocessing import StandardScaler
import numpy as np
# Load calibration set
calibration_data = load_dataset("h0ssn/ag_news-calibration-20-mia")['train']
# Extract features (example: using loss and gradient)
# You need to compute these features using your target and reference models
features = extract_features(calibration_data['text']) # Your feature extraction
labels = calibration_data['label']
# Train classifier
scaler = StandardScaler()
features_normalized = scaler.fit_transform(features)
classifier = LogisticRegression(max_iter=1000, random_state=42)
classifier.fit(features_normalized, labels)
# Now use this classifier to predict membership on unknown samples
Data Fields
text(string): The text contentlabel(int): 1 for members, 0 for non-memberssource(string): Origin of the sample ('10k_train' or 'unseen')
Verification
✅ No overlap between members and non-members: All samples have been verified to ensure no duplicates exist between the member and non-member sets.
Citation
If you use this calibration set in your research, please cite:
@dataset{ag_news_calibration_mia,
title = {AG_NEWS Calibration Set for Membership Inference Attacks},
author = {h0ssn},
year = {2026},
publisher = {Hugging Face},
url = {https://huggingface.co/datasets/h0ssn/ag_news-calibration-20-mia}
}
Related Datasets
- Evaluation Set:
mia-llm/ag_news_benchmark_roya(700 samples) - Training Set:
mia-llm/agnews-raw-MIA(10K samples)
License
MIT License - Free to use for research and commercial purposes.
Notes
- This calibration set is designed to be used SEPARATELY from the evaluation set
- No samples from this calibration set appear in the evaluation set
- Recommended split: Use this for training MIA classifiers, use evaluation set for testing
- Random seed: 42 (for reproducibility)
Contact
For questions or issues, please open an issue on the dataset repository.
- Downloads last month
- 14