BigSalmon commited on
Commit
699cbc1
·
1 Parent(s): 5c1193a

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -16,7 +16,7 @@ device = torch.device("cuda" if torch.cuda.is_available() else "cpu")
16
  def get_model():
17
 
18
  tokenizer = AutoTokenizer.from_pretrained("BigSalmon/InformalToFormalLincoln97Paraphrase")
19
- model = AutoModelForCausalLM.from_pretrained("BigSalmon/InformalToFormalLincoln97Paraphrase", ignore_mismatched_sizes=True)
20
 
21
  #tokenizer = AutoTokenizer.from_pretrained("BigSalmon/TruncatedLLamaGPT2Large")
22
  #model = AutoModelForCausalLM.from_pretrained("BigSalmon/TruncatedLLamaGPT2Large")
 
16
  def get_model():
17
 
18
  tokenizer = AutoTokenizer.from_pretrained("BigSalmon/InformalToFormalLincoln97Paraphrase")
19
+ model = AutoModelForCausalLM.from_pretrained("BigSalmon/InformalToFormalLincoln97Paraphrase")
20
 
21
  #tokenizer = AutoTokenizer.from_pretrained("BigSalmon/TruncatedLLamaGPT2Large")
22
  #model = AutoModelForCausalLM.from_pretrained("BigSalmon/TruncatedLLamaGPT2Large")