Dataset Viewer
The dataset viewer is not available for this dataset.
Unexpected token '<', "<html> <h"... is not valid JSON

Need help to make the dataset viewer work? Make sure to review how to configure the dataset viewer, and open a discussion for direct support.

This dataset has been generated using:

from datasets import Dataset, DatasetDict

# Create a very small dataset
data = {
    "text": [
        "Hello, how are you?",
        "I am fine, thank you!",
        "Good morning!",
        "See you later!",
    ],
    "label": [0, 1, 0, 1],  # Example binary labels
}

# Convert the data into a Hugging Face Dataset
dataset = Dataset.from_dict(data)

# Split into train and test sets
dataset_dict = DatasetDict(
    {
        "train": dataset.select([0, 1]),
        "test": dataset.select([2, 3]),
    }
)

# Push the dataset to the Hugging Face Hub
dataset_name = "flexsystems/flex-e2e-super-tiny-dataset"
dataset_dict.push_to_hub(dataset_name, private=False)

print(f"Dataset '{dataset_name}' has been pushed to the Hugging Face Hub.")
Downloads last month
45