How to download models from huggingface official website

How to download the model from huggingface official website
Operation steps:
first open huggingface official website: https://huggingface.co/

insert image description here
After entering the official website, click "Models", as shown below:

 

If you want to download the dataset, the same operation method, click "Datasets".
Enter "Models", after that, in the search box, enter the name of the model you want to download. The example in this article is: bert-base-cased

insert image description here

 

Find the model you want to download, click to enter, and the following screen will appear:

insert image description here

 

Click "Files and versions" and find the file you want to download.
The example in this article can download the four files framed in yellow according to actual needs. You can also download all the files under the Files and versions file.
Store the downloaded file in a folder. It is recommended to name the folder: bert-base-cased

insert image description here

 

So far, how to download the model steps on the official website of HUggingface, you're done.
 

Learn AI together

Guess you like

Origin blog.csdn.net/zhaomengsen/article/details/130616837