BigSalmon commited on
Commit
d8b6b57
1 Parent(s): 74beffc

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +4 -2
app.py CHANGED
@@ -12,9 +12,11 @@ first = """informal english: corn fields are all across illinois, visible once y
12
  device = torch.device("cuda" if torch.cuda.is_available() else "cpu")
13
  @st.cache(allow_output_mutation=True)
14
  def get_model():
 
 
15
 
16
- tokenizer = AutoTokenizer.from_pretrained("BigSalmon/InformalToFormalLincoln119Paraphrase")
17
- model = AutoModelForCausalLM.from_pretrained("BigSalmon/InformalToFormalLincoln119Paraphrase")
18
 
19
  #tokenizer = AutoTokenizer.from_pretrained("BigSalmon/InformalToFormalLincoln118Paraphrase")
20
  #model = AutoModelForCausalLM.from_pretrained("BigSalmon/InformalToFormalLincoln118Paraphrase")
 
12
  device = torch.device("cuda" if torch.cuda.is_available() else "cpu")
13
  @st.cache(allow_output_mutation=True)
14
  def get_model():
15
+ tokenizer = AutoTokenizer.from_pretrained("M4-ai/tau-1.8B")
16
+ model = AutoModelForCausalLM.from_pretrained("M4-ai/tau-1.8B")
17
 
18
+ #tokenizer = AutoTokenizer.from_pretrained("BigSalmon/InformalToFormalLincoln119Paraphrase")
19
+ #model = AutoModelForCausalLM.from_pretrained("BigSalmon/InformalToFormalLincoln119Paraphrase")
20
 
21
  #tokenizer = AutoTokenizer.from_pretrained("BigSalmon/InformalToFormalLincoln118Paraphrase")
22
  #model = AutoModelForCausalLM.from_pretrained("BigSalmon/InformalToFormalLincoln118Paraphrase")