Spaces:
Running
Running
Update app.py
Browse files
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("
|
19 |
-
model = AutoModelForCausalLM.from_pretrained("
|
|
|
|
|
|
|
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")
|