Mikhil-jivus commited on
Commit
0cd712e
1 Parent(s): 91b03f9

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -9,8 +9,8 @@ repo_id = "Mikhil-jivus/Llama-32-3B-FineTuned"
9
  access_token = "your_access_token_here"
10
 
11
  # Load the tokenizer and model from the Hugging Face repository
12
- tokenizer = AutoTokenizer.from_pretrained(repo_id, use_auth_token=access_token)
13
- model = AutoModelForCausalLM.from_pretrained(repo_id, use_auth_token=access_token)
14
 
15
  def respond(
16
  message,
 
9
  access_token = "your_access_token_here"
10
 
11
  # Load the tokenizer and model from the Hugging Face repository
12
+ tokenizer = AutoTokenizer.from_pretrained(repo_id, token=access_token)
13
+ model = AutoModelForCausalLM.from_pretrained(repo_id, token=access_token)
14
 
15
  def respond(
16
  message,