From the course: MLOps Tools: MLflow and Hugging Face
Unlock this course with a free trial
Join today to access over 25,300 courses taught by industry experts.
Using Hugging Face repositories - Hugging Face Tutorial
From the course: MLOps Tools: MLflow and Hugging Face
Using Hugging Face repositories
- [Instructor] Let's get started with Hugging Face repositories. So here what I have is the default page from Hugging Face. I've logged in. I don't have any models or datasets yet on my account. Let's take a look. You can see here that I have the options to create one, but I'm going to follow the documentation from Hugging Face to be able to create a repository. So I am going to go and use one of the libraries. I'm going to open up my terminal over here. I'm going to create a new virtual environment, well, I'm going to call the venv module, and I'm just going to call it venv as well. And then next I'm going to activate this as always. And now that I'm activated, I'm going to follow the instructions from Hugging Face, which tell me to install this huggingface_hub, which is what we're going to go through today. And it's going to go ahead and install some dependencies. And next I want to log in. So to log in is, I'm going to go huggingface-cli login. And then that's going to tell me that…
Practice while you learn with exercise files
Download the files the instructor uses to teach the course. Follow along and learn by watching, listening and practicing.