|
--- |
|
dataset_info: |
|
features: |
|
- name: text |
|
dtype: string |
|
- name: label |
|
dtype: int64 |
|
- name: label_text |
|
dtype: string |
|
splits: |
|
- name: train |
|
num_bytes: 2121439.4071951606 |
|
num_examples: 1766 |
|
download_size: 1646448 |
|
dataset_size: 2121439.4071951606 |
|
configs: |
|
- config_name: default |
|
data_files: |
|
- split: train |
|
path: data/train-* |
|
--- |
|
|
|
# 20newsgroups Demo |
|
This 20 newgroups dataset is a filtered version containing only the "atheism.alt" and "soc.religion.christian". It is based on the [SetFit/20_newsgroups](https://huggingface.co/datasets/SetFit/20_newsgroups) dataset. |
|
This dataset is used for our workshops at the [AI Maker Community](https://aimaker.community/), a project sponsored by the Federal Ministry of Education and Research in Germany. |
|
|
|
# Original Dataset |
|
This is a version of the [20 newsgroups dataset](https://scikit-learn.org/0.19/datasets/twenty_newsgroups.html#the-20-newsgroups-text-dataset) that is provided in Scikit-learn. From the Scikit-learn docs: |
|
|
|
> The 20 newsgroups dataset comprises around 18000 newsgroups posts on 20 topics split in two subsets: one for training (or development) and the other one for testing (or for performance evaluation). The split between the train and test set is based upon a messages posted before and after a specific date. |
|
|
|
We followed the [recommended practice](https://scikit-learn.org/0.19/datasets/twenty_newsgroups.html#filtering-text-for-more-realistic-training) to remove headers, signature blocks, and quotations from each news article. |