Spaces:
Runtime error
Runtime error
ashioyajotham
commited on
Commit
•
24e9940
1
Parent(s):
dfbcf7f
Update app.py
Browse files
app.py
CHANGED
@@ -1,6 +1,6 @@
|
|
1 |
from transformers import AutoModelForCausalLM, AutoTokenizer, FalconForCausalLM
|
2 |
fine_tuned_model = "ashioyajotham/results"
|
3 |
-
model = FalconForCausalLM.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, FalconForCausalLM
|
2 |
fine_tuned_model = "ashioyajotham/results"
|
3 |
+
model = FalconForCausalLM.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 |
|