Update README.md
Browse files
README.md
CHANGED
|
@@ -115,8 +115,8 @@ Authentic Portrayal: Bring characters to life by consistently and realistically
|
|
| 115 |
|
| 116 |
## Unsloth config
|
| 117 |
|
| 118 |
-
|
| 119 |
-
|
| 120 |
```py
|
| 121 |
from unsloth import FastLanguageModel
|
| 122 |
import torch
|
|
@@ -228,8 +228,6 @@ print(f"Peak reserved memory = {used_memory} GB.")
|
|
| 228 |
print(f"Peak reserved memory for training = {used_memory_for_lora} GB.")
|
| 229 |
print(f"Peak reserved memory % of max memory = {used_percentage} %.")
|
| 230 |
print(f"Peak reserved memory for training % of max memory = {lora_percentage} %.")
|
| 231 |
-
|
| 232 |
-
|
| 233 |
```
|
| 234 |
|
| 235 |
</details><br>
|
|
|
|
| 115 |
|
| 116 |
## Unsloth config
|
| 117 |
|
| 118 |
+
<details><summary>See Unsloth SFT Trainer config</summary>
|
| 119 |
+
|
| 120 |
```py
|
| 121 |
from unsloth import FastLanguageModel
|
| 122 |
import torch
|
|
|
|
| 228 |
print(f"Peak reserved memory for training = {used_memory_for_lora} GB.")
|
| 229 |
print(f"Peak reserved memory % of max memory = {used_percentage} %.")
|
| 230 |
print(f"Peak reserved memory for training % of max memory = {lora_percentage} %.")
|
|
|
|
|
|
|
| 231 |
```
|
| 232 |
|
| 233 |
</details><br>
|