Huaiguang Cai

Results comments of Huaiguang Cai

GradCAM++ approximates second and third-order derivatives using squared and cubed gradients, which holds only when logits are passed through an exponential function (i.e., output = exp(logits) ). Computing the exact...

I believe this issue arises because the default setting is `targets = [ClassifierOutputTarget(281)]` (i.e., pre-softmax utility function). To avoid get None, you can use ` targets = [ClassifierOutputReST(281)]` instead. This...

I think it's because the use of GAP (gloabal average pooling layer) in resnet. The GAP will average each channel's feature map to a single value, here is an illustration...

@hxngu Hi, Sorry, I can't be of much help. Back when I implemented the HVP operation (even though it was just a few lines of code), it took me nearly...

I think the using of different target classes is entirely dependent on the specific needs of the user. In general, using the model's prediction as the target class seems more...

Hey @b8zhong , thanks for your advice. I now understand how to control the thinking length. However, my deployed model is Qwen3.5, which has a different thinking token ID from...

试了一下SFT时设置为--loss_scale all,发现的确会对所有内容算loss(也包括template中的system prompt和special token),但我只想训user真实的提问和assistant的回答(将template中的system prompt和special token的设置为loss 为 0),这应该咋做呢?

场景是大模型智能外呼,客户(user)对于大模型的输出会有不同反应,希望在SFT时同时学习user真实的提问和assistant的回答,来让模型更好地预测user的反应。类似于“世界模型”,让模型能够预测客户的下一步反应,从而生成更合适的回答来引导对话走向成功。想试一下效果,但是又不想让模型学会太多模版化的内容(比如system prompt,和某些轮次比较固定的话术)。

请问有计划支持SFT和RL时加入ptx loss训练么?

@hjh0119 感谢指出路径,后续我自己尝试实现一下吧:)