Update README.md
Browse files
README.md
CHANGED
|
@@ -85,6 +85,7 @@ def generate(model, prompt, max_new_tokens=200):
|
|
| 85 |
|
| 86 |
return tokenizer.decode(outputs[0], skip_special_tokens=True)
|
| 87 |
|
|
|
|
| 88 |
|
| 89 |
prompt = """### Instruction:
|
| 90 |
I feel empty and hopeless lately. Nothing seems meaningful.
|
|
@@ -98,6 +99,9 @@ print(generate(base_model, prompt))
|
|
| 98 |
print("\n=== LoRA Model ===")
|
| 99 |
print(generate(lora_model, prompt))
|
| 100 |
|
|
|
|
|
|
|
|
|
|
| 101 |
=== Base Model ===
|
| 102 |
### Instruction:
|
| 103 |
I feel empty and hopeless lately. Nothing seems meaningful.
|
|
@@ -109,6 +113,8 @@ As we continue to talk, I'd like to explore some specific ways you can find mean
|
|
| 109 |
|
| 110 |
Another idea could be to focus on the present moment. Take a few deep breaths and try to notice the sensations in your body. Notice the feelings of happiness or sadness that arise when you're surrounded
|
| 111 |
|
|
|
|
|
|
|
| 112 |
=== LoRA Model ===
|
| 113 |
### Instruction:
|
| 114 |
I feel empty and hopeless lately. Nothing seems meaningful.
|
|
|
|
| 85 |
|
| 86 |
return tokenizer.decode(outputs[0], skip_special_tokens=True)
|
| 87 |
|
| 88 |
+
---
|
| 89 |
|
| 90 |
prompt = """### Instruction:
|
| 91 |
I feel empty and hopeless lately. Nothing seems meaningful.
|
|
|
|
| 99 |
print("\n=== LoRA Model ===")
|
| 100 |
print(generate(lora_model, prompt))
|
| 101 |
|
| 102 |
+
|
| 103 |
+
|
| 104 |
+
|
| 105 |
=== Base Model ===
|
| 106 |
### Instruction:
|
| 107 |
I feel empty and hopeless lately. Nothing seems meaningful.
|
|
|
|
| 113 |
|
| 114 |
Another idea could be to focus on the present moment. Take a few deep breaths and try to notice the sensations in your body. Notice the feelings of happiness or sadness that arise when you're surrounded
|
| 115 |
|
| 116 |
+
|
| 117 |
+
|
| 118 |
=== LoRA Model ===
|
| 119 |
### Instruction:
|
| 120 |
I feel empty and hopeless lately. Nothing seems meaningful.
|