
#### Motivation
AG News is a four-way topic classification task introduced in [Character-level Convolutional Networks for Text Classification](https://arxiv.org/abs/1509.01626). In this setup, a task model must classify whether a given news article is about world events (**_World_**), sports and athletics (**_Sports_**), business and economics (**_Business_**), and scientific developments (**_Sci/Tech_**). The test set on HuggingFace ([huggingface.co/datasets/ag_news](https://huggingface.co/datasets/ag_news)) is composed of 7,600 examples equally balanced across the four classes.

News topic classification presents a promising opportunity for largely isolating the effect of writing style shifts. Existing deep learning methods also perform well on this dataset with accuracy reaching higher than 90% ([paperswithcode.com/sota/text-classification-on-ag-news](https://paperswithcode.com/sota/text-classification-on-ag-news)).

Another motivation for this particular task is the common risk of data augmentation inadvertently flipping the label/semantics of the text. Unlike other tasks such as sentiment classification or subtle hate speech, the topic of a news article is unlikely to change during augmentation, thus preserving the original label.

#### Creation
We used GPT-3.5 Turbo (6/7/23 version) for style transfer. We did an initial pass through all 7,600 examples using a conservative "V1" prompt and greedy decoding. Calls were made using the OpenAI Python SDK with `top_p` and `temperature` set to zero. The data was then lightly preprocessed to reduce the number of examples that began with **BREAKING NEWS** flanked by emojis.

512 of the initial model responses did not result in satisfactory generations. These were typical cases where the generated text was almost indiscernible from the original text or the generation was entirely emojis. We called GPT-3.5 Turbo again with an updated prompt and hyperparameters (`temperature=0.7`, `top_p=0.9`, `frequency_penalty=0.5`, `presence_penalty=0.5`) for these examples. Whereas all the first-pass generations did not have any instructions to the model as to the sentiment/mood of the hypothetical post author, we purposefully instructed the model to "_Add some flare with humor, anger, or sarcasm._" in the generation.

It's important to note that we did not enforce Twitter's character limit. These sequences should be considered as more broadly inspired by social media posts rather than following the exact specifications of Twitter posts. We also did not manually review every sequence in the dataset to confirm that the original label was preserved. GPT 3.5 Turbo also hallucinates facts, such as adding the hashtag **#Olympics2021** even though the original dataset was created in 2015.
arxiv:1509.01626 region:us
{"pretty_name": "AG News Tweets"}
TAGS
#arxiv-1509.01626 #region-us 


#### Motivation
AG News is a four-way topic classification task introduced in Character-level Convolutional Networks for Text Classification. In this setup, a task model must classify whether a given news article is about world events (_World_), sports and athletics (_Sports_), business and economics (_Business_), and scientific developments (_Sci/Tech_). The test set on HuggingFace (URL is composed of 7,600 examples equally balanced across the four classes.

News topic classification presents a promising opportunity for largely isolating the effect of writing style shifts. Existing deep learning methods also perform well on this dataset with accuracy reaching higher than 90% (URL

Another motivation for this particular task is the common risk of data augmentation inadvertently flipping the label/semantics of the text. Unlike other tasks such as sentiment classification or subtle hate speech, the topic of a news article is unlikely to change during augmentation, thus preserving the original label.

#### Creation
We used GPT-3.5 Turbo (6/7/23 version) for style transfer. We did an initial pass through all 7,600 examples using a conservative "V1" prompt and greedy decoding. Calls were made using the OpenAI Python SDK with 'top_p' and 'temperature' set to zero. The data was then lightly preprocessed to reduce the number of examples that began with BREAKING NEWS flanked by emojis.

512 of the initial model responses did not result in satisfactory generations. These were typical cases where the generated text was almost indiscernible from the original text or the generation was entirely emojis. We called GPT-3.5 Turbo again with an updated prompt and hyperparameters ('temperature=0.7', 'top_p=0.9', 'frequency_penalty=0.5', 'presence_penalty=0.5') for these examples. Whereas all the first-pass generations did not have any instructions to the model as to the sentiment/mood of the hypothetical post author, we purposefully instructed the model to "_Add some flare with humor, anger, or sarcasm._" in the generation.

It's important to note that we did not enforce Twitter's character limit. These sequences should be considered as more broadly inspired by social media posts rather than following the exact specifications of Twitter posts. We also did not manually review every sequence in the dataset to confirm that the original label was preserved. GPT 3.5 Turbo also hallucinates facts, such as adding the hashtag #Olympics2021 even though the original dataset was created in 2015.
#### Motivation
AG News is a four-way topic classification task introduced in Character-level Convolutional Networks for Text Classification. In this setup, a task model must classify whether a given news article is about world events (_World_), sports and athletics (_Sports_), business and economics (_Business_), and scientific developments (_Sci/Tech_). The test set on HuggingFace (URL is composed of 7,600 examples equally balanced across the four classes.

News topic classification presents a promising opportunity for largely isolating the effect of writing style shifts. Existing deep learning methods also perform well on this dataset with accuracy reaching higher than 90% (URL

Another motivation for this particular task is the common risk of data augmentation inadvertently flipping the label/semantics of the text. Unlike other tasks such as sentiment classification or subtle hate speech, the topic of a news article is unlikely to change during augmentation, thus preserving the original label. #### Creation
We used GPT-3.5 Turbo (6/7/23 version) for style transfer. We did an initial pass through all 7,600 examples using a conservative "V1" prompt and greedy decoding. Calls were made using the OpenAI Python SDK with 'top_p' and 'temperature' set to zero. The data was then lightly preprocessed to reduce the number of examples that began with BREAKING NEWS flanked by emojis.

512 of the initial model responses did not result in satisfactory generations. These were typical cases where the generated text was almost indiscernible from the original text or the generation was entirely emojis. We called GPT-3.5 Turbo again with an updated prompt and hyperparameters ('temperature=0.7', 'top_p=0.9', 'frequency_penalty=0.5', 'presence_penalty=0.5') for these examples. Whereas all the first-pass generations did not have any instructions to the model as to the sentiment/mood of the hypothetical post author, we purposefully instructed the model to "_Add some flare with humor, anger, or sarcasm._" in the generation.

It's important to note that we did not enforce Twitter's character limit. These sequences should be considered as more broadly inspired by social media posts rather than following the exact specifications of Twitter posts. We also did not manually review every sequence in the dataset to confirm that the original label was preserved. GPT 3.5 Turbo also hallucinates facts, such as adding the hashtag #Olympics2021 even though the original dataset was created in 2015.
TAGS
#arxiv-1509.01626 #region-us 
 #### Motivation
AG News is a four-way topic classification task introduced in Character-level Convolutional Networks for Text Classification. In this setup, a task model must classify whether a given news article is about world events (_World_), sports and athletics (_Sports_), business and economics (_Business_), and scientific developments (_Sci/Tech_). The test set on HuggingFace (URL is composed of 7,600 examples equally balanced across the four classes.

News topic classification presents a promising opportunity for largely isolating the effect of writing style shifts. Existing deep learning methods also perform well on this dataset with accuracy reaching higher than 90% (URL

Another motivation for this particular task is the common risk of data augmentation inadvertently flipping the label/semantics of the text. Unlike other tasks such as sentiment classification or subtle hate speech, the topic of a news article is unlikely to change during augmentation, thus preserving the original label. #### Creation
We used GPT-3.5 Turbo (6/7/23 version) for style transfer. We did an initial pass through all 7,600 examples using a conservative "V1" prompt and greedy decoding. Calls were made using the OpenAI Python SDK with 'top_p' and 'temperature' set to zero. The data was then lightly preprocessed to reduce the number of examples that began with BREAKING NEWS flanked by emojis.

512 of the initial model responses did not result in satisfactory generations. These were typical cases where the generated text was almost indiscernible from the original text or the generation was entirely emojis. We called GPT-3.5 Turbo again with an updated prompt and hyperparameters ('temperature=0.7', 'top_p=0.9', 'frequency_penalty=0.5', 'presence_penalty=0.5') for these examples. Whereas all the first-pass generations did not have any instructions to the model as to the sentiment/mood of the hypothetical post author, we purposefully instructed the model to "_Add some flare with humor, anger, or sarcasm._" in the generation.

It's important to note that we did not enforce Twitter's character limit. These sequences should be considered as more broadly inspired by social media posts rather than following the exact specifications of Twitter posts. We also did not manually review every sequence in the dataset to confirm that the original label was preserved. GPT 3.5 Turbo also hallucinates facts, such as adding the hashtag #Olympics2021 even though the original dataset was created in 2015.
passage: TAGS
#arxiv-1509.01626 #region-us 
#### Motivation
AG News is a four-way topic classification task introduced in Character-level Convolutional Networks for Text Classification. In this setup, a task model must classify whether a given news article is about world events (_World_), sports and athletics (_Sports_), business and economics (_Business_), and scientific developments (_Sci/Tech_). The test set on HuggingFace (URL is composed of 7,600 examples equally balanced across the four classes.

News topic classification presents a promising opportunity for largely isolating the effect of writing style shifts. Existing deep learning methods also perform well on this dataset with accuracy reaching higher than 90% (URL

Another motivation for this particular task is the common risk of data augmentation inadvertently flipping the label/semantics of the text. Unlike other tasks such as sentiment classification or subtle hate speech, the topic of a news article is unlikely to change during augmentation, thus preserving the original label.