Update README.md
Browse files
README.md
CHANGED
@@ -48,6 +48,10 @@ We use Eleuther.AI's [Language Model Evaluation Harness](https://github.com/Eleu
|
|
48 |
|
49 |
## Basic Usage
|
50 |
|
|
|
|
|
|
|
|
|
51 |
```python
|
52 |
!pip install -q -U transformers peft torch accelerate bitsandbytes einops sentencepiece
|
53 |
|
@@ -86,6 +90,9 @@ model = PeftModel.from_pretrained(
|
|
86 |
)
|
87 |
```
|
88 |
|
|
|
|
|
|
|
89 |
```python
|
90 |
messages = [
|
91 |
{"role": "system", "content": "You are a helpful assistant. Respond as briefly as possible."},
|
|
|
48 |
|
49 |
## Basic Usage
|
50 |
|
51 |
+
<details>
|
52 |
+
|
53 |
+
<summary>Setup</summary>
|
54 |
+
|
55 |
```python
|
56 |
!pip install -q -U transformers peft torch accelerate bitsandbytes einops sentencepiece
|
57 |
|
|
|
90 |
)
|
91 |
```
|
92 |
|
93 |
+
</details>
|
94 |
+
|
95 |
+
|
96 |
```python
|
97 |
messages = [
|
98 |
{"role": "system", "content": "You are a helpful assistant. Respond as briefly as possible."},
|