Metadata-Version: 2.1
Name: niu-download
Version: 0.0.1
Summary: A tool that can download Hugging Face model(s)
Home-page: https://github.com/342215448/SaoDownload.git
Author: Peinan Feng & Junhao Ruan & Peizhuo Liu (NEUNLPLAB)
Author-email: fpnan@foxmail.com
Project-URL: Bug Tracker, https://github.com/pypa/sampleproject/issues
Classifier: Programming Language :: Python :: 3
Classifier: License :: OSI Approved :: MIT License
Classifier: Operating System :: OS Independent
Requires-Python: >=3.6
Description-Content-Type: text/markdown
Requires-Dist: requests
Requires-Dist: tqdm
Requires-Dist: Beautifulsoup4

# This is a tool that can automatically download models from Hugging Face(Windows or Linux).You can download single model or make batch download.

- ## Download "roberta-base" from Hugging face to "models" 
    ```
    import saodownload as sd
    sd.download_models('models', ['gpt2'])
    ```
  ### And then, the whole gpt2 model in pytorch will be stored in "models" direct.
- ## Batch Download pytorch models from Hugging Face
    ```
    import saodownload as sd
    sd.download_models('models', ['roberta-base', 'gpt2', 'bert-base-uncased'])
    ```
  ### This code will download roberta-base、 gpt2、 bert-base-uncased into "models"
