Comments (5)
下面链接是我们使用的Dataset,在config里有写明
https://github.com/dandelionsllm/pandallm/blob/main/data/collators/zh_instruct.py#L110C1-L136
可以按照这个Dataset处理你的数据,总体来说可以用jsonline存储,每一行是一个json结构体。如果你是instruction-response pair的数据,可以使用instruction
和output
两个filed来做conditional generation。如果你是pure text,希望做普通的causal LM,可以直接存到text
这个key里。
from pandallm.
请问多个数据集要以什么树状结构进行存储呢,直接把用于训练的5个数据集压缩包解压到相同目录下就可以了吗
from pandallm.
不同的数据集均处理成上述结构之一,放在同一个目录下就行,config里写文件夹的path,glob会处理匹配(可以自己改glob的匹配方式)
from pandallm.
好的谢谢作者,我尝试一下
from pandallm.
在处理如百科数据时存在不知道该将title还是desc转为inputs的问题,请问有相关的转化脚本吗
from pandallm.
Related Issues (20)
- 感觉模型比原始的LlaMa模型大了很多,是什么原因 HOT 1
- 推理超参数 HOT 1
- 预训练和微调阶段使用的是全量微调还是lora? HOT 1
- 词表没扩充过是吗?还是32,000吧? HOT 1
- linly预训练阶段和panda类似,指令微调阶段使用了500万条,为什么效果比panda差? HOT 1
- 请问有使用的examples吗 HOT 1
- 权重转换脚本不支持来自 Facebook 的原版权重 HOT 2
- 请问如何在COIG数据集上继续训练 HOT 8
- 如何将COIG数据集处理为instruction tuning的格式 HOT 1
- 单卡A100训练7B模型OOM HOT 12
- 商用7b模型,直接进行推理说话毫无逻辑,难道不是开箱即用的嘛? HOT 4
- 能否提供一下模型量化的方法?其他在mac上进行推理测试 HOT 1
- 由于训练数据的预处理存在不确定性,请问可以进一步分享处理代码吗 HOT 2
- 关于推理的问题 HOT 5
- RuntimeError: The size of tensor a (32000) must match the size of tensor b (32001) at non-singleton dimension 0 HOT 2
- Removed.
- Panda-LLaMA2-13B的模型链接不对吧? HOT 3
- 在线体验需要访问密码?
- 在线体验 pandallm.ai/,该链接无法打开
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 pandallm.