AG News
收藏资源简介:
<b>AG's News Topic Classification Dataset</b><br>Version 3, Updated 09/09/2015<br><br><b>ORIGIN</b><br>AG is a collection of more than 1 million news articles. News articles have been gathered from more than 2000 news sources by ComeToMyHead in more than 1 year of activity. ComeToMyHead is an academic news search engine which has been running since July, 2004. The dataset is provided by the academic comunity for research purposes in data mining (clustering, classification, etc), information retrieval (ranking, search, etc), xml, data compression, data streaming, and any other non-commercial activity. For more information, please refer to the link http://www.di.unipi.it/~gulli/AG_corpus_of_news_articles.html .<br>The AG's news topic classification dataset is constructed by Xiang Zhang (xiang.zhang@nyu.edu) from the dataset above. It is used as a text classification benchmark in the following paper: Xiang Zhang, Junbo Zhao, Yann LeCun. Character-level Convolutional Networks for Text Classification. Advances in Neural Information Processing Systems 28 (NIPS 2015).<br><br><b>DESCRIPTION</b><br>The AG's news topic classification dataset is constructed by choosing 4 largest classes from the original corpus. Each class contains 30,000 training samples and 1,900 testing samples. The total number of training samples is 120,000 and testing 7,600.<br>The file classes.txt contains a list of classes corresponding to each label.<br>The files train.csv and test.csv contain all the training samples as comma-sparated values. There are 3 columns in them, corresponding to class index (1 to 4), title and description. The title and description are escaped using double quotes ("), and any internal double quote is escaped by 2 double quotes (""). New lines are escaped by a backslash followed with an "n" character, that is "\n".<br><b>CLASSES</b><b><br></b>WorldSportsBusinessSci/Tech<br><br>
**AG新闻主题分类数据集(AG's News Topic Classification Dataset)** 版本3,更新于2015年9月9日 **来源** AG是一个包含超100万篇新闻文章的语料库,由ComeToMyHead从2000余家新闻源历时一年多收集整理而成。ComeToMyHead是一款自2004年7月起上线运行的学术新闻搜索引擎。本数据集由学术社区提供,可用于数据挖掘(聚类、分类等)、信息检索(排序、搜索等)、XML、数据压缩、数据流及其他非商业性质的研究活动。更多信息请参阅链接:http://www.di.unipi.it/~gulli/AG_corpus_of_news_articles.html。 AG新闻主题分类数据集由张翔(xiang.zhang@nyu.edu)基于上述语料库构建,并作为文本分类基准被应用于以下论文:Xiang Zhang, Junbo Zhao, Yann LeCun. 字符级卷积神经网络(Character-level Convolutional Networks)用于文本分类. 《神经信息处理系统进展》第28卷(NIPS 2015)。 **数据集描述** AG新闻主题分类数据集从原始语料库中选取4个规模最大的类别构建。每个类别包含30000条训练样本与1900条测试样本,总训练样本量为120000,测试样本量为7600。 文件classes.txt包含各标签对应的类别列表。 train.csv与test.csv文件以逗号分隔值格式存储全部训练样本,每份文件包含3列,分别对应类别索引(1至4)、标题与描述。标题与描述使用双引号(")进行转义,内部出现的双引号需通过两个连续双引号("")转义;换行符则通过反斜杠加小写字母n(即" ")进行转义。 **类别划分** 世界(World)、体育(Sports)、商业(Business)、科技(Sci/Tech)

- AG News数据集首次发布,作为AG Corpus的一部分,包含100万篇新闻文章,涵盖4个主要类别。
- AG News数据集被重新整理和标注,用于文本分类任务,包含12万篇新闻文章,分为4个类别。
- AG News数据集在自然语言处理领域得到广泛应用,成为文本分类和信息检索研究的重要基准数据集。
- AG News数据集被用于预训练语言模型,如BERT和GPT-2,以评估模型在新闻文本分类任务中的表现。



