illusionnnnnnn

Results comments of illusionnnnnnn

![Image](https://github.com/user-attachments/assets/da6facb0-8c79-4294-aefc-adb6a50fafc3) ![Image](https://github.com/user-attachments/assets/7c86755d-aea1-44e5-9f98-7bb214d82ae3)

It shows that there is a piece of data, but it does not find it when it runs, and shows keyerror. Excuse me, is the multimodal data format wrong?

> 你解决了这个问题吗? no,It looks like there's something wrong with the dataset format or dataloader

> 我进行了调试,发现确实是数据读取出的格式有问题, [self.dataset[idx] for idx in possibly_batched_index]这里的self.dataset是一个字典,键为数据集名称,值才是真正的dataset,我在这里修改后是正常了但是在解码时碰到了类似的错误又得修改,不想这样一个个修改,在找一个一劳永逸的方法 以前qwen2vl是能处理这个格式的,这个2.5就不行了,不知道因为什么不能处理了

> > 我也遇到了这个问题,有已经解决的方案吗 > > 我找到了解决办法,但不确定会不会引起其他问题,修改LLaMA-Factory/src/llamafactory/data下的loader.py中328-336行的代码 > > ![Image](https://github.com/user-attachments/assets/44a9d1d1-6127-4f6c-8e9d-0771c3791591),只保留else代码中的eval_dataset赋值,如果不想麻烦,就直接去掉代码中的“[eval_name]”,保留dataset的原本格式,而不是一个新字典,目前eval是没问题的 解决了,谢谢,看了之前qwen2-vl当时用的llamafactory中的这个loader.py文件,确实跟现在更新的不一样,之前没有键值的处理

> Both with and without CFG, Bagel has been stable to train for some time. I’ve just been occupied with other things recently, but I’ll organize the code and release...

> Our code now supports Bagel. Please refer to the section **“Multi-node training for Bagel”** in the README for usage instructions. Can a single node with 8 cards of 80GB...

> 这个我没确认过,主要看一下两个版本edit模型的diffuser的inference逻辑是不是有改动 > 这个看起来和qwen-image-edit的主要区别是加了多个参考图,似乎改动是比较小的,我会尽快去支持 Looking forward to it

> 几周前,我们完成了百吉饼的grpo,你可以通过微信Happy_Everyday3333联系我 Hello, are you interested in releasing the GRPO code for BAGEL?

方便问一下你的 swift SFT 用的是 HF backend 还是 Megatron backend?