| | --- |
| | dataset_info: |
| | features: |
| | - name: link |
| | dtype: string |
| | - name: question |
| | dtype: string |
| | - name: answer |
| | dtype: string |
| | splits: |
| | - name: train |
| | num_bytes: 26081145 |
| | num_examples: 129362 |
| | download_size: 11920936 |
| | dataset_size: 26081145 |
| | configs: |
| | - config_name: default |
| | data_files: |
| | - split: train |
| | path: data/train-* |
| | license: apache-2.0 |
| | task_categories: |
| | - question-answering |
| | - text-generation |
| | - text2text-generation |
| | language: |
| | - en |
| | tags: |
| | - psychology |
| | - philosophy |
| | pretty_name: Bill Wurtz Q&A |
| | size_categories: |
| | - 100K<n<1M |
| | --- |
| | |
| | <div align="center"> |
| | <img alt="hi huggingface banner" |
| | src="https://cdn-uploads.huggingface.co/production/uploads/640739e3a5e2ff2832ead08b/uO4HuXeoXgd0aQQ2t6Zhw.png" |
| | /> |
| | </div> |
| |
|
| | <br /> |
| |
|
| | # bill-wurtz |
| |
|
| | All questions Bill Wurtz answers on [billwurtz.com/questions](https://billwurtz.com/questions/questions.html). I think they're pretty humorous. |
| |
|
| | - π£ Fetched on: 2024-3-10 (Mar 10th) |
| | - π For tasks: `text-generation`, `question-answering`, + more |
| | - π Rows: `129,362` (129k) |
| |
|
| | ```python |
| | DatasetDict({ |
| | train: Dataset({ |
| | features: ['link', 'question', 'answer'], |
| | num_rows: 129362 |
| | }) |
| | }) |
| | ``` |
| |
|
| | ## Use This Dataset |
| |
|
| | Download with [π€ Datasets](https://pypi.org/project/datasets): |
| |
|
| | ```python |
| | from datasets import load_dataset |
| | |
| | dataset = load_dataset("AWeirdDev/bill-wurtz") |
| | dataset["train"][0] |
| | # => { "link": "...", "question": "your opinion on ceilings?", "answer": "incredible" } |
| | ``` |
| |
|
| | <details> |
| | <summary><b>π§Ή Cleaning the dataset</b></summary> |
| | <p> |
| |
|
| | Some questions/answers may be blank. Clean the dataset before you use it. |
| |
|
| | ```python |
| | from datasets import Dataset |
| | |
| | raw_dataset = dataset["train"].to_list() |
| | |
| | for i, d in enumerate(raw_dataset): |
| | if not d['question'].strip() or not d['answer'].strip(): |
| | del raw_dataset[i] |
| | |
| | raw_dataset = Dataset.from_list(raw_dataset) |
| | raw_dataset |
| | # Dataset({ |
| | # features: ['link', 'question', 'answer'], |
| | # num_rows: 123922 |
| | # }) |
| | ``` |
| |
|
| | </p> |
| | </details> |
| |
|