BigSalmon commited on
Commit
5129477
1 Parent(s): 5ee213e

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -15,7 +15,7 @@ device = torch.device("cuda" if torch.cuda.is_available() else "cpu")
15
  @st.cache(allow_output_mutation=True)
16
  def get_model():
17
  tokenizer = AutoTokenizer.from_pretrained("BigSalmon/MASKGPT2")
18
- model = AutoModelForCausalLM.from_pretrained("BigSalmon/GPTNEO1.3BInformalToFormalLincoln")
19
  #model = AutoModelForCausalLM.from_pretrained("BigSalmon/MASKGPT2")
20
  return model, tokenizer
21
 
 
15
  @st.cache(allow_output_mutation=True)
16
  def get_model():
17
  tokenizer = AutoTokenizer.from_pretrained("BigSalmon/MASKGPT2")
18
+ model = AutoModelForCausalLM.from_pretrained("BigSalmon/InformalToFormalLincoln80Paraphrase")
19
  #model = AutoModelForCausalLM.from_pretrained("BigSalmon/MASKGPT2")
20
  return model, tokenizer
21