BigSalmon commited on
Commit
5ebf111
·
1 Parent(s): 109caed

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -1
app.py CHANGED
@@ -15,7 +15,8 @@ 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/MASKGPT2")
 
19
  return model, tokenizer
20
 
21
  model, tokenizer = get_model()
 
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
 
22
  model, tokenizer = get_model()