skkjodhpur
commited on
Update README.md
Browse files
README.md
CHANGED
@@ -49,7 +49,7 @@ Users should ensure that outputs are reviewed by qualified healthcare profession
|
|
49 |
Use the code below to get started with the model:
|
50 |
|
51 |
# Python Code
|
52 |
-
|
53 |
from transformers import AutoModelForCausalLM, AutoTokenizer
|
54 |
import torch
|
55 |
|
@@ -85,7 +85,7 @@ def generate_text(prompt):
|
|
85 |
response = generate_text(prompt)
|
86 |
print("Generated response:")
|
87 |
print(response)
|
88 |
-
|
89 |
# Output:
|
90 |
Generated response:
|
91 |
**[INST] I fell on uneven sidewalk on July 3rd and hurt my knee: I had no problem walking and I didn t have much pain just bruising on my knee with tenderness. Now as the bruising is entering the purple/green phase I am starting to get a lot of swelling in my calf and ankle- what should I do ?? [/INST]**
|
|
|
49 |
Use the code below to get started with the model:
|
50 |
|
51 |
# Python Code
|
52 |
+
```
|
53 |
from transformers import AutoModelForCausalLM, AutoTokenizer
|
54 |
import torch
|
55 |
|
|
|
85 |
response = generate_text(prompt)
|
86 |
print("Generated response:")
|
87 |
print(response)
|
88 |
+
```
|
89 |
# Output:
|
90 |
Generated response:
|
91 |
**[INST] I fell on uneven sidewalk on July 3rd and hurt my knee: I had no problem walking and I didn t have much pain just bruising on my knee with tenderness. Now as the bruising is entering the purple/green phase I am starting to get a lot of swelling in my calf and ankle- what should I do ?? [/INST]**
|