Update app.py
Browse files
app.py
CHANGED
@@ -11,7 +11,7 @@ device = torch.device("cuda" if torch.cuda.is_available() else "cpu")
|
|
11 |
@st.cache(allow_output_mutation=True)
|
12 |
def get_model():
|
13 |
tokenizer = AutoTokenizer.from_pretrained("BigSalmon/GPTNeo350MInformalToFormalLincoln")
|
14 |
-
model = AutoModelWithLMHead.from_pretrained("BigSalmon/
|
15 |
#model = AutoModelWithLMHead.from_pretrained("BigSalmon/GPTNeo350MInformalToFormalLincoln5")
|
16 |
#model = AutoModelWithLMHead.from_pretrained("BigSalmon/GPTNeo350MInformalToFormalLincoln4")
|
17 |
#model = AutoModelWithLMHead.from_pretrained("BigSalmon/GPTNeo350MInformalToFormalLincoln3")
|
|
|
11 |
@st.cache(allow_output_mutation=True)
|
12 |
def get_model():
|
13 |
tokenizer = AutoTokenizer.from_pretrained("BigSalmon/GPTNeo350MInformalToFormalLincoln")
|
14 |
+
model = AutoModelWithLMHead.from_pretrained("BigSalmon/InformalToFormalLincoln24")
|
15 |
#model = AutoModelWithLMHead.from_pretrained("BigSalmon/GPTNeo350MInformalToFormalLincoln5")
|
16 |
#model = AutoModelWithLMHead.from_pretrained("BigSalmon/GPTNeo350MInformalToFormalLincoln4")
|
17 |
#model = AutoModelWithLMHead.from_pretrained("BigSalmon/GPTNeo350MInformalToFormalLincoln3")
|