matthewchung74
commited on
Commit
•
8474eb1
1
Parent(s):
b586d57
Update README.md
Browse files
README.md
CHANGED
@@ -28,7 +28,7 @@ def generate_prompt(data_point):
|
|
28 |
|
29 |
generate_prompt(eval_dataset[random.randrange(len(eval_dataset))])
|
30 |
```
|
31 |
-
Such that the resulting prompt would look like
|
32 |
```
|
33 |
You are a helpful medical assistant. Your task is to answer the following question one of the options and explain why.
|
34 |
### Question: "Genital elephantiasis" is seen in: [0] Rickettsia [1] Chancroid [2] Lymphogranuloma venereum [3] Syphilis
|
@@ -41,7 +41,7 @@ You are a helpful medical assistant. Your task is to answer the following questi
|
|
41 |
|
42 |
<!-- This section is for the model use without fine-tuning or plugging into a larger ecosystem/app. -->
|
43 |
|
44 |
-
Below is the code tokenizer, model and helper function to generate new tokens
|
45 |
```
|
46 |
tokenizer_id = "segmed/MedMistral-7B"
|
47 |
tokenizer = AutoTokenizer.from_pretrained(
|
|
|
28 |
|
29 |
generate_prompt(eval_dataset[random.randrange(len(eval_dataset))])
|
30 |
```
|
31 |
+
Such that the resulting prompt would look like:
|
32 |
```
|
33 |
You are a helpful medical assistant. Your task is to answer the following question one of the options and explain why.
|
34 |
### Question: "Genital elephantiasis" is seen in: [0] Rickettsia [1] Chancroid [2] Lymphogranuloma venereum [3] Syphilis
|
|
|
41 |
|
42 |
<!-- This section is for the model use without fine-tuning or plugging into a larger ecosystem/app. -->
|
43 |
|
44 |
+
Below is the code tokenizer, model and helper function to generate new tokens:
|
45 |
```
|
46 |
tokenizer_id = "segmed/MedMistral-7B"
|
47 |
tokenizer = AutoTokenizer.from_pretrained(
|