Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -36,8 +36,10 @@ def get_model():
|
|
36 |
#model = AutoModelForCausalLM.from_pretrained("BigSalmon/Points4")
|
37 |
#tokenizer = AutoTokenizer.from_pretrained("BigSalmon/GPT2Neo1.3BPoints")
|
38 |
#model = AutoModelForCausalLM.from_pretrained("BigSalmon/GPT2Neo1.3BPoints3")
|
39 |
-
tokenizer = AutoTokenizer.from_pretrained("BigSalmon/InformalToFormalLincoln91Paraphrase")
|
40 |
-
model = AutoModelForCausalLM.from_pretrained("BigSalmon/InformalToFormalLincoln91Paraphrase")
|
|
|
|
|
41 |
return model, tokenizer
|
42 |
|
43 |
model, tokenizer = get_model()
|
|
|
36 |
#model = AutoModelForCausalLM.from_pretrained("BigSalmon/Points4")
|
37 |
#tokenizer = AutoTokenizer.from_pretrained("BigSalmon/GPT2Neo1.3BPoints")
|
38 |
#model = AutoModelForCausalLM.from_pretrained("BigSalmon/GPT2Neo1.3BPoints3")
|
39 |
+
#tokenizer = AutoTokenizer.from_pretrained("BigSalmon/InformalToFormalLincoln91Paraphrase")
|
40 |
+
#model = AutoModelForCausalLM.from_pretrained("BigSalmon/InformalToFormalLincoln91Paraphrase")
|
41 |
+
tokenizer = AutoTokenizer.from_pretrained("BigSalmon/TruncatedLLamaGPT2Large")
|
42 |
+
model = AutoModelForCausalLM.from_pretrained("BigSalmon/TruncatedLLamaGPT2Large")
|
43 |
return model, tokenizer
|
44 |
|
45 |
model, tokenizer = get_model()
|