用来构建大模型环境的工具
Project description
diz
目前开源的大模型项目普遍来说都有如下问题:
- 安装环境复杂,需要安装大量依赖包,而且依赖包版本之间有冲突,导致安装失败
- 模型往往存放在 huggeface 上,下载速度慢,且不符合国情,使用 git lfs 也不方便
本项目重点解决上述 2 个问题,提供一个简单的模型下载和使用的框架,方便大家快速使用。 总结一句话来说就是:目标就是干出一个大模型的 homebrew。
安装
pip install diz
使用
diz setup
根据提示输入你要安装的目录和模型的 url 当前支持的模型有:
也可以一句话安装:
diz setup --path /root/autodl-tmp/chatglm2 --pkg https://gist.githubusercontent.com/mjason/a616dcb8f9fd09fb2c7fb18ff3bb6279/raw/bb530a7d4101edf8aa474883d1f54a6aef58bc44/chatglm2-6b.yml
路线图
- 提供 install 命令,统一安装源
- 提供 venv 指令,快速进入对应的虚拟环境
- 提供 generate 命令,根据生成本地模型调用代码
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
diz-0.0.8.tar.gz
(5.7 kB
view details)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
diz-0.0.8-py3-none-any.whl
(6.8 kB
view details)
File details
Details for the file diz-0.0.8.tar.gz.
File metadata
- Download URL: diz-0.0.8.tar.gz
- Upload date:
- Size: 5.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.11.4
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
a5b754d132cb0ad5b7e5829b324520679fbb1e21e6c325b43699b3bdf5754177
|
|
| MD5 |
ff8dc9f1246cd800c7537a701f910ae7
|
|
| BLAKE2b-256 |
2c7212a7394816bf86986c9e02996b7d1d253fafef170fc88ca0bf04519bf031
|
File details
Details for the file diz-0.0.8-py3-none-any.whl.
File metadata
- Download URL: diz-0.0.8-py3-none-any.whl
- Upload date:
- Size: 6.8 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.11.4
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
872d2c68f023f164e3de865cd2b5ee729ef97605fd588ddc93d5d66b46dbdbce
|
|
| MD5 |
3b368f4f060b427e9fd2da2b5d3d5af2
|
|
| BLAKE2b-256 |
9bf9d860baf4c7494b9a0985b0fc07f009901d59958b04c64641fb6670a46827
|