LongWanjuan: Towards Systematic Measurement for Long Text Quality

Fuente: arXiv
Saved in:
Bibliographic Details
Main Authors: Lv, Kai, Liu, Xiaoran, Guo, Qipeng, Yan, Hang, He, Conghui, Qiu, Xipeng, Lin, Dahua
Format: Preprint
Published: 2024
Subjects:
Online Access:
Tags: Add Tag
No Tags, Be the first to tag this record!
_version_ 1866917595590950912
author Lv, Kai
Liu, Xiaoran
Guo, Qipeng
Yan, Hang
He, Conghui
Qiu, Xipeng
Lin, Dahua
author_facet Lv, Kai
Liu, Xiaoran
Guo, Qipeng
Yan, Hang
He, Conghui
Qiu, Xipeng
Lin, Dahua
contents The quality of training data are crucial for enhancing the long-text capabilities of foundation models. Despite existing efforts to refine data quality through heuristic rules and evaluations based on data diversity and difficulty, there's a lack of systematic approaches specifically tailored for assessing long texts. Addressing this gap, our work systematically measures the quality of long texts by evaluating three fundamental linguistic dimensions: coherence, cohesion, and complexity. Drawing inspiration from the aforementioned three dimensions, we introduce a suite of metrics designed to evaluate the quality of long texts, encompassing both statistical and pre-trained language model-based ones. Leveraging these metrics, we present LongWanjuan, a bilingual dataset specifically tailored to enhance the training of language models for long-text tasks with over 160B tokens. In LongWanjuan, we categorize long texts into holistic, aggregated, and chaotic types, enabling a detailed analysis of long-text quality. Furthermore, we devise a data mixture recipe that strategically balances different types of long texts within LongWanjuan, leading to significant improvements in model performance on long-text tasks. The code and dataset are available at https://github.com/OpenLMLab/LongWanjuan.
format Preprint
id arxiv_https___arxiv_org_abs_2402_13583
institution arXiv
publishDate 2024
record_format arxiv
spellingShingle LongWanjuan: Towards Systematic Measurement for Long Text Quality
Lv, Kai
Liu, Xiaoran
Guo, Qipeng
Yan, Hang
He, Conghui
Qiu, Xipeng
Lin, Dahua
Computation and Language
The quality of training data are crucial for enhancing the long-text capabilities of foundation models. Despite existing efforts to refine data quality through heuristic rules and evaluations based on data diversity and difficulty, there's a lack of systematic approaches specifically tailored for assessing long texts. Addressing this gap, our work systematically measures the quality of long texts by evaluating three fundamental linguistic dimensions: coherence, cohesion, and complexity. Drawing inspiration from the aforementioned three dimensions, we introduce a suite of metrics designed to evaluate the quality of long texts, encompassing both statistical and pre-trained language model-based ones. Leveraging these metrics, we present LongWanjuan, a bilingual dataset specifically tailored to enhance the training of language models for long-text tasks with over 160B tokens. In LongWanjuan, we categorize long texts into holistic, aggregated, and chaotic types, enabling a detailed analysis of long-text quality. Furthermore, we devise a data mixture recipe that strategically balances different types of long texts within LongWanjuan, leading to significant improvements in model performance on long-text tasks. The code and dataset are available at https://github.com/OpenLMLab/LongWanjuan.
title LongWanjuan: Towards Systematic Measurement for Long Text Quality
topic Computation and Language
url https://arxiv.org/abs/2402.13583