Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -11,6 +11,7 @@ def get_model():
|
|
11 |
#model = AutoModelForCausalLM.from_pretrained("BigSalmon/InformalToFormalLincoln40")
|
12 |
#model = AutoModelForCausalLM.from_pretrained("BigSalmon/InformalToFormalLincoln41")
|
13 |
#model = AutoModelForCausalLM.from_pretrained("BigSalmon/InformalToFormalLincoln41")
|
|
|
14 |
#model = AutoModelForCausalLM.from_pretrained("BigSalmon/GPT2InformalToFormalLincoln42")
|
15 |
#model = AutoModelForCausalLM.from_pretrained("BigSalmon/Points3")
|
16 |
#model = AutoModelForCausalLM.from_pretrained("BigSalmon/GPTNeo1.3BPointsLincolnFormalInformal")
|
@@ -23,7 +24,7 @@ def get_model():
|
|
23 |
#model = AutoModelForCausalLM.from_pretrained("BigSalmon/GPT2Neo1.3BPoints2")
|
24 |
#model = AutoModelForCausalLM.from_pretrained("BigSalmon/GPT2Neo1.3BPoints3")
|
25 |
#model = AutoModelForCausalLM.from_pretrained("facebook/opt-125m")
|
26 |
-
model = AutoModelForCausalLM.from_pretrained("BigSalmon/
|
27 |
tokenizer = AutoTokenizer.from_pretrained("BigSalmon/InformalToFormalLincoln46")
|
28 |
return model, tokenizer
|
29 |
|
|
|
11 |
#model = AutoModelForCausalLM.from_pretrained("BigSalmon/InformalToFormalLincoln40")
|
12 |
#model = AutoModelForCausalLM.from_pretrained("BigSalmon/InformalToFormalLincoln41")
|
13 |
#model = AutoModelForCausalLM.from_pretrained("BigSalmon/InformalToFormalLincoln41")
|
14 |
+
#model = AutoModelForCausalLM.from_pretrained("BigSalmon/InformalToFormalLincoln49")
|
15 |
#model = AutoModelForCausalLM.from_pretrained("BigSalmon/GPT2InformalToFormalLincoln42")
|
16 |
#model = AutoModelForCausalLM.from_pretrained("BigSalmon/Points3")
|
17 |
#model = AutoModelForCausalLM.from_pretrained("BigSalmon/GPTNeo1.3BPointsLincolnFormalInformal")
|
|
|
24 |
#model = AutoModelForCausalLM.from_pretrained("BigSalmon/GPT2Neo1.3BPoints2")
|
25 |
#model = AutoModelForCausalLM.from_pretrained("BigSalmon/GPT2Neo1.3BPoints3")
|
26 |
#model = AutoModelForCausalLM.from_pretrained("facebook/opt-125m")
|
27 |
+
model = AutoModelForCausalLM.from_pretrained("BigSalmon/InformalToFormalLincoln50")
|
28 |
tokenizer = AutoTokenizer.from_pretrained("BigSalmon/InformalToFormalLincoln46")
|
29 |
return model, tokenizer
|
30 |
|