Spaces:
Runtime error
Runtime error
ashioyajotham
commited on
Commit
•
e07ad26
1
Parent(s):
daf34b5
Update app.py
Browse files
app.py
CHANGED
@@ -1,5 +1,5 @@
|
|
1 |
from transformers import AutoModelForCausalLM, AutoTokenizer, FalconForCausalLM
|
2 |
-
fine_tuned_model = "ashioyajotham/
|
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)
|
|
|
1 |
from transformers import AutoModelForCausalLM, AutoTokenizer, FalconForCausalLM
|
2 |
+
fine_tuned_model = "ashioyajotham/falcon-coder"
|
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)
|