Update README.md
Browse files
README.md
CHANGED
|
@@ -108,15 +108,17 @@ print(tokenizer.decode(input_ids[0]))
|
|
| 108 |
|
| 109 |
<details>
|
| 110 |
|
| 111 |
-
<summary>
|
| 112 |
|
| 113 |
-
**Prompt**:
|
| 114 |
```python
|
| 115 |
"""
|
| 116 |
<s> [INST] Tell me a recipe for a mai tai. [/INST]
|
| 117 |
"""
|
| 118 |
```
|
| 119 |
|
|
|
|
|
|
|
|
|
|
| 120 |
```python
|
| 121 |
print("\n\n*** Generate:")
|
| 122 |
with torch.autocast("cuda", dtype=torch.bfloat16):
|
|
@@ -140,7 +142,10 @@ print(response)
|
|
| 140 |
|
| 141 |
```
|
| 142 |
|
| 143 |
-
|
|
|
|
|
|
|
|
|
|
| 144 |
```python
|
| 145 |
"""1 oz light rum
|
| 146 |
½ oz dark rum
|
|
|
|
| 108 |
|
| 109 |
<details>
|
| 110 |
|
| 111 |
+
<summary>Prompt</summary>
|
| 112 |
|
|
|
|
| 113 |
```python
|
| 114 |
"""
|
| 115 |
<s> [INST] Tell me a recipe for a mai tai. [/INST]
|
| 116 |
"""
|
| 117 |
```
|
| 118 |
|
| 119 |
+
</details>
|
| 120 |
+
|
| 121 |
+
|
| 122 |
```python
|
| 123 |
print("\n\n*** Generate:")
|
| 124 |
with torch.autocast("cuda", dtype=torch.bfloat16):
|
|
|
|
| 142 |
|
| 143 |
```
|
| 144 |
|
| 145 |
+
<details>
|
| 146 |
+
|
| 147 |
+
<summary>Generation</summary>
|
| 148 |
+
|
| 149 |
```python
|
| 150 |
"""1 oz light rum
|
| 151 |
½ oz dark rum
|