使用GIT BASH,CD到本地想要建立仓库的地方。
使用Git Bash,CD到本地想要建立Git仓库的目录。在https://huggingface.co/中用自己的账号上传一个模型。以下步骤是public资源的上传方式,private资源需要在git clone命令中加入[username]:[password]@,注意是@,我之前误看成/后白花了不少时间。
git clone https://huggingface.co/dragonStyle/bert-303-step35000
执行完后会新建一个仓库目录。
cd bert-303-step35000(CD到这个仓库目录里)
git add .
下面的报警暂时不知道是否会产生什么影响。
warning: LF will be replaced by CRLF in config.json.
The file will have its original line endings in your working directory
warning: LF will be replaced by CRLF in train_results.txt.
The file will have its original line endings in your working directory
warning: LF will be