BigSalmon commited on
Commit
37c4302
·
1 Parent(s): cfdbd9d

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -1
app.py CHANGED
@@ -21,8 +21,9 @@ def get_model():
21
  #model = AutoModelWithLMHead.from_pretrained("BigSalmon/InformalToFormalLincoln26")
22
  #model = AutoModelWithLMHead.from_pretrained("BigSalmon/InformalToFormalLincoln27")
23
  #model = AutoModelWithLMHead.from_pretrained("BigSalmon/InformalToFormalLincoln28")
24
- tokenizer = AutoTokenizer.from_pretrained("BigSalmon/GPTNeo350MInformalToFormalLincoln")
25
  model = AutoModelWithLMHead.from_pretrained("BigSalmon/InformalToFormalLincoln29")
 
 
26
  model.to(device)
27
  return model, tokenizer
28
 
 
21
  #model = AutoModelWithLMHead.from_pretrained("BigSalmon/InformalToFormalLincoln26")
22
  #model = AutoModelWithLMHead.from_pretrained("BigSalmon/InformalToFormalLincoln27")
23
  #model = AutoModelWithLMHead.from_pretrained("BigSalmon/InformalToFormalLincoln28")
 
24
  model = AutoModelWithLMHead.from_pretrained("BigSalmon/InformalToFormalLincoln29")
25
+ tokenizer = AutoTokenizer.from_pretrained("BigSalmon/GPTNeo350MInformalToFormalLincoln")
26
+ model = AutoModelWithLMHead.from_pretrained("BigSalmon/GPTMASK")
27
  model.to(device)
28
  return model, tokenizer
29