Spaces:
Runtime error
Runtime error
areegtarek
commited on
Commit
•
81a409a
1
Parent(s):
027a8b4
Update app.py
Browse files
app.py
CHANGED
@@ -8,8 +8,8 @@ description = "Simplify radiology reports using the Mistral 7b model."
|
|
8 |
examples = [["INST/ Simplify this report:/n {report} /n Respone: [/INST]"]]
|
9 |
|
10 |
|
11 |
-
tokenizer = AutoTokenizer.from_pretrained("areegtarek/
|
12 |
-
model = AutoModelForCausalLM.from_pretrained("areegtarek/
|
13 |
|
14 |
|
15 |
def predict(input, history=[]):
|
|
|
8 |
examples = [["INST/ Simplify this report:/n {report} /n Respone: [/INST]"]]
|
9 |
|
10 |
|
11 |
+
tokenizer = AutoTokenizer.from_pretrained("areegtarek/mistral-7b-Radiology-Simplify")
|
12 |
+
model = AutoModelForCausalLM.from_pretrained("areegtarek/mistral-7b-Radiology-Simplify")
|
13 |
|
14 |
|
15 |
def predict(input, history=[]):
|