yhcc

Results 174 comments of yhcc

在传递给Trainer的callbacks中移除掉FitlogCallback即可。或者安装fitlog这个包也可以解决这个问题。

现在fastNLP已经升级到1.0了,现在已经没有elmoembedding了,你能找到你使用的代码行吗?我可以看看能不能hard code以下修复

就把train_data也传给dev_data这样

Thank you for your suggestion. We are planning to offer a script that facilitates conversion between InternLM2 and LLaMA. However, we recommend using InternLM2 when feasible, primarily for its enhanced...

https://github.com/InternLM/InternLM/pull/627 Add a convert2llama script, which can help to convert huggingface internlm2 into huggingface llama format.

这个scores2就是biaffine paepr (https://arxiv.org/pdf/1611.01734.pdf)公式(3)中的第二项,中间那个size embedding就相当于在这个第二项中再加入一个span长度的偏置信息。

是的,非常抱歉,由于新版的fastNLP为了支持更多的框架,因此在架构上做了比较大的调整因此老版和新版的接口不存在简单的映射关系,所以建议如果有一些老版本的程序就通过0.7.1之前的fastNLP进行运行;如果是重新写的代码,我们则建议使用更新的fastNLP接口。通过新版fastNLP,你可以不修改任何代码实现单卡切换为多卡运行;或者修改少量代码在不同框架之间进行迁移。

暂时请先使用0.6.0,之后我们会对fastSum升级,以支持新的fastNLP。