Commit ·
85797e0
1
Parent(s): 8b9bde0
add installation instructions
Browse files
README.md
CHANGED
|
@@ -1,4 +1,13 @@
|
|
| 1 |
-
# How to use this
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 2 |
|
| 3 |
```
|
| 4 |
import torch
|
|
|
|
| 1 |
+
# How to use this model on Python
|
| 2 |
+
|
| 3 |
+
You can use a Google Colab notebook, please ensure you install
|
| 4 |
+
|
| 5 |
+
```
|
| 6 |
+
!pip install -q bitsandbytes datasets accelerate loralib
|
| 7 |
+
!pip install -q git+https://github.com/huggingface/peft.git git+https://github.com/huggingface/transformers.git
|
| 8 |
+
```
|
| 9 |
+
|
| 10 |
+
You can then copy and paste this into a cell, or use as a standalone Python script.
|
| 11 |
|
| 12 |
```
|
| 13 |
import torch
|