CoolFace
Datasetpublic

hamza-student-123/nlp-assignment-news-data

Dataset Structure Data Instances { "headline": "string", "label": "string" } Data Fields The data fields are: headline: a string feature. label: a classification label, with possible values including positive, negative and neutral. Data Splits The nlp-assignment-news-data dataset has 3 splits: train, validation, and test. How to use it from datasets import load_dataset # This download train, validation and… See the full description on the dataset page: https://huggingface.co/datasets/hamza-student-123/nlp-assignment-news-data.

sourceHugging Facecc-by-nc-sa-2.0updated 1y agoView on Hugging Face
0likes25downloads
Dataset Card

Dataset Structure

Data Instances

{
  "headline": "string",
  "label": "string"
}

Data Fields

The data fields are:

headline: a string feature.
label: a classification label, with possible values including positive, negative and neutral.

Data Splits

The nlp-assignment-news-data dataset has 3 splits: train, validation, and test.

How to use it

python
from  datasets  import  load_dataset

# This download train, validation and test sets. 
ds = load_dataset("hamza-student-123/nlp-assignment-news-data", "sot", split= "test")