From the course: MLOps Tools: MLflow and Hugging Face
Unlock this course with a free trial
Join today to access over 24,700 courses taught by industry experts.
Using the Hugging Face CLI - Hugging Face Tutorial
From the course: MLOps Tools: MLflow and Hugging Face
Using the Hugging Face CLI
- [Presenter] One of the more powerful ways to get involved with Hugging Face is to use the Hugging Face command line interface. In general, I'm a huge fan of using command line tools, and you can see here we have Hugging Face CLI that's installed. And if you just run it, it'll give you a help menu. One of the first things that I would recommend doing is looking at some of the tools that are sub command. So for example, if we go to Hugging Face login, one of the things that we see here is that you can actually log in by going to the tokens directory. And inside of the tokens settings inside of Hugging Face, this will be something you can set up and then pass in and then authenticate. And now once you've done that, Hugging Face knows who you are when you're developing in a workspace like this. So what this means is if you go back here, and we go to the help menu, and we take a look at the next command, which is "whoami," it'll know who I am. There we go. It says, "noahgift." That's…
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.