BigSalmon commited on
Commit
fc092d3
1 Parent(s): e234712

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -2
app.py CHANGED
@@ -6,9 +6,10 @@ first = """informal english: corn fields are all across illinois, visible once y
6
 
7
  @st.cache(allow_output_mutation=True)
8
  def get_model():
9
- #model = AutoModelForCausalLM.from_pretrained("BigSalmon/InformalToFormalLincoln21")
10
  #model = AutoModelForCausalLM.from_pretrained("BigSalmon/GPTNeo350MInformalToFormalLincoln2")
11
- model = AutoModelForCausalLM.from_pretrained("BigSalmon/Points3")
 
 
12
  tokenizer = AutoTokenizer.from_pretrained("BigSalmon/Points2")
13
  return model, tokenizer
14
 
 
6
 
7
  @st.cache(allow_output_mutation=True)
8
  def get_model():
 
9
  #model = AutoModelForCausalLM.from_pretrained("BigSalmon/GPTNeo350MInformalToFormalLincoln2")
10
+ #model = AutoModelForCausalLM.from_pretrained("BigSalmon/InformalToFormalLincoln21")
11
+ #model = AutoModelForCausalLM.from_pretrained("BigSalmon/Points3")
12
+ model = AutoModelWithLMHead.from_pretrained("BigSalmon/InformalToFormalLincoln28")
13
  tokenizer = AutoTokenizer.from_pretrained("BigSalmon/Points2")
14
  return model, tokenizer
15