Section2

chapter5hf-notebooksescourse

¿Y si mi dataset no está en el Hub?

Install the Transformers, Datasets, and Evaluate libraries to run this notebook.

[ ]
[ ]
[ ]
[ ]
[ ]
DatasetDict({
,    train: Dataset({
,        features: ['title', 'paragraphs'],
,        num_rows: 442
,    })
,})
[ ]
{
,    "title": "Terremoto del Sichuan del 2008",
,    "paragraphs": [
,        {
,            "context": "Il terremoto del Sichuan del 2008 o il terremoto...",
,            "qas": [
,                {
,                    "answers": [{"answer_start": 29, "text": "2008"}],
,                    "id": "56cdca7862d2951400fa6826",
,                    "question": "In quale anno si è verificato il terremoto nel Sichuan?",
,                },
,                ...
,            ],
,        },
,        ...
,    ],
,}
[ ]
DatasetDict({
,    train: Dataset({
,        features: ['title', 'paragraphs'],
,        num_rows: 442
,    })
,    test: Dataset({
,        features: ['title', 'paragraphs'],
,        num_rows: 48
,    })
,})
[ ]
[ ]