复现 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