Spaces:
Runtime error
Runtime error
Commit
·
1f1c57f
1
Parent(s):
b7096cd
Update app.py
Browse files
app.py
CHANGED
@@ -1,6 +1,6 @@
|
|
1 |
from transformers import AutoModelForCausalLM, AutoTokenizer
|
2 |
fine_tuned_model = "ashioyajotham/results"
|
3 |
-
model = AutoModelForCausalLM.from_pretrained(fine_tuned_model)
|
4 |
# Load the tokenizer for the Falcon 7B model with remote code trust
|
5 |
tokenizer = AutoTokenizer.from_pretrained(fine_tuned_model, trust_remote_code=True)
|
6 |
|
|
|
1 |
from transformers import AutoModelForCausalLM, AutoTokenizer
|
2 |
fine_tuned_model = "ashioyajotham/results"
|
3 |
+
model = AutoModelForCausalLM.from_pretrained(fine_tuned_model,trust_remote_code=True)
|
4 |
# Load the tokenizer for the Falcon 7B model with remote code trust
|
5 |
tokenizer = AutoTokenizer.from_pretrained(fine_tuned_model, trust_remote_code=True)
|
6 |
|