ashioyajotham commited on
Commit
dfbcf7f
1 Parent(s): 1f1c57f

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
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,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
 
 
1
+ from transformers import AutoModelForCausalLM, AutoTokenizer, FalconForCausalLM
2
  fine_tuned_model = "ashioyajotham/results"
3
+ model = FalconForCausalLM.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