- 博客(9)
- 收藏
- 关注
原创 RuntimeError: Internal: could not parse ModelProto from /xx/tokenizer.model
在用LLAMA-3.1-8B做微调时,出现这个错误。
2025-03-24 21:09:14
103
原创 ValueError: Couldn‘t instantiate the backend tokenizer from one of: (1) a `tokenizers` library seri
在使用DebertaV2base模型时报错:解决方案:
2025-03-13 17:22:03
127
1
原创 ImportError: DebertaV2Converter requires the protobuf library but it was not found in your environm
在使用DebertaV2base模型时遇到这样一个问题:解决方案:
2025-03-13 17:20:42
153
原创 ValueError: Invalid pattern: ‘**‘ can only be an entire path component
解决方案:更新datasets==3.0.2。
2025-03-13 16:50:58
177
原创 【备考】从0开始学习Transformer原理
这篇博客记录一下我从0开始学习并理解Transformer结构及其原理,这个过程借助ChatGPT的帮助,方便更直观的理解整个过程。
2025-02-20 19:35:36
590
原创 ValueError: Invalid pattern: ‘**‘ can only be an entire path component
在加载数据集的时候,报了这个错误。总结来说这个方法对我最有用。
2024-12-18 11:18:16
703
原创 ImportError: cannot import name ‘load_metric‘ from ‘datasets‘
非常有意思的问题,很明显某个版本的datasets包把这个方法去掉了,然而现在有很多项目还在用load_metric,如果你非要用的话,把datasets降级到1.18.3试试吧。我建议你们使用--no-deps语句,因为安装datasets的时候它可能给你安装一些其他的依赖,为了避免不必要的麻烦,这样做安心一些。
2024-11-18 20:14:00
2004
3
原创 ValueError: can‘t find ‘adapter config.json‘ at /final-model/adapter config.json‘
在做LoRA微调中遇到了一个奇葩问题,说在这个路径下找不到这个json文件,感觉在侮辱我的智商。,我这么做了以后解决了问题。
2024-11-17 21:59:00
1005
3
原创 ValueError: Can‘t find weights ... Please check that the file adapter_model.bin is present at /model
这一部分是遇到这个问题的过程和找问题的方法,想直接找答案的,请直接跳转到在做LoRA微调后的模型推理的时候出现这个错误它的意思是找不到LoRA微调后的adapter_model.bin文件,然而我LoRA微调之后得到的文件应该是adapter_model.safetensors。看了一下发现找不到解决方案。
2024-11-17 21:56:28
336
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人