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

Deploying a model

Make sure to read the latest continuously evolving documentation and explore the latest Hugging Face interfaces. The interface may change, but you will have to create a model card for your model.

We can go to our profile and choose the model card of one of our trained models to access the settings of the model and decide how to deploy it, as shown in Figure 18.11:

A screenshot of a computer  Description automatically generated

Figure 18.11: Model card of a trained model

We can choose a deployment method: deploy on a platform such as AWS, for example, to create an endpoint or run the model directly in transformers. In this chapter, we will run the models by using transformers directly.

We first need to make each model public by going to the model card, then Settings, making the model public, as shown in Figure 18.12:

A screenshot of a computer  Description automatically generated

Figure 18.12: Making a Hugging Face model public

Clicking on Make public will make it public (Figure 18.13):

A close up of a text  Description automatically generated

Figure 18.13: Model visibility status

We will now use the...

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