jhscut
jhscut
> 发下完整的栈信息 Traceback (most recent call last): File "/home/junhang/swift/swift/llm/utils/utils.py", line 266, in _try_fetch res = self.template.encode(data) File "/home/junhang/swift/swift/llm/utils/template.py", line 447, in encode return _encode(example) if not streaming else _encode(example)[0] File...
> @LiJunY `get_model_tokenizer` 函数里指定你训练后的位置给`model_id_or_path` 参数 checkpoint-301 does not appear to have a file named config.json. Checkout 'https://huggingface.co///checkpoint-301/tree/None' for available files.不行啊,会出错。
> 服务器在加硬盘,我凭印象说一下吧。 一个是sandbox的yaml里面你要加上pip的镜像源。 一个是sandbox的conf文件里面,你要把允许的数组队列加上,要是不在外网的话,就生成一个[0,1,2.......499],这是允许所有权限的,如果你不放心的话,就自己去找一个允许权限的脚本检测工具。 另外一个是sandbox的requirements.txt里面添加正确的库名,大小写有区分的。 镜像源一定要很快的那种,不然每次重启都要安装一遍,速度慢的话,你可能以为出错了,其实单纯的就是pip没有下载完。 请问你知道requirements.txt安装的目录在哪里吗?我是内网,需要在外网下依赖
 Sorry, the image was uploaded twice. This one is the correct AWEL image.