Spaces:
Runtime error
Runtime error
Mikhil-jivus
commited on
Commit
•
0cd712e
1
Parent(s):
91b03f9
Update app.py
Browse files
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,
|
13 |
-
model = AutoModelForCausalLM.from_pretrained(repo_id,
|
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,
|