Comments (1)
您好,本repo的所有模型在发布之前都经过严格的校准,没有出现问题才pull上去的。可以先检查学习率或其他超参数的设置情况。 btw,虽然如此,但根据你的问题我也可以提供一下建议的解决思路:
- 1.验证究竟是本仓库代码问题还是GLM的问题:用相同的代码数据训练一个deepseek或其他的模型,如果能正常运行并加载,则说明问题的根源是来自GLM本身与你的机器或者数据集不契合,导致的问题,建议去GLM的repo提issue解决,本repo不处理模型本质的问题。
- 2.如果1运行之后发现其他模型也不能训练,欢迎及时反馈。
- 3.加载合并lora权重前后,在jupyter中打印一下model,看看layer是否已经进行了lora替换,如果已经替换,则说明已经合并了。具体代码如下:
for name, parameter in model.named_parameters():
print(name)
如还有问题,欢迎反馈,但仅限于本repo代码中的问题,不希望反馈模型本身的问题。
from self-llm.
Related Issues (20)
- Qwen1.5-7B Lora微调报错:RuntimeError: element 0 of tensors does not require grad and does not have a grad_fn HOT 2
- 【XVERSE-7B-chat WebDemo 部署】报错 torch.cuda.OutOfMemoryError: CUDA out of memory. HOT 2
- llama3 API调用的问题 HOT 1
- 使用 llama3 的 lora 微调报错:NotImplementedError: Cannot copy out of meta tensor; no data! HOT 3
- chatglm3,lora微调报错 HOT 1
- 在纯 CPU 上可以运行吗?比如苹果电脑没有 cuda? HOT 1
- 04-Qwen-7B-Chat Lora 微调时报错 HOT 1
- deepseek-v2部署请求 HOT 2
- 请问有多模态LLM的部署/微调文档吗,未来有相关更新计划吗 HOT 1
- llama3 api报错 HOT 1
- 微调Qwen1.5-0.5b报错 PermissionError: [Errno 13] Permission denied: './output/Qwen1.5\checkpoint-100' HOT 5
- peft微调llama3 8b,从第10补开始loss一直都是0 HOT 5
- 模型微调时报错,报内核版本问题 Detected kernel version 5.4.0 HOT 1
- 如懿传
- 考虑出一些LLM时序预测模型的相关教程吗 HOT 1
- 01-Qwen1.5-7B-Chat FastApi 部署调用.md 传入数据错误 HOT 1
- 为什么数据格式化要把输入和输出的合并起来放到input_id? HOT 1
- DeepSeek-7B-chat-Lora微调训练时报错 HOT 1
- LlaMA3在英文或者中文上tokenizer是否需要加bos token? HOT 2
- 华为昇腾服务器的部署方案 HOT 1
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 self-llm.