Reader small image

You're reading from  Transformers for Natural Language Processing and Computer Vision - Third Edition

Product typeBook
Published inFeb 2024
Reading LevelN/a
PublisherPackt
ISBN-139781805128724
Edition3rd Edition
Languages
Tools
Right arrow
Author (1)
Denis Rothman
Denis Rothman
author image
Denis Rothman

Denis Rothman graduated from Sorbonne University and Paris-Diderot University, designing one of the very first word2matrix patented embedding and patented AI conversational agents. He began his career authoring one of the first AI cognitive Natural Language Processing (NLP) chatbots applied as an automated language teacher for Moet et Chandon and other companies. He authored an AI resource optimizer for IBM and apparel producers. He then authored an Advanced Planning and Scheduling (APS) solution used worldwide.
Read more about Denis Rothman

Right arrow

Uploading the dataset

First, click on Upload Training File(s) as shown in Figure 18.2:

A close-up of a cloud  Description automatically generated

Figure 18.2: Uploading the training dataset

The interface may evolve, but you will need to upload data. You will need to read the documentation on the Hugging Face platform carefully to prepare your data. The interface evolves constantly to follow the cutting-edge AI market. Choose your method but remain focused on the task: loading data.

You will need to follow Hugging Face’s procedures for data formatting: https://huggingface.co/docs/autotrain/image_classification.

Make sure to read the upgrades regularly. Again, it is worthwhile!

In this case, we are loading CIFAR-10 images as shown in the Figure 18.3 excerpt:

A collage of different images of airplanes and cars  Description automatically generated

Figure 18.3: Excerpt of CIFAR-10 transportation images

The CIFAR-10 images in this chapter are from Learning Multiple Layers of Features from Tiny Images, Alex Krizhevsky, 2009:https://www.cs.toronto.edu/~kriz/learning-features-2009-TR...

lock icon
The rest of the page is locked
Previous PageNext Page
You have been reading a chapter from
Transformers for Natural Language Processing and Computer Vision - Third Edition
Published in: Feb 2024Publisher: PacktISBN-13: 9781805128724

Author (1)

author image
Denis Rothman

Denis Rothman graduated from Sorbonne University and Paris-Diderot University, designing one of the very first word2matrix patented embedding and patented AI conversational agents. He began his career authoring one of the first AI cognitive Natural Language Processing (NLP) chatbots applied as an automated language teacher for Moet et Chandon and other companies. He authored an AI resource optimizer for IBM and apparel producers. He then authored an Advanced Planning and Scheduling (APS) solution used worldwide.
Read more about Denis Rothman