Commit
·
28efe2c
1
Parent(s):
fff902b
Update app.py
Browse files
app.py
CHANGED
@@ -27,8 +27,8 @@ st.write(device_str)
|
|
27 |
# checkpoint = "bryanmildort/gpt-clinical-notes-summarizer"
|
28 |
# model = GPTJForCausalLM.from_pretrained(checkpoint)
|
29 |
|
30 |
-
model = AutoModelForCausalLM.from_pretrained("bryanmildort/gpt-
|
31 |
-
tokenizer = AutoTokenizer.from_pretrained("bryanmildort/gpt-
|
32 |
# model = model.to(device)
|
33 |
|
34 |
# device_map = infer_auto_device_map(model, dtype="float16")
|
|
|
27 |
# checkpoint = "bryanmildort/gpt-clinical-notes-summarizer"
|
28 |
# model = GPTJForCausalLM.from_pretrained(checkpoint)
|
29 |
|
30 |
+
model = AutoModelForCausalLM.from_pretrained("bryanmildort/gpt-2-notes")
|
31 |
+
tokenizer = AutoTokenizer.from_pretrained("bryanmildort/gpt-2-notes")
|
32 |
# model = model.to(device)
|
33 |
|
34 |
# device_map = infer_auto_device_map(model, dtype="float16")
|