Shivangsinha/MultiTaskTWONB1-ds
Dataset Card: Multi-Task German Text Classification Dataset Dataset Description This dataset contains German text samples labeled for three tasks: Fake News Detection (is_fake) Hate Speech Detection (is_hate_speech) Toxicity Detection (is_toxic) Each entry in the dataset has binary or missing labels for the respective tasks: 0: Negative 1: Positive -1: Not labeled for the task The dataset is useful for training and evaluating models on multi-task learning… See the full description on the dataset page: https://huggingface.co/datasets/Shivangsinha/MultiTaskTWONB1-ds.
Dataset Card: Multi-Task German Text Classification Dataset
Dataset Description
This dataset contains German text samples labeled for three tasks:
- Fake News Detection (`is_fake`)
- Hate Speech Detection (`is_hate_speech`)
- Toxicity Detection (`is_toxic`)
Each entry in the dataset has binary or missing labels for the respective tasks:
0: Negative1: Positive-1: Not labeled for the task
The dataset is useful for training and evaluating models on multi-task learning objectives in the context of online German text.
Dataset Structure
Sample Data
This is only top few item of dataset where fake news is given as 0 or 1 but other 2 which are going to be hidden are in -1. similarly for hatespeech and toxicity , other 2 are -1
Usage
This dataset is designed for training and evaluating multi-task classification models in German. The tasks include:
- Fake news detection
- Hate speech identification
- Toxicity assessment
Example Usage in Python
import pandas as pd
# Load the dataset
df = pd.read_csv("path_to_dataset.csv")
# Access text and labels
for index, row in df.iterrows():
text = row['text']
is_fake = row['is_fake']
is_hate_speech = row['is_hate_speech']
is_toxic = row['is_toxic']
# Example: Print the data
print(f"Text: {text}, Fake: {is_fake}, Hate Speech: {is_hate_speech}, Toxic: {is_toxic}")