Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -4,7 +4,7 @@ from transformers import AutoModelForCausalLM, AutoTokenizer
|
|
4 |
|
5 |
# Load the LLaMA 3 model and tokenizer
|
6 |
model_name = "kshabana/GOAT-llama3.1-v0.1" # Replace with the actual model path if different
|
7 |
-
model = AutoModelForCausalLM.from_pretrained("
|
8 |
|
9 |
def generate_response(user_input):
|
10 |
inputs = tokenizer.encode(user_input, return_tensors="pt")
|
|
|
4 |
|
5 |
# Load the LLaMA 3 model and tokenizer
|
6 |
model_name = "kshabana/GOAT-llama3.1-v0.1" # Replace with the actual model path if different
|
7 |
+
model = AutoModelForCausalLM.from_pretrained("kshabana/GOAT-llama3.1-v0.1")
|
8 |
|
9 |
def generate_response(user_input):
|
10 |
inputs = tokenizer.encode(user_input, return_tensors="pt")
|