Issue while model sharing and uploading on huggingface

The model I am using (Bert, XLNet ...): Roberta for questionanswering

I am trying to follow the tutorial given in https://huggingface.co/transformers/model_sharing.html and while I am able to load my model in the local repository, I am unable to save my model and tokenizer using "model.save_pretrained("https://huggingface.co/saburbutt/testing")
tokenizer.save_pretrained("https://huggingface.co/saburbutt/testing")"

If I try to open the link it says "Cannot GET /saburbutt/testing/tokenizer_config.json"

While I try to "echo "hello" >> README.md" or use git functions, It gives me the error "fatal: not a git repository (or any of the parent directories): .git" The task I am working on is SQuAD


<!-- A clear and concise description of what you would expect to happen. -->
I expect the model to be saved in the huggingface/saburbutt/testing repository
You cannot save directly remotely like this (though it could be nice to be able to do this in the future, cc @madlag).

You need to first create a repo with `transformers-cli repo create`, or directly on the website.

Then clone it locally and add your files, then push.

Hopefully #8520 makes it clearer?
<|||||>yes. Thankyou. :)<|||||>Hello, I have the same issue with different outputs. I followed all steps in https://huggingface.co/transformers/model_sharing.html 
in order, entered my account with transformers-cli login, created repo, installed lfs, cloned repo, added BERT model via "git add BERTMODEL", committed and pushed but always I got the same error. 

remote: 
remote: -------------------------------------------------------------------------
remote: Your push was rejected because it contains files larger than 10M.
remote: Please use https://git-lfs.github.com/ to store larger files.
remote: -------------------------------------------------------------------------
remote: 
remote: Offending files:
remote:  - BERTMODEL (ref: refs/heads/main)
To https://huggingface.co/Serdar/your-model-name
 ! [remote rejected] main -> main (pre-receive hook declined)

OS: Ubuntu 20.04

I already used "git lfs install" but I could not figure out this problem. I wish someone can help<|||||>@serdarakyol Please make sure you read the Getting started guide at https://git-lfs.github.com/ – in your case I think you didn't lfs-track your actual model file<|||||>@julien-c Thank you so much. fixed the problem