Error: additional_chat_templates does not exist on "main"
I try to use this for AutoTokenizer on Kaggle (having authorized and access granted), it then return 404 not found error with the below message:HTTPStatusError                           Traceback (most recent call last)
/usr/local/lib/python3.11/dist-packages/huggingface_hub/utils/_http.py in hf_raise_for_status(response, endpoint_name)
    556
--> 557 def _curlify(request: requests.PreparedRequest) -> str:
    558     """Convert a requests.PreparedRequest into a curl command (str).
/usr/local/lib/python3.11/dist-packages/httpx/_models.py in raise_for_status(self)
    828         message = message.format(self, error_type=error_type)
--> 829         raise HTTPStatusError(message, request=request, response=self)
    830 
HTTPStatusError: Client error '404 Not Found' for url 'https://huggingface.co/api/models/meta-llama/Llama-3.2-3B-Instruct/tree/main/additional_chat_templates?recursive=false&expand=false'
For more information check: https://developer.mozilla.org/en-US/docs/Web/HTTP/Status/404
I am also getting the same error and have tried most things, but they have not worked!
Would appreciate any solution to this.
What is the solution i got the same error too
GOT THE SOLUTION :
I WAS USING KAGGLE AND THE VERSION OF transformers and huggingface_hub was older.
Just do this and it shall work :
!pip install --upgrade transformers huggingface_hub
	
		
	
	
		I RECOMMEND UPGRADING torch torchaudio torchvision VERSIONS TOO AS KAGGLE USES 2.6.0 OF THEM NOW WE HAVE 2.9.0
	
!pip install --upgrade torch torchaudio torchvision

 
						 
						 
						