复现 bird-sql数据集 T5 baseline时,需要使用以下命令

直接使用,报错:
$git clone --recurse-submodules git@github.com:HKUNLP/UnifiedSKG.git
Cloning into 'UnifiedSKG'...
The authenticity of host 'github.com' can't be established.
git@github.com: Permission denied (publickey).
fatal: Could not read from remote repository.
原因是baseline使用 UnifiedSKG框架微调模型,UnifiedSKG库中/third_party目录下有一些子模块,git clone --recurse-submodules引入子模块,但是部分子模块需要gothub账号权鉴
解决方法:
按官网文档,先生成本地ssh私钥,然后同步到github账户公钥中,测试通过。
https://docs.github.com/zh/authentication/troubleshooting-ssh/error-permission-denied-publickey?platform=linux
docs.github.com/zh/authentication/troubleshooting-ssh/error-permission-denied-publickey?platform=linux
文章讲述了在尝试使用UnifiedSKG框架微调模型时遇到的Git子模块权限问题,解决方法是生成并添加本地SSH密钥至GitHub账户,确保gitclone--recurse-submodules能正常工作。
1083

被折叠的 条评论
为什么被折叠?



