0
1

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

I want to upload a model.

up.sh
git lfs install
git clone https://huggingface.co/kaizen-nagoya/kaizen-nagoya
cd kaizen-nagoya
cp ./LoRA_template_20241127.jpynb .
git add .
git commit -m "Add model"
git push
$ ./up.sh
git: 'lfs' is not a git command. See 'git --help'.

The most similar command is
	log
Cloning into 'kaizen-nagoya'...
Username for 'https://huggingface.co': kaizen-nagoya
Password for 'https://kaizen-nagoya@huggingface.co': 
remote: Password authentication in git is no longer supported. You must use a user access token or an SSH key instead. See https://huggingface.co/blog/password-git-deprecation
fatal: Authentication failed for 'https://huggingface.co/kaizen-nagoya/kaizen-nagoya/'
./up.sh: line 3: cd: kaizen-nagoya: No such file or directory
cp: ./LoRA_template_20241127.jpynb: No such file or directory
error: 'llm/new/' does not have a commit checked out
fatal: adding files failed
warning: could not open directory 'Desktop/': Operation not permitted
warning: could not open directory '.Trash/': Operation not permitted
On branch master
Changes not staged for commit:
  (use "git add/rm <file>..." to update what will be committed)
  (use "git restore <file>..." to discard changes in working directory)
	deleted:    ../anaconda-deep-1.tar

Untracked files:
  (use "git add <file>..." to include in what will be committed)

...

It took 10.98 seconds to enumerate untracked files. 'status -uno'
may speed it up, but you have to be careful not to forget to add
new files yourself (see 'git help status').
no changes added to commit (use "git add" and/or "git commit -a")
fatal: The current branch master has no upstream branch.
To push the current branch and set the remote as upstream, use

    git push --set-upstream origin master

ref

Hugging Face Hub: Important Git Authentication Changes
https://huggingface.co/blog/password-git-deprecation

Git over SSH
https://huggingface.co/docs/hub/security-git-ssh

0
1
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
1

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?