BigSalmon commited on
Commit
2ce45f3
1 Parent(s): 8403e60

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +5 -2
app.py CHANGED
@@ -15,8 +15,11 @@ 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("TinyLlama/TinyLlama-1.1B-Chat-v1.0")
19
- model = AutoModelForCausalLM.from_pretrained("BigSalmon/InformalToFormalLincoln120Paraphrase")
 
 
 
20
 
21
  #tokenizer = AutoTokenizer.from_pretrained("BigSalmon/InformalToFormalLincoln119Paraphrase")
22
  #model = AutoModelForCausalLM.from_pretrained("BigSalmon/InformalToFormalLincoln119Paraphrase")
 
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("tiiuae/falcon-rw-1b", trust_remote_code=True)
19
+ model = AutoModelForCausalLM.from_pretrained("tiiuae/falcon-rw-1b", trust_remote_code=True)
20
+
21
+ #tokenizer = AutoTokenizer.from_pretrained("TinyLlama/TinyLlama-1.1B-Chat-v1.0")
22
+ #model = AutoModelForCausalLM.from_pretrained("BigSalmon/InformalToFormalLincoln120Paraphrase")
23
 
24
  #tokenizer = AutoTokenizer.from_pretrained("BigSalmon/InformalToFormalLincoln119Paraphrase")
25
  #model = AutoModelForCausalLM.from_pretrained("BigSalmon/InformalToFormalLincoln119Paraphrase")