Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add AGNews corpus #3385

Merged
merged 4 commits into from
Dec 18, 2023
Merged

Add AGNews corpus #3385

merged 4 commits into from
Dec 18, 2023

Conversation

elenamer
Copy link
Collaborator

This PR extends ClassificationCorpus to add support for the AGNews dataset (https://github.com/mhjabreel/CharCnn_Keras/tree/555590db4219b1243abb1918effd6a7425a2d75f/data/ag_news_csv).

Example usage:

from flair.datasets import AGNEWS

corpus = AGNEWS()

print(corpus)

@alanakbik alanakbik merged commit ddf3bb3 into master Dec 18, 2023
1 check passed
@alanakbik
Copy link
Collaborator

Thanks for adding this @elenamer!

@alanakbik alanakbik deleted the agnews_dataset branch December 18, 2023 06:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants