runtime error

Exit code: 1. Reason: okenizer = AutoTokenizer.from_pretrained(model_name) ā”‚ ā”‚ 11 ā”‚ model = AutoModelForCausalLM.from_pretrained(model_name) ā”‚ ā”‚ 12 except Exception as e: ā”‚ ā”‚ ā± 13 ā”‚ raise HTTPException(status_code=500, detail=f"Error loading model: ā”‚ ā”‚ 14 ā”‚ ā”‚ 15 @app.get("/") ā”‚ ā”‚ 16 def home(): ā”‚ ā”‚ ā”‚ ā”‚ ā•­ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ locals ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā•® ā”‚ ā”‚ ā”‚ app = <fastapi.applications.FastAPI object at 0x7fc2cbca5ac0> ā”‚ ā”‚ ā”‚ ā”‚ model_name = 'meta-llama/Llama-3.2-3B' ā”‚ ā”‚ ā”‚ ā•°ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā•Æ ā”‚ ā•°ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā•Æ HTTPException: 500: Error loading model: You are trying to access a gated repo. Make sure to have access to it at https://huggingface.co/meta-llama/Llama-3.2-3B. 401 Client Error. (Request ID: Root=1-675948a3-73356baa73e53a9214112678;9c84162b-d5db-43ee-b3be-552c42473e1b) Cannot access gated repo for url https://huggingface.co/meta-llama/Llama-3.2-3B/resolve/main/config.json. Access to model meta-llama/Llama-3.2-3B is restricted. You must have access to it and be authenticated to access it. Please log in.

Container logs:

Fetching error logs...