BigSalmon commited on
Commit
9fa4324
·
1 Parent(s): f95c947

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -4
app.py CHANGED
@@ -37,10 +37,8 @@ def get_model():
37
  #model = AutoModelForCausalLM.from_pretrained("BigSalmon/InformalToFormalLincoln46")
38
  #model = AutoModelForCausalLM.from_pretrained("BigSalmon/InformalToFormalLincoln52")
39
  #model = AutoModelForCausalLM.from_pretrained("BigSalmon/Points4")
40
- #tokenizer = AutoTokenizer.from_pretrained("BigSalmon/InformalToFormalLincoln56")
41
- #model = AutoModelForCausalLM.from_pretrained("BigSalmon/InformalToFormalLincoln56")
42
- tokenizer = XGLMTokenizer.from_pretrained("facebook/xglm-564M")
43
- model = XGLMForCausalLM.from_pretrained("facebook/xglm-564M")
44
  return model, tokenizer
45
 
46
  model, tokenizer = get_model()
 
37
  #model = AutoModelForCausalLM.from_pretrained("BigSalmon/InformalToFormalLincoln46")
38
  #model = AutoModelForCausalLM.from_pretrained("BigSalmon/InformalToFormalLincoln52")
39
  #model = AutoModelForCausalLM.from_pretrained("BigSalmon/Points4")
40
+ tokenizer = AutoTokenizer.from_pretrained("BigSalmon/InformalToFormalLincoln56")
41
+ model = AutoModelForCausalLM.from_pretrained("BigSalmon/InformalToFormalLincoln56")
 
 
42
  return model, tokenizer
43
 
44
  model, tokenizer = get_model()