Are you sure you want to delete this task? Once this task is deleted, it cannot be recovered.
chenzh 7c5672ed9d | 2 months ago | |
---|---|---|
media | 6 months ago | |
src/openi | 5 months ago | |
.gitignore | 6 months ago | |
LISCENCE | 11 months ago | |
README.md | 8 months ago | |
setup.py | 2 months ago |
PYPI package for 启智 AI 协作平台。
适配 python3.6 及以上版本
pip install openi
from openi.dataset import download_file
download_file(
file="my_data.zip",
repo_id="user1/repo1",
cluster="gpu",
save_path="local_path/",
)
""" output
Complete( my_data.zip)(gpu): 100%|██████████████████████████████████████████| 22.0MB/22.0MB [00:01<00:00, 15.9MB/s]
"""
>>> openi
usage: openi {login, whoami, dataset, ...} [<args>] [-h]
OpenI command line tool 启智AI协作平台命令行工具
commands:
{login,logout,whoami,dataset,d,model,m}
login 使用令牌登录启智并保存到本机
logout 登出当前用户并删除本地令牌文件
whoami 查询当前登录用户
dataset (d) {upload,download} 上传/下载启智AI协作平台的数据集
model (m) {upload,download} 上传/下载启智AI协作平台的模型
>>> openi login
██████╗ ██████╗ ███████╗ ███╗ ██╗ ██████╗
██╔═══██╗ ██╔══██╗ ██╔════╝ ████╗ ██║ ██╔═╝
██║ ██║ ██████╔╝ █████╗ ██╔██╗ ██║ ██║
██║ ██║ ██╔═══╝ ██╔══╝ ██║╚██╗██║ ██║
╚██████╔╝ ██║ ███████╗ ██║ ╚████║ ██████╗
╚═════╝ ╚═╝ ╚══════╝ ╚═╝ ╚═══╝ ╚═════╝
点击链接获取令牌并复制粘贴到下列输入栏 https://openi.pcl.ac.cn/user/settings/applications
[WARNING] 若本机已存在登录令牌,本次输入的令牌会将其覆盖
粘贴前请先按 退格键⇦ 删除多余空格
🔒 token:
No Description
Python
Dear OpenI User
Thank you for your continuous support to the Openl Qizhi Community AI Collaboration Platform. In order to protect your usage rights and ensure network security, we updated the Openl Qizhi Community AI Collaboration Platform Usage Agreement in January 2024. The updated agreement specifies that users are prohibited from using intranet penetration tools. After you click "Agree and continue", you can continue to use our services. Thank you for your cooperation and understanding.
For more agreement content, please refer to the《Openl Qizhi Community AI Collaboration Platform Usage Agreement》