Skip to content

pytorchstu/Official_Component_Download

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

28 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Download Opensource Components from Official site

Prerequisites

通过 rustup 安装新版本的 cargo.

curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh

Note

遇到错误提示输入 y 回车即可。安装完成后需要重启终端。

Usage

创建config/config.toml 。具体格式参照 config/config_demo.toml。需要指定的域包括如下几项:

[download]
username = "your_name"
base_dir = "path/to/dest"

[api]
key = "xxxxxx"
api_url = "xxxxxx"
model_id = "your model id" # e.g. "chatgpt-3.5-turbo"

运行 run.sh

./run.sh

Output

通过 LLM 查询到的下载页面地址会被保存到 Official/available_url_list.json 文件中。 从页面中找不到下载链接的下载页面地址会被保存到 Official/abnormal_url_list. 文件中。

About

Download opensource components from official site

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Rust 99.5%
  • Shell 0.5%