Update app.py
Browse files
app.py
CHANGED
@@ -41,8 +41,10 @@ def get_model():
|
|
41 |
#tokenizer = AutoTokenizer.from_pretrained("BigSalmon/InformalToFormalLincoln82Paraphrase")
|
42 |
#model = AutoModelForCausalLM.from_pretrained("BigSalmon/InformalToFormalLincoln85Paraphrase")
|
43 |
#tokenizer = AutoTokenizer.from_pretrained("BigSalmon/InformalToFormalLincoln85Paraphrase")
|
44 |
-
model = AutoModelForCausalLM.from_pretrained("BigSalmon/InformalToFormalLincoln88Paraphrase")
|
45 |
-
tokenizer = AutoTokenizer.from_pretrained("BigSalmon/InformalToFormalLincoln88Paraphrase")
|
|
|
|
|
46 |
tokenizer2 = AutoTokenizer.from_pretrained("gpt2")
|
47 |
model2 = AutoModelForCausalLM.from_pretrained("gpt2")
|
48 |
return model, model2, tokenizer, tokenizer2
|
|
|
41 |
#tokenizer = AutoTokenizer.from_pretrained("BigSalmon/InformalToFormalLincoln82Paraphrase")
|
42 |
#model = AutoModelForCausalLM.from_pretrained("BigSalmon/InformalToFormalLincoln85Paraphrase")
|
43 |
#tokenizer = AutoTokenizer.from_pretrained("BigSalmon/InformalToFormalLincoln85Paraphrase")
|
44 |
+
#model = AutoModelForCausalLM.from_pretrained("BigSalmon/InformalToFormalLincoln88Paraphrase")
|
45 |
+
#tokenizer = AutoTokenizer.from_pretrained("BigSalmon/InformalToFormalLincoln88Paraphrase")
|
46 |
+
model = AutoModelForCausalLM.from_pretrained("BigSalmon/InformalToFormalLincoln90Paraphrase")
|
47 |
+
tokenizer = AutoTokenizer.from_pretrained("BigSalmon/InformalToFormalLincoln90Paraphrase")
|
48 |
tokenizer2 = AutoTokenizer.from_pretrained("gpt2")
|
49 |
model2 = AutoModelForCausalLM.from_pretrained("gpt2")
|
50 |
return model, model2, tokenizer, tokenizer2
|