Comments (9)
这种低级问题都不修改或者说明一下吗,你们上传这个模型之前都不自己跑跑吗???
from visualglm-6b.
Huggingface的模型请运行cli_demo_hf.py,而不是cli_demo.py,后者支持的是sat格式的模型。
如果要使用cli_demo.py
,您可以直接运行它,会自动从清华云盘下载模型(一个zip包,支持断点续传)并解压缩(你也可以在visualglm.py中找到zip包的地址手动下载)。
from visualglm-6b.
@yyxx1997 这是提问者运行错文件了而已,我们readme里没写错,不需要修改。
from visualglm-6b.
各位莫喷,用带 _hf 后缀的就可以运行了
from visualglm-6b.
@yyxx1997 这是提问者运行错文件了而已,我们readme里没写错,不需要修改。
您好,为什么我运行_hf文件也显示No module named 'sat'
from visualglm-6b.
@Senna1960321 pip install SwissArmyTransformer
from visualglm-6b.
pip install SwissArmyTransformer
你好 这个SwissArmyTransformer要求>0.3.6,可是运行
pip install SwissArmyTransformer显示ERROR: Could not find a version that satisfies the requirement SwissArmyTransformer==0.3.6 (from versions: 0.1, 0.1.1, 0.1.2, 0.1.3, 0.1.4, 0.1.5, 0.1.6, 0.1.7, 0.1.8, 0.1.9, 0.1.10, 0.2.0, 0.2.1, 0.2.2, 0.2.3, 0.2.4, 0.2.5, 0.2.6, 0.2.7, 0.2.8, 0.2.9, 0.2.11, 0.2.12, 0.3.1, 0.3.2)
最高版本只到0.3.2。 安装完0.3.2后运行python web_demo_hf.py报错如下
│ /ddd/xxx/anaconda/envs/py37df/lib/python3.7/site-packages/sat/model/base_model.py:241 in │
│ get_args │
│ │
│ 238 │ │ │ if hasattr(args, k): │
│ 239 │ │ │ │ setattr(args, k, v) │
│ 240 │ │ │ else: │
│ ❱ 241 │ │ │ │ raise ValueError(f'Unknown arg {k}.') │
│ 242 │ │ return args │
│ 243 │
│ 244 class AutoModel(): │
╰──────────────────────────────────────────────────────────────────────────────────────────────────╯
ValueError: Unknown arg use_final_layernorm.
from visualglm-6b.
Huggingface的模型请运行cli_demo_hf.py,而不是cli_demo.py,后者支持的是sat格式的模型。 如果要使用
cli_demo.py
,您可以直接运行它,会自动从清华云盘下载模型(一个zip包,支持断点续传)并解压缩(你也可以在visualglm.py中找到zip包的地址手动下载)。
“会自动从清华云盘下载模型(一个zip包,支持断点续传)并解压缩”,是会下载一个visualglm-6b.zip文件,但是很小,而且报错“BadZipFile: File is not a zip file”
from visualglm-6b.
Huggingface的模型请运行cli_demo_hf.py,而不是cli_demo.py,后者支持的是sat格式的模型。 如果要使用
cli_demo.py
,您可以直接运行它,会自动从清华云盘下载模型(一个zip包,支持断点续传)并解压缩(你也可以在visualglm.py中找到zip包的地址手动下载)。
“会自动从清华云盘下载模型(一个zip包,支持断点续传)并解压缩”,是会下载一个visualglm-6b.zip文件,但是很小,而且报错“BadZipFile: File is not a zip file”
from visualglm-6b.
Related Issues (20)
- 运行finetune代码时,报错没有model_config.json
- 报错cannot import name 'builder' from 'google.protobuf.internal'
- visualglm进行QLoRA微调时报错,RuntimeError: mat1 and mat2 shapes cannot be multiplied (320x4096 and 1x25165824) [2024-03-07 07:26:17,037] [INFO] [launch.py:316:sigkill_handler] Killing subprocess 13210 HOT 5
- 请问怎么把finetune后的模型转成onnx格式呢?
- 微调之后加载web_demo时的报错 HOT 2
- 请问在阿里云上部署,连接不上huggingface网站的问题怎么解决呀? HOT 6
- 关于只用文本数据集微调
- Lora微调报错,fp16 is not supported HOT 1
- 请问可以实现用qlora+model parallel 吗 HOT 1
- qlora merge lora weights error
- 多图推理
- python web_demo.py报错 HOT 1
- 运行web_demo_hf.py报错
- finetune的时候出现模型加载失败
- finetune的时候加载模型失败
- 'Chatbot' object has no attribute 'style'
- 关于纯文本微调
- 请问使用qlora微调时,出现TypeError: string indices must be integers,如何解决?
- Teste
- 请问作者或大家在训练自己的数据集的时候lora层的数量或者r应该怎么配置
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from visualglm-6b.