BigSalmon commited on
Commit
83a1127
1 Parent(s): 7e925ea

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -2
app.py CHANGED
@@ -22,8 +22,9 @@ def get_model():
22
  #model = AutoModelForCausalLM.from_pretrained("BigSalmon/MediumInformalToFormalLincoln4")
23
  #model = AutoModelForCausalLM.from_pretrained("BigSalmon/GPT2Neo1.3BPoints2")
24
  #model = AutoModelForCausalLM.from_pretrained("BigSalmon/GPT2Neo1.3BPoints3")
25
- model = AutoModelForCausalLM.from_pretrained("facebook/opt-125m")
26
- tokenizer = AutoTokenizer.from_pretrained("facebook/opt-125m")
 
27
  return model, tokenizer
28
 
29
  model, tokenizer = get_model()
 
22
  #model = AutoModelForCausalLM.from_pretrained("BigSalmon/MediumInformalToFormalLincoln4")
23
  #model = AutoModelForCausalLM.from_pretrained("BigSalmon/GPT2Neo1.3BPoints2")
24
  #model = AutoModelForCausalLM.from_pretrained("BigSalmon/GPT2Neo1.3BPoints3")
25
+ #model = AutoModelForCausalLM.from_pretrained("facebook/opt-125m")
26
+ model = AutoModelForCausalLM.from_pretrained("BigSalmon/InformalToFormalLincoln41")
27
+ tokenizer = AutoTokenizer.from_pretrained("gpt2")
28
  return model, tokenizer
29
 
30
  model, tokenizer = get_model()