AgNewsDataLoaderOptions
Options & Configuration ยท AiDotNet.Data.Text.Benchmarks
Configuration options for the AG News topic classification data loader.
How It Works
AG News is a 4-class news topic classification dataset (World, Sports, Business, Sci/Tech) โ 120k training examples, 7.6k test examples. The canonical small classification benchmark from Zhang et al. 2015.
Constructors
| Constructor | Summary |
|---|---|
AgNewsDataLoaderOptions() |
Properties
| Property | Summary |
|---|---|
DatasetSplit Split { get; set; } |
Dataset split to load. |
bool AutoDownload { get; set; } |
Automatically download if not present. |
int MaxSequenceLength { get; set; } |
Maximum sequence length per example. |
int VocabularySize { get; set; } |
Maximum vocabulary size. |
int? MaxSamples { get; set; } |
Optional maximum number of samples to load. |
string DataPath { get; set; } |
Root data path. |