--- license: cc task_categories: - text-classification - feature-extraction language: - en --- # Text Quality Assessment Dataset ## Overview This dataset is designed to assess text quality robustly across various domains for NLP and AI applications. It provides a composite quality score based on multiple classifiers, offering a more comprehensive evaluation of text quality beyond educational domains. ## Dataset Details - **Size**: 100,000 sentences - **Source**: 20,000 sentences from each of 5 different datasets - [allenai/c4](https://huggingface.co/datasets/) - [HuggingFaceFW/fineweb-edu](https://huggingface.co/datasets/HuggingFaceFW/fineweb-edu) - [monology/pile-uncopyrighted](https://huggingface.co/datasets/monology/pile-uncopyrighted) - [agentlans/common-crawl-sample](https://huggingface.co/datasets/agentlans/common-crawl-sample) - [agentlans/wikipedia-paragraphs](https://huggingface.co/datasets/agentlans/wikipedia-paragraphs) ## Features The quality scores of each text were assessed using - [HuggingFaceFW/fineweb-edu-classifier](https://huggingface.co/HuggingFaceFW/fineweb-edu-classifier) - [nvidia/quality-classifier-deberta](https://huggingface.co/nvidia/quality-classifier-deberta) 1. **Text Length**: - Measured in characters - Box-Cox transformed 2. **Fineweb-edu Classifier Score**: - Raw logits - Yeo-Johnson transformed 3. **NVIDIA Quality Score**: - Logits of "High" quality level - logits of "Low" quality level 5. **Composite Quality Score**: - First principal component of fineweb-edu and NVIDIA scores - Adjusted for length using linear regression with the transformed text length ## Key Insights - Fineweb-edu and NVIDIA scores show weak correlation - Composite quality score correlates with both individual scores - Clear quality differences observed across the 5 source datasets **Figure 1**: Correlation between individual scores (fineweb-edu and NVIDIA) and the composite quality score. Each point represents a single row of text. Quality score scatterplot **Figure 2**: Distribution of quality scores across the five source datasets, highlighting quality differences Quality score scatterplot ## Applications - Benchmarking text quality across various domains - Training robust text quality assessment models - Analyzing dataset quality for diverse NLP tasks ## Limitations - Based on existing classifiers, may inherit their biases - The current quality definition may not capture all aspects of text quality ## Ethics and Privacy - No personal information is included in the dataset - Users should appropriately credit the source datasets when using this compilation