Summary
This chapter brought us to the frontier of AI, where automation rages. Competitors around the world are struggling to make AI accessible to mainstream users. OpenAI’s ChatGPT opened the door to a flood of automated tasks.
Hugging Face has successfully deployed numerous automated functions on their platform, made transformers easy to run, and provided many other productive functions. Hugging Face AutoTrain provides a no-coding service to train and deploy AI models.
We began by creating an image classification project with a Hugging Face Space. We uploaded a CIFAR-10 dataset with transportation images.
We then continued by running the models with a difficult and an easy image of cars. We first built an API function to query the models and an output processing function to display the scores produced.
The models explored were ViT, Swin, BEiT, ConvNext, and ResNet. The chapter notebook displayed each model’s configuration, accompanied by a brief model...