ag_news
Note
ID: catalog.cards.ag_news | Type: TaskCard
{
"loader": {
"path": "ag_news",
"type": "load_hf"
},
"preprocess_steps": [
{
"mix": {
"test": "test",
"train": "train[87.5%]",
"validation": "train[12.5%]"
},
"type": "split_random_mix"
},
{
"mappers": {
"label": {
"0": "World",
"1": "Sports",
"2": "Business",
"3": "Sci/Tech"
}
},
"type": "map_instance_values"
},
{
"fields": {
"classes": [
"World",
"Sports",
"Business",
"Sci/Tech"
],
"text_type": "sentence",
"type_of_class": "topic"
},
"type": "add_fields"
}
],
"task": "tasks.classification.multi_class",
"templates": "templates.classification.multi_class.all",
"type": "task_card"
}