mistralai/Mistral-7B-v0.1 is not a local folder and is not a valid model identifier listed on 'https://huggingface.co/models'

Tokens allow you to set permissions for each token, but there may be a mistake in the settings.
Or you may be passing the wrong token. Using login() makes it easier to fix.
In addition, there are occasional cases where Hugging Face simply has a bug.