Spaces:
Sleeping
Sleeping
working demo
Browse files
GPT_Model_med_bot.pth β Pretrained_GPT_med_bot.pth
RENAMED
File without changes
|
app.py
CHANGED
@@ -13,7 +13,7 @@ def main():
|
|
13 |
model = create_GPT_model(vocab_size=vocab_size, device=device)
|
14 |
|
15 |
model.load_state_dict(torch.load(
|
16 |
-
f="
|
17 |
map_location=torch.device(device)))
|
18 |
|
19 |
def predict(question: str):
|
|
|
13 |
model = create_GPT_model(vocab_size=vocab_size, device=device)
|
14 |
|
15 |
model.load_state_dict(torch.load(
|
16 |
+
f="Pretrained_GPT_med_bot.pth",
|
17 |
map_location=torch.device(device)))
|
18 |
|
19 |
def predict(question: str):
|